From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Simen Heggestøyl" <simenheg@runbox.com>
Cc: 45121@debbugs.gnu.org
Subject: bug#45121: 27.1; gnu-elpa: "Can’t find the autoload call!"
Date: Tue, 08 Dec 2020 10:20:59 -0500 [thread overview]
Message-ID: <jwvv9dc49a4.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <877dpsqs9q.fsf@runbox.com> ("Simen Heggestøyl"'s message of "Tue, 08 Dec 2020 15:36:17 +0100")
> After installing gnu-elpa from GNU ELPA, I tried running 'M-x sml-mode',
> which resulted in the following error:
>
> Debugger entered--Lisp error: (error "Can’t find the autoload call!")
> signal(error ("Can’t find the autoload call!"))
> error("Can't find the autoload call!")
> gnu-elpa--autoloaded-function()
> gnu-elpa--perform-autoload()
> byte-code("\300\301!\210\302 \207" [require gnu-elpa-utils gnu-elpa--perform-autoload] 2)
> autoload-do-load((autoload "gnu-elpa" "Major mode for editing Standard ML
> code.\nThis mode..." t nil) sml-mode)
> command-execute(sml-mode record)
> execute-extended-command(nil "sml-mode" "sml-mo")
> funcall-interactively(execute-extended-command nil "sml-mode" "sml-mo")
> call-interactively(execute-extended-command nil nil)
> command-execute(execute-extended-command)
>
> Not sure whether that's a bug or if I'm using the package wrong.
That'd be a bug. And thanks for the recipe which I can reproduce here
fine. Not sure yet what's the problem, but looking at the stacktrace it
looks like there's no visible funcall to `sml-mode` which is explains
why `gnu-elpa` can't figure out which function is to be autoloaded.
Stefan
prev parent reply other threads:[~2020-12-08 15:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-08 14:36 bug#45121: 27.1; gnu-elpa: "Can’t find the autoload call!" Simen Heggestøyl
2020-12-08 15:20 ` Stefan Monnier [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=jwvv9dc49a4.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=45121@debbugs.gnu.org \
--cc=simenheg@runbox.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 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).