GNU bug report logs - #9670
Bad interaction between defining-kbd-macro and desktop

Previous Next

Package: emacs;

Reported by: Antoine Levitt <antoine.levitt <at> gmail.com>

Date: Tue, 4 Oct 2011 20:24:02 UTC

Severity: minor

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9670 in the body.
You can then email your comments to 9670 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#9670; Package emacs. (Tue, 04 Oct 2011 20:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Antoine Levitt <antoine.levitt <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 04 Oct 2011 20:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Antoine Levitt <antoine.levitt <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Bad interaction between defining-kbd-macro and desktop
Date: Tue, 04 Oct 2011 10:20:10 +0200
C-x (
M-x desktop-save

will result in the desktop file being unusable unless defining-kbd-macro
is removed manually. Adding defining-kbd-macro to
desktop-minor-mode-table does not change the problem. I believe this is
because defining-kbd-macro does not follow the usual convention for
minor modes, and therefore defeats this code in desktop-create-buffer:

(let ((handler (cdr (assq minor-mode desktop-minor-mode-handlers))))
  (if handler
      (funcall handler desktop-buffer-locals)
    (when (functionp minor-mode)
      (funcall minor-mode 1))))





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9670; Package emacs. (Tue, 20 Aug 2019 02:33:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#9670: Bad interaction between defining-kbd-macro and desktop
Date: Mon, 19 Aug 2019 19:32:43 -0700
Antoine Levitt <antoine.levitt <at> gmail.com> writes:

> C-x (
> M-x desktop-save
>
> will result in the desktop file being unusable unless defining-kbd-macro
> is removed manually.

(I'm going through old bug reports that have unfortunately gotten no
attention yet.)

I tried reproducing this in Emacs 27, but was unable to.

If I follow your recipe (from "emacs -Q") my .emacs.desktop file does
not contain anything referring to "defining-kbd-macro".

Do you still see this in a modern Emacs, or has it been fixed in the
intervening years?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 20 Aug 2019 02:33:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9670; Package emacs. (Mon, 14 Oct 2019 06:01:02 GMT) Full text and rfc822 format available.

Message #13 received at 9670 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 9670 <at> debbugs.gnu.org
Subject: Re: bug#9670: Bad interaction between defining-kbd-macro and desktop
Date: Mon, 14 Oct 2019 08:00:37 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Antoine Levitt <antoine.levitt <at> gmail.com> writes:
>
>> C-x (
>> M-x desktop-save
>>
>> will result in the desktop file being unusable unless defining-kbd-macro
>> is removed manually.
>
> (I'm going through old bug reports that have unfortunately gotten no
> attention yet.)
>
> I tried reproducing this in Emacs 27, but was unable to.
>
> If I follow your recipe (from "emacs -Q") my .emacs.desktop file does
> not contain anything referring to "defining-kbd-macro".
>
> Do you still see this in a modern Emacs, or has it been fixed in the
> intervening years?

More information was requested some weeks back, but no response was
given, so I'm closing this bug report.  If you're still seeing this
problem, please reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 9670 <at> debbugs.gnu.org and Antoine Levitt <antoine.levitt <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 14 Oct 2019 06:01:04 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9670; Package emacs. (Mon, 14 Oct 2019 07:02:02 GMT) Full text and rfc822 format available.

Message #18 received at 9670 <at> debbugs.gnu.org (full text, mbox):

From: Antoine Levitt <antoine.levitt <at> gmail.com>
To: 9670 <at> debbugs.gnu.org
Subject: Re: bug#9670 acknowledged by developer (control message for bug #9670)
Date: Mon, 14 Oct 2019 09:04:29 +0200
Hm, for some reason I didn't get a notification for the comment you sent
in august. Just tried it and it worked without problem, guess it was
fixed sometimes during the past 8 years! Thanks for tackling this.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 11 Nov 2019 12:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 166 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.