From: Tom Tromey <tromey@redhat.com>
To: rms@gnu.org
Cc: emacs-devel@gnu.org, Paul Pogonyshev <pogonyshev@gmx.net>
Subject: Re: highlight current argument in Eldoc for Elisp
Date: Sun, 01 Jul 2007 14:54:01 -0600 [thread overview]
Message-ID: <m3ved3alqu.fsf@fleche.redhat.com> (raw)
In-Reply-To: <E1I4nKP-0002ho-Ij@fencepost.gnu.org> (Richard Stallman's message of "Sat\, 30 Jun 2007 20\:30\:13 -0400")
>>>>> "rms" == Richard Stallman <rms@gnu.org> writes:
rms> Thanks for posting the patch. Would people please try it
rms> and report any problems?
I get this error occasionally:
eldoc error: (wrong-number-of-arguments (lambda (sym argument-index) (let ((args nil) (doc nil)) (cond ((not (and sym (symbolp sym) (fboundp sym)))) ((and (eq sym (aref eldoc-last-data 0)) (eq (quote function) (aref eldoc-last-data 2))) (setq args (aref eldoc-last-data 1))) ((setq doc (help-split-fundoc (documentation sym t) sym)) (setq args (car doc)) (string-match \`[^ )]* ? args) (setq args (concat ( (substring args (match-end 0)))) (eldoc-last-data-store sym args (quote function))) (t (setq args (eldoc-function-argstring sym)))) (when args (setq doc (eldoc-highlight-function-argument sym args argument-index))) doc)) 0)
To see this, open gnus/mm-view.el and search for "defcustom". Put
point in the docstring and wait. This reliably shows the error for
me.
Tom
next prev parent reply other threads:[~2007-07-01 20:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-30 15:13 highlight current argument in Eldoc for Elisp Paul Pogonyshev
2007-07-01 0:30 ` Richard Stallman
2007-07-01 18:13 ` Tom Tromey
2007-07-01 20:54 ` Tom Tromey [this message]
2007-07-02 12:24 ` Paul Pogonyshev
2007-07-02 20:37 ` Tom Tromey
2007-07-02 21:22 ` Paul Pogonyshev
2007-07-02 22:40 ` Richard Stallman
2007-07-07 10:40 ` Paul Pogonyshev
2007-07-07 20:47 ` Richard Stallman
2007-07-11 21:29 ` Paul Pogonyshev
2007-07-12 1:52 ` Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3ved3alqu.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=emacs-devel@gnu.org \
--cc=pogonyshev@gmx.net \
--cc=rms@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.