From: Eli Zaretskii <eliz@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 26837@debbugs.gnu.org, agrambot@gmail.com
Subject: bug#26837: Wrong file in "autoloading failed to define" error
Date: Tue, 09 May 2017 22:12:48 +0300 [thread overview]
Message-ID: <83inl9c09b.fsf@gnu.org> (raw)
In-Reply-To: <nmtw4t6fj7.fsf@fencepost.gnu.org> (message from Glenn Morris on Tue, 09 May 2017 14:39:24 -0400)
> From: Glenn Morris <rgm@gnu.org>
> Date: Tue, 09 May 2017 14:39:24 -0400
> Cc: 26837@debbugs.gnu.org
>
> I think it was the lexical-binding thing. Following seems to work:
>
> --- i/src/lread.c
> +++ w/src/lread.c
> @@ -1885,7 +1885,7 @@ PREDICATE can also be an integer to pass to the faccessat(2) function,
> /* On the first cycle, we can easily test here
> whether we are reading the whole buffer. */
> if (b && first_sexp)
> - whole_buffer = (PT == BEG && ZV == Z);
> + whole_buffer = (BUF_PT (b) == BUF_BEG (b) && BUF_ZV (b) == BUF_Z (b));
You are saying that set_buffer_internal didn't do its job? Of that
the call was bypassed?
next prev parent reply other threads:[~2017-05-09 19:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-08 19:14 bug#26837: Wrong file in "autoloading failed to define" error Glenn Morris
2017-05-09 0:04 ` Glenn Morris
2017-05-09 7:26 ` Alex
2017-05-09 16:33 ` Glenn Morris
2017-05-09 18:39 ` Glenn Morris
2017-05-09 19:12 ` Eli Zaretskii [this message]
2017-05-09 23:49 ` Glenn Morris
2017-05-10 2:43 ` Eli Zaretskii
2017-05-10 6:23 ` Glenn Morris
2017-05-18 20:11 ` Alex
2017-05-20 23:17 ` Glenn Morris
2017-05-20 23:24 ` Glenn Morris
2017-05-21 21:59 ` Alex
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83inl9c09b.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=26837@debbugs.gnu.org \
--cc=agrambot@gmail.com \
--cc=rgm@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).