From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: End of file while generating loaddefs.el Date: Sat, 21 Nov 2015 12:23:52 +0100 Message-ID: <56505448.9090307@gmx.at> References: <834mgkbk2t.fsf@gnu.org> <564C2DDB.2090402@gmx.at> <83si439py4.fsf@gnu.org> <564D848D.4000301@gmx.at> <83lh9u7yp2.fsf@gnu.org> <564ED86E.3030705@gmx.at> <83egfl6p6a.fsf@gnu.org> <83a8q85qcy.fsf@gnu.org> <56502C62.8030803@gmx.at> <83vb8v4tzo.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1448105072 32341 80.91.229.3 (21 Nov 2015 11:24:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Nov 2015 11:24:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 21 12:24:23 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a06HF-0000Uh-Pe for ged-emacs-devel@m.gmane.org; Sat, 21 Nov 2015 12:24:21 +0100 Original-Received: from localhost ([::1]:51920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a06HF-0000QC-5x for ged-emacs-devel@m.gmane.org; Sat, 21 Nov 2015 06:24:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a06H2-0000Q5-OJ for emacs-devel@gnu.org; Sat, 21 Nov 2015 06:24:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a06H1-0001HN-VT for emacs-devel@gnu.org; Sat, 21 Nov 2015 06:24:08 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:57277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a06Gx-0001Ff-5I; Sat, 21 Nov 2015 06:24:03 -0500 Original-Received: from [192.168.1.100] ([213.162.68.49]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MEccf-1a70AK429Z-00FiUU; Sat, 21 Nov 2015 12:24:02 +0100 In-Reply-To: <83vb8v4tzo.fsf@gnu.org> X-Provags-ID: V03:K0:GgXIcM7GcWQpGHBGcIT2rDfmPwgK6pDtC9lCGjxUnhM9yNSoC13 o/4yz+vtLtopdKZ9YRDBs2ye0X25ExtL4OqUGB5CMeuHjC0+E5RSYIhAkoPcbHBdsGTsxT+ 2qVhMLV9fEuf7/y/SHQXdM46NrV8QO8NCx5DSc0hURrCrKv8cbIGURs0JGKSLGOBi6k/YAB IoT8Fr/UikfJbr12P5QjQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:OG23XcSwOL0=:SUzwRuXGlrtqtyjU2J4sIL PO1OYJJL3LL0We/rclbszIlWKkRc4/JSsyr/oYjefogbcpCoHt9orbwc+LLR5wuLP3bzDcj3u tQqfagVCQfgPDqfKCG55oE3zGdHC+rouufOlYDprGnR+DVNEPum4GwzczGGX/p2uLMMG9tOfU uS0f7Y2M477kZrrMVBalD0zUHM7hD0Yy7zJGLNI9qmcoVV3hQbvWTmRIGxJJzi9DVYmGVp6ba 7MHSeGOaILWA2HAp6cqrA2g82l5qS5pUccA5FS8FTYNLo3pN8BZcUjkryAUMK+29x7hCmbQaD 37aPl3qLkj9hd66eaGaAG2VBi1xDotbLxhFn8pE2s9soqzxKp9GvdFcjUL2lgUB/+U2Vshx27 isyQeiZfQ0nz+fIUHfXNuvqvjvHyL32GFdSpEqHaeTkz0hCiWjiELSjDTNnXG8bdtFWnsHviq nnXOV8lC2n7NMXad0YoKRrpK0KM7/RN4KXR2awA+WSdEt8VmEdCqlA8muuKYGI/Rp+bLFOgaN xZ9szfBjBBi1ZmvfTamTwSR5I89SIO3ZtBBuqjBuAVHbFjwW3ZoZm7BOKxS5kWH42SuDy0AyM Vy0Hy+ShCMLnU7QubEvkTWHxNN42rmAEdNVysacVOB+GVMNvHQIMUYlrRH+bZpEFhfGV8HOSD OhbgrMcTT2+hDXn9nuSYNn0FYjz39fyGoDlPHQuPTa/uWXYRPHMeJmS6FN3a7yuulLAy6KG1u 9/2Fpf24xzMPXwb/hfljD6OmIrAyycXDtcY5fPDR6SRYTcv6NDcynfPAtFwHayMNSBSHhFMN X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.21 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194946 Archived-At: > And anyway, what's the problem with the above? That's what I have > here, after the problem is solved. I also see that on GNU/Linux, > where there was no problem to begin with. I've put it back. No problem. > Why do you think it's this entry that was the cause of the problem? I compared the emacs-25 loaddefs with those of master and that was the only significant difference I found. >> I now have >> >> (autoload 'xref-find-backend "xref" "\ >> Run... >> >> \(fn)" nil nil) >> >> instead and it ran to completion. > > Great! Although I don't understand what was the problem with that > spot in your case. Were there any null bytes, anywhere? I didn't find any. Do you still have the snippet that caused problems in your case? Maybe I can try to patch it somehow into my file and see whether the problem reappears. In 'autoload-read-section-header' (which was where the "end of file > during parsing" was coming from the call to 'read'), there's code that > takes a buffer-substring, and then edits it in a temporary buffer. I > made that code print the start and end point of the buffer-substring, > then looked into the old loaddefs.el near the last position it printed > before barfing. How could null bytes possibly get into that file and why did they cause an end of file exception during parsing? And why does no one else have such problems? martin