From: Juri Linkov <juri@jurta.org>
To: Keshav Kini <keshav.kini@gmail.com>
Cc: 17849-done@debbugs.gnu.org
Subject: bug#17849: 24.3; desktop-save-mode: can't load desktop saved while defining keyboard macro
Date: Fri, 04 Jul 2014 02:48:52 +0300 [thread overview]
Message-ID: <87pphm0zrv.fsf@mail.jurta.org> (raw)
In-Reply-To: <87r42c90j4.fsf@gmail.com> (Keshav Kini's message of "Wed, 25 Jun 2014 13:50:23 -0700")
Version: 24.4
> Start Emacs with `emacs -Q` and enter the following:
>
> C-x f /tmp RET
> M-x desktop-save-mode RET
> M-x start-kbd-macro RET
> C-x C-c y RET
>
> Emacs closes (as expected). Start Emacs again with `emacs -Q` and enter
> the following:
>
> M-: (desktop-read "/tmp")
>
> The following backtrace is generated:
>
> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
> defining-kbd-macro(1)
> desktop-create-buffer(206 nil "tmp" dired-mode (defining-kbd-macro) 206 (nil nil) t ("/tmp/") nil)
> eval-buffer(#<buffer *load*> nil "/tmp/.emacs.desktop" nil t) ; Reading at buffer position 753
> load-with-code-conversion("/tmp/.emacs.desktop" "/tmp/.emacs.desktop" t t)
> load("/tmp/.emacs.desktop" t t t)
> desktop-read("/tmp")
> eval((desktop-read "/tmp") nil)
> eval-expression((desktop-read "/tmp") nil)
> call-interactively(eval-expression nil nil)
>
> Expected behavior is that the dired buffer for /tmp/ should be loaded.
> Inspecting /tmp/.emacs.desktop shows that the `defining-kbd-macro'
> minor mode is specified for every saved buffer (though in this minimal
> example there is only one buffer in the file). Removing this atom
> from the list of minor modes for each buffer makes the desktop file
> loadable once again.
Thanks for the bug report. Fixed by not saving `start-kbd-macro'.
prev parent reply other threads:[~2014-07-03 23:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-25 20:50 bug#17849: 24.3; desktop-save-mode: can't load desktop saved while defining keyboard macro Keshav Kini
2014-07-03 23:48 ` Juri Linkov [this message]
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=87pphm0zrv.fsf@mail.jurta.org \
--to=juri@jurta.org \
--cc=17849-done@debbugs.gnu.org \
--cc=keshav.kini@gmail.com \
/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.