GNU bug report logs - #15305
24.3; saveplace "End of file during parsing" on require/load

Previous Next

Package: emacs;

Reported by: Christopher Wellons <wellons <at> nullprogram.com>

Date: Sun, 8 Sep 2013 03:14:01 UTC

Severity: minor

Found in version 24.3

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Christopher Wellons <wellons <at> nullprogram.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; saveplace "End of file during parsing" on require/load
Date: Sat, 07 Sep 2013 23:12:40 -0400
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.




This bug report was last modified 11 years and 254 days ago.

Previous Next


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