From unknown Tue Jun 17 22:28:24 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15305: 24.3; saveplace "End of file during parsing" on require/load Resent-From: Christopher Wellons Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Sep 2013 03:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15305 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 15305@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.137861001728672 (code B ref -1); Sun, 08 Sep 2013 03:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Sep 2013 03:13:37 +0000 Received: from localhost ([127.0.0.1]:48212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VIVRR-0007SN-5B for submit@debbugs.gnu.org; Sat, 07 Sep 2013 23:13:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58904) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VIVRO-0007S8-Pv for submit@debbugs.gnu.org; Sat, 07 Sep 2013 23:13:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIVRB-0000bY-1U for submit@debbugs.gnu.org; Sat, 07 Sep 2013 23:13:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59715) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIVRA-0000bU-UU for submit@debbugs.gnu.org; Sat, 07 Sep 2013 23:13:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIVR4-00070W-PS for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2013 23:13:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIVQy-0000YU-PR for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2013 23:13:14 -0400 Received: from mail.nullprogram.com ([192.241.191.137]:50135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIVQy-0000Wn-M0 for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2013 23:13:08 -0400 Received: from localhost ([127.0.0.1] helo=susie.zeus.nullprogram.com) by mail.nullprogram.com with esmtp (Exim 4.80) (envelope-from ) id 1VIVQq-0004cK-Uh; Sun, 08 Sep 2013 03:13:01 +0000 From: Christopher Wellons User-Agent: Notmuch/0.16 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Sat, 07 Sep 2013 23:12:40 -0400 Message-ID: <87ioyc6m6v.fsf@susie.zeus.nullprogram.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) 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. From unknown Tue Jun 17 22:28:24 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Christopher Wellons Subject: bug#15305: closed (Re: bug#15305: 24.3; saveplace "End of file during parsing" on require/load) Message-ID: References: <87ioyc6m6v.fsf@susie.zeus.nullprogram.com> X-Gnu-PR-Message: they-closed 15305 X-Gnu-PR-Package: emacs Reply-To: 15305@debbugs.gnu.org Date: Sun, 08 Sep 2013 23:16:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1378682162-16983-1" This is a multi-part message in MIME format... ------------=_1378682162-16983-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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@debbugs.gnu.org. --=20 15305: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15305 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1378682162-16983-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 15305-done) by debbugs.gnu.org; 8 Sep 2013 23:15:43 +0000 Received: from localhost ([127.0.0.1]:49479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VIoCk-0004PP-VE for submit@debbugs.gnu.org; Sun, 08 Sep 2013 19:15:43 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:40181 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VIoCi-0004PH-C8 for 15305-done@debbugs.gnu.org; Sun, 08 Sep 2013 19:15:41 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VIoCf-0008Ix-US; Sun, 08 Sep 2013 19:15:38 -0400 From: Glenn Morris To: 15305-done@debbugs.gnu.org Subject: Re: bug#15305: 24.3; saveplace "End of file during parsing" on require/load References: <87ioyc6m6v.fsf@susie.zeus.nullprogram.com> X-Spook: explosion genetic global industrial intelligence AVIP X-Ran: >&xrMQRWb3)epB,(YNK2`oPSV{E277)kL6\q+Q+nl@MI&'~p.EN(x5^em]V~giw5aooiQn X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sun, 08 Sep 2013 19:15:37 -0400 In-Reply-To: <87ioyc6m6v.fsf@susie.zeus.nullprogram.com> (Christopher Wellons's message of "Sat, 07 Sep 2013 23:12:40 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 15305-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) Version: 24.4 Thanks; fixed. ------------=_1378682162-16983-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 8 Sep 2013 03:13:37 +0000 Received: from localhost ([127.0.0.1]:48212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VIVRR-0007SN-5B for submit@debbugs.gnu.org; Sat, 07 Sep 2013 23:13:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58904) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VIVRO-0007S8-Pv for submit@debbugs.gnu.org; Sat, 07 Sep 2013 23:13:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIVRB-0000bY-1U for submit@debbugs.gnu.org; Sat, 07 Sep 2013 23:13:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59715) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIVRA-0000bU-UU for submit@debbugs.gnu.org; Sat, 07 Sep 2013 23:13:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIVR4-00070W-PS for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2013 23:13:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIVQy-0000YU-PR for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2013 23:13:14 -0400 Received: from mail.nullprogram.com ([192.241.191.137]:50135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIVQy-0000Wn-M0 for bug-gnu-emacs@gnu.org; Sat, 07 Sep 2013 23:13:08 -0400 Received: from localhost ([127.0.0.1] helo=susie.zeus.nullprogram.com) by mail.nullprogram.com with esmtp (Exim 4.80) (envelope-from ) id 1VIVQq-0004cK-Uh; Sun, 08 Sep 2013 03:13:01 +0000 From: Christopher Wellons To: bug-gnu-emacs@gnu.org Subject: 24.3; saveplace "End of file during parsing" on require/load User-Agent: Notmuch/0.16 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Sat, 07 Sep 2013 23:12:40 -0400 Message-ID: <87ioyc6m6v.fsf@susie.zeus.nullprogram.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) 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. ------------=_1378682162-16983-1--