GNU bug report logs - #20418
25.0.50; eldoc error: (invalid-function nil)

Previous Next

Package: emacs;

Reported by: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>

Date: Fri, 24 Apr 2015 16:38:01 UTC

Severity: normal

Found in version 25.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20418 in the body.
You can then email your comments to 20418 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#20418; Package emacs. (Fri, 24 Apr 2015 16:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Richard <theonewiththeevillook <at> yahoo.fr>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 24 Apr 2015 16:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; eldoc error: (invalid-function nil)
Date: Fri, 24 Apr 2015 18:38:51 +0200
Recipe :

Run:
emacs -Q -f package-initialize --eval '(insert "[cl-struct-package-desc]")' -f backward-char

then hit SPC and wait a tiny bit (well under a second).

Result: an error.

Here's the lisp backtrace:

Debugger entered--Lisp error: (invalid-function nil)
  documentation(cl-struct-package-desc t)
  elisp--get-fnsym-args-string(cl-struct-package-desc 1)
  apply(elisp--get-fnsym-args-string (cl-struct-package-desc 1))
  elisp-eldoc-documentation-function()
  apply(elisp-eldoc-documentation-function nil)
  #[128 "\300\301\"\206\300\302\"\207" [apply elisp-eldoc-documentation-function #[128 "\301\302\300!\"\207" [eldoc-documentation-function apply default-value] 4 "\n\n(fn &rest ARGS)"] nil] 4 nil]()
  eldoc-print-current-symbol-info()
  #[0 "\204	\205\n\303>?\205\304 \207" [eldoc-mode global-eldoc-mode eldoc-documentation-function (nil ignore) eldoc-print-current-symbol-info] 2]()
  apply(#[0 "\204	\205\n\303>?\205\304 \207" [eldoc-mode global-eldoc-mode eldoc-documentation-function (nil ignore) eldoc-print-current-symbol-info] 2] nil)
  timer-event-handler([t 0 0 500000 t #[0 "\204	\205\n\303>?\205\304 \207" [eldoc-mode global-eldoc-mode eldoc-documentation-function (nil ignore) eldoc-print-current-symbol-info] 2] nil idle 0])


Related to this, running :

emacs -Q -f package-initialize --eval '(describe-function (quote cl-struct-package-desc))'

results in a second window showing :
cl-struct-package-desc is an alias for `:quick-object-witness-check',
which is not defined.  Please make a bug report.

-- 
Nico




Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Mon, 27 Apr 2015 04:03:02 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Richard <theonewiththeevillook <at> yahoo.fr>:
bug acknowledged by developer. (Mon, 27 Apr 2015 04:03:02 GMT) Full text and rfc822 format available.

Message #10 received at 20418-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Cc: 20418-done <at> debbugs.gnu.org
Subject: Re: bug#20418: 25.0.50; eldoc error: (invalid-function nil)
Date: Mon, 27 Apr 2015 00:02:35 -0400
> then hit SPC and wait a tiny bit (well under a second).
[...]
> Debugger entered--Lisp error: (invalid-function nil)
>   documentation(cl-struct-package-desc t)
>   elisp--get-fnsym-args-string(cl-struct-package-desc 1)

Duh!  I fixed this bug locally months ago, but somehow failed to notice
it also affects master.  Should be fixed now, thanks,


        Stefan




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 25 May 2015 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 27 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.