all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: 26837@debbugs.gnu.org
Cc: agrambot@gmail.com
Subject: bug#26837: Wrong file in "autoloading failed to define" error
Date: Mon, 08 May 2017 15:14:44 -0400	[thread overview]
Message-ID: <63h90vp3dn.fsf@fencepost.gnu.org> (raw)

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





             reply	other threads:[~2017-05-08 19:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-08 19:14 Glenn Morris [this message]
2017-05-09  0:04 ` bug#26837: Wrong file in "autoloading failed to define" error 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

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=63h90vp3dn.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=26837@debbugs.gnu.org \
    --cc=agrambot@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.