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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Subject: bug#20418: closed (Re: bug#20418: 25.0.50; eldoc error:
 (invalid-function nil))
Date: Mon, 27 Apr 2015 04:03:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#20418: 25.0.50; eldoc error: (invalid-function nil)

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 20418 <at> debbugs.gnu.org.

-- 
20418: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20418
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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

[Message part 3 (message/rfc822, inline)]
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



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.