* describe-function: Wrong number of arguments
@ 2023-10-23 0:30 Tim Johnson
2023-10-23 12:59 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Tim Johnson @ 2023-10-23 0:30 UTC (permalink / raw)
To: MLEmacs
Build info is:
GNU Emacs 29.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,
cairo version 1.16.0) of 2023-09-22
on ubuntu 20.04
If I compile and load an elisp file with
emacs-lisp-byte-compile-and-load and
then run describe-function for a defun (invoked by in c-h f) I get the
following
error message for all functions in that file:
*describe-function-1: Wrong number of arguments: #<subr
help-fns--autoloaded-p>, 2
*Describe-function works fine for that elisp file when I restart emacs.
I am seeing a similar issue at the following site:
https://github.com/doomemacs/doomemacs/issues/6097
Should I be going to a different version of emacs?
This instance of emacs is from snap. Was originally included with my
ubuntu install
and I have just updated when prompted.
Any and all ideas are welcome
--
Tim
thjmmj15@gmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: describe-function: Wrong number of arguments
2023-10-23 0:30 describe-function: Wrong number of arguments Tim Johnson
@ 2023-10-23 12:59 ` Eli Zaretskii
2023-10-23 15:26 ` Tim Johnson
2023-10-29 0:12 ` Tim Johnson
0 siblings, 2 replies; 4+ messages in thread
From: Eli Zaretskii @ 2023-10-23 12:59 UTC (permalink / raw)
To: Help-gnu-emacs
> Date: Sun, 22 Oct 2023 16:30:51 -0800
> From: Tim Johnson <thjmmj15@gmail.com>
>
> Build info is:
> GNU Emacs 29.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,
> cairo version 1.16.0) of 2023-09-22
> on ubuntu 20.04
>
> If I compile and load an elisp file with
> emacs-lisp-byte-compile-and-load and
> then run describe-function for a defun (invoked by in c-h f) I get the
> following
> error message for all functions in that file:
>
> *describe-function-1: Wrong number of arguments: #<subr
> help-fns--autoloaded-p>, 2
>
> *Describe-function works fine for that elisp file when I restart emacs.
I tried to reproduce this with a random .el file I have here, and I
see no error. Maybe you should report more details, like the file you
compiled, the exact steps to reproduce starting from "emacs -Q", etc.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: describe-function: Wrong number of arguments
2023-10-23 12:59 ` Eli Zaretskii
@ 2023-10-23 15:26 ` Tim Johnson
2023-10-29 0:12 ` Tim Johnson
1 sibling, 0 replies; 4+ messages in thread
From: Tim Johnson @ 2023-10-23 15:26 UTC (permalink / raw)
To: help-gnu-emacs
On 10/23/23 4:59 AM, Eli Zaretskii wrote:
>> Date: Sun, 22 Oct 2023 16:30:51 -0800
>> From: Tim Johnson <thjmmj15@gmail.com>
>>
>> Build info is:
>> GNU Emacs 29.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,
>> cairo version 1.16.0) of 2023-09-22
>> on ubuntu 20.04
>>
>> If I compile and load an elisp file with
>> emacs-lisp-byte-compile-and-load and
>> then run describe-function for a defun (invoked by in c-h f) I get the
>> following
>> error message for all functions in that file:
>>
>> *describe-function-1: Wrong number of arguments: #<subr
>> help-fns--autoloaded-p>, 2
>>
>> *Describe-function works fine for that elisp file when I restart emacs.
> I tried to reproduce this with a random .el file I have here, and I
> see no error. Maybe you should report more details, like the file you
> compiled, the exact steps to reproduce starting from "emacs -Q", etc.
>
Darn, I had hoped there was an easy answer :). This appears to be happening
with all and any function in my elisp files. When I start with emacs -Q,
describe-function
reports any and all of my own written defun names to be void!
I guess I will have to start loading init.el a part at a time ...
thanks
--
Tim
thjmmj15@gmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: describe-function: Wrong number of arguments
2023-10-23 12:59 ` Eli Zaretskii
2023-10-23 15:26 ` Tim Johnson
@ 2023-10-29 0:12 ` Tim Johnson
1 sibling, 0 replies; 4+ messages in thread
From: Tim Johnson @ 2023-10-29 0:12 UTC (permalink / raw)
To: help-gnu-emacs
On 10/23/23 4:59 AM, Eli Zaretskii wrote:
>> Date: Sun, 22 Oct 2023 16:30:51 -0800
>> From: Tim Johnson <thjmmj15@gmail.com>
>>
>> Build info is:
>> GNU Emacs 29.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,
>> cairo version 1.16.0) of 2023-09-22
>> on ubuntu 20.04
>>
>> If I compile and load an elisp file with
>> emacs-lisp-byte-compile-and-load and
>> then run describe-function for a defun (invoked by in c-h f) I get the
>> following
>> error message for all functions in that file:
>>
>> *describe-function-1: Wrong number of arguments: #<subr
>> help-fns--autoloaded-p>, 2
>>
>> *Describe-function works fine for that elisp file when I restart emacs.
> I tried to reproduce this with a random .el file I have here, and I
> see no error. Maybe you should report more details, like the file you
> compiled, the exact steps to reproduce starting from "emacs -Q", etc.
>
The help-fn+ package is used. As in some other packages, it was necessary
to byte-compile a fresh .elc file. This solve the problem.
--
Tim
thjmmj15@gmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-10-29 0:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-23 0:30 describe-function: Wrong number of arguments Tim Johnson
2023-10-23 12:59 ` Eli Zaretskii
2023-10-23 15:26 ` Tim Johnson
2023-10-29 0:12 ` Tim Johnson
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).