From: Alex <agrambot@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 26837@debbugs.gnu.org
Subject: bug#26837: Wrong file in "autoloading failed to define" error
Date: Sun, 21 May 2017 15:59:08 -0600 [thread overview]
Message-ID: <871srh6fdf.fsf@gmail.com> (raw)
In-Reply-To: <b71srj5d9x.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sat, 20 May 2017 19:17:30 -0400")
Glenn Morris <rgm@gnu.org> writes:
> In 58326f0 I check if the car is nil (though I don't see how it could be).
> Could add the same thing to eval.c.
According to the docstring of load-history:
As an exception, one of the alist elements may have FILE-NAME nil,
for symbols and features not associated with any file.
With your proposed patch I don't think it's really an issue anymore, but
previously it could have triggered a segfault under that rare condition.
> I don't know if it should be mentioned explicitly.
If the intention is that someone can expect the position of files in
load-history to be updated so that it provides a history of some sort
(i.e. use (caar load-history) to get the last file evaluated), then I
would think that there should be a line mentioning it somewhere.
prev parent reply other threads:[~2017-05-21 21:59 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
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 [this message]
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=871srh6fdf.fsf@gmail.com \
--to=agrambot@gmail.com \
--cc=26837@debbugs.gnu.org \
--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).