all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#9670: Bad interaction between defining-kbd-macro and desktop
@ 2011-10-04  8:20 ` Antoine Levitt
  2019-08-20  2:32   ` Lars Ingebrigtsen
       [not found]   ` <handler.9670.C.157103285120975.notifdonectrl.0@debbugs.gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Antoine Levitt @ 2011-10-04  8:20 UTC (permalink / raw)
  To: 9670

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))))






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#9670: Bad interaction between defining-kbd-macro and desktop
  2011-10-04  8:20 ` bug#9670: Bad interaction between defining-kbd-macro and desktop Antoine Levitt
@ 2019-08-20  2:32   ` Lars Ingebrigtsen
  2019-10-14  6:00     ` Lars Ingebrigtsen
       [not found]   ` <handler.9670.C.157103285120975.notifdonectrl.0@debbugs.gnu.org>
  1 sibling, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2019-08-20  2:32 UTC (permalink / raw)
  To: 9670

Antoine Levitt <antoine.levitt@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#9670: Bad interaction between defining-kbd-macro and desktop
  2019-08-20  2:32   ` Lars Ingebrigtsen
@ 2019-10-14  6:00     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-14  6:00 UTC (permalink / raw)
  To: 9670

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Antoine Levitt <antoine.levitt@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#9670: acknowledged by developer (control message for bug #9670)
       [not found]   ` <handler.9670.C.157103285120975.notifdonectrl.0@debbugs.gnu.org>
@ 2019-10-14  7:04     ` Antoine Levitt
  0 siblings, 0 replies; 4+ messages in thread
From: Antoine Levitt @ 2019-10-14  7:04 UTC (permalink / raw)
  To: 9670

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-14  7:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <874l0bq31v.fsf@gnus.org>
2011-10-04  8:20 ` bug#9670: Bad interaction between defining-kbd-macro and desktop Antoine Levitt
2019-08-20  2:32   ` Lars Ingebrigtsen
2019-10-14  6:00     ` Lars Ingebrigtsen
     [not found]   ` <handler.9670.C.157103285120975.notifdonectrl.0@debbugs.gnu.org>
2019-10-14  7:04     ` bug#9670: acknowledged by developer (control message for bug #9670) Antoine Levitt

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.