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


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




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

Previous Next


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