all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15305: 24.3; saveplace "End of file during parsing" on require/load
@ 2013-09-08  3:12 Christopher Wellons
  2013-09-08 23:15 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Wellons @ 2013-09-08  3:12 UTC (permalink / raw)
  To: 15305


During loading saveplace.el, `load-save-place-alist-from-file' signals
an "End of file during parsing" error when `save-place-file' exists but
is empty. This bug cannot be triggered using -Q, so the simplest way to
demonstrate this is to set the contents of the .emacs to this:

    (setq save-place-file (make-temp-file "save-place"))
    (require 'saveplace)

And then launch Emacs normally. The save-place-file isn't normally
empty, so such an error isn't really saveplace's fault, but I think
having the error thrown during load is unfriendly.

The issue this has caused for me is autoloading some other library that
requires saveplace. The error abruptly disrupts the entire loading
process and I have to re-enter the command that triggered autoloading.





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

end of thread, other threads:[~2013-09-08 23:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-08  3:12 bug#15305: 24.3; saveplace "End of file during parsing" on require/load Christopher Wellons
2013-09-08 23:15 ` Glenn Morris

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.