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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Christopher Wellons <wellons <at> nullprogram.com>
Subject: bug#15305: closed (Re: bug#15305: 24.3; saveplace "End of file
 during parsing" on require/load)
Date: Sun, 08 Sep 2013 23:16:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#15305: 24.3; saveplace "End of file during parsing" on require/load

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 15305 <at> debbugs.gnu.org.

-- 
15305: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15305
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 15305-done <at> debbugs.gnu.org
Subject: Re: bug#15305: 24.3;
 saveplace "End of file during parsing" on require/load
Date: Sun, 08 Sep 2013 19:15:37 -0400
Version: 24.4

Thanks; fixed.

[Message part 3 (message/rfc822, inline)]
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 255 days ago.

Previous Next


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