unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26837: Wrong file in "autoloading failed to define" error
@ 2017-05-08 19:14 Glenn Morris
  2017-05-09  0:04 ` Glenn Morris
  0 siblings, 1 reply; 13+ messages in thread
From: Glenn Morris @ 2017-05-08 19:14 UTC (permalink / raw)
  To: 26837; +Cc: agrambot

Package: emacs
Version: 26.0.50
Severity: minor

cat <<EOF > bar.el
(provide 'bar)
EOF

emacs -Q -L $PWD
(autoload 'bar "bar")
(bar)

 -> (error "Autoloading file /path/to/bar.el failed to define function bar")

which is correct and good.

Now:
C-]   ; exit debugger
(bar) ; repeat

 -> (error "Autoloading file /path/to/help-mode.elc failed to define function bar") 

Ie, the wrong file name is reported after the first time round.


Ref: http://lists.gnu.org/archive/html/emacs-devel/2016-10/msg00668.html





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-05-21 21:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).