all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Antoine Levitt <antoine.levitt@gmail.com>
To: 9670@debbugs.gnu.org
Subject: bug#9670: Bad interaction between defining-kbd-macro and desktop
Date: Tue, 04 Oct 2011 10:20:10 +0200	[thread overview]
Message-ID: <87ty7p184c.fsf@gmail.com> (raw)

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






             reply	other threads:[~2011-10-04  8:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <874l0bq31v.fsf@gnus.org>
2011-10-04  8:20 ` Antoine Levitt [this message]
2019-08-20  2:32   ` bug#9670: Bad interaction between defining-kbd-macro and desktop 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ty7p184c.fsf@gmail.com \
    --to=antoine.levitt@gmail.com \
    --cc=9670@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.