From: Carlos Pita <carlosjosepita@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 19696@debbugs.gnu.org, Fabian Ezequiel Gallina <galli.87@gmail.com>
Subject: bug#19696: Acknowledgement (24.4; python.el: blank line eldoc error)
Date: Wed, 4 Feb 2015 15:11:38 -0300 [thread overview]
Message-ID: <CAELgYhcCUOy=wCzy5zP3+4qLUxaxhS_7neuQ2NV+KA90LVWDXw@mail.gmail.com> (raw)
In-Reply-To: <CAELgYhdgXKfi3J2sxTTNu3rssqvrmz-CkhRsVPaqerpLvwV0yA@mail.gmail.com>
I'm not the expert here, but could it be that there is no previous
value for eldoc-documentation-function? I mean, from:
(add-function WHERE PLACE FUNCTION &optional PROPS)
Add a piece of advice on the function stored at PLACE.
[...]
`:before-until' (lambda (&rest r) (or (apply FUNCTION r)
(apply OLDFUN r)))
What is OLDFUN at the point where python.el advises it?:
(add-function :before-until (local 'eldoc-documentation-function)
#'python-eldoc-function)
It makes sense that if fails only when there is no symbol to get info
about, as (apply FUNCTION r) evals to nil and (apply OLDFUN r) gets
called, while OLDFUN has no value in its function cell.
On Wed, Feb 4, 2015 at 3:01 PM, Carlos Pita <carlosjosepita@gmail.com> wrote:
> Sure Stefan.
>
> This:
>
>
> #[128 "\300\301^B\"\206^K^@\300\302^B\"\207" [apply
> python-eldoc-function #[128 "\301\302\300!^B\"\207"
> [eldoc-documentation-function apply default-value] 4 "
>
> (fn &rest ARGS)"] nil] 4 nil]
>
>
> is the content of eldoc-documentation-function at this point of execution:
>
>
> (if eldoc-documentation-function
> (eldoc-message (funcall eldoc-documentation-function))
> [...]
>
>
> The error raised by the evaluation of the funcall is:
>
>
> Symbol's function definition is void: nil
>
>
> And that triggers the message in the echo area:
>
>
> eldoc error: (void-function nil)
next prev parent reply other threads:[~2015-02-04 18:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-26 17:32 bug#19696: 24.4; python.el: blank line eldoc error Carlos Pita
[not found] ` <handler.19696.B.14222935664090.ack@debbugs.gnu.org>
2015-02-03 23:23 ` bug#19696: Acknowledgement (24.4; python.el: blank line eldoc error) Carlos Pita
2015-02-04 15:25 ` Stefan Monnier
2015-02-04 18:01 ` Carlos Pita
2015-02-04 18:11 ` Carlos Pita [this message]
2015-02-04 18:35 ` Stefan Monnier
2015-02-04 18:43 ` Carlos Pita
2015-02-04 18:59 ` Carlos Pita
2015-02-04 19:34 ` Stefan Monnier
2015-02-04 19:47 ` Carlos Pita
2015-02-04 22:38 ` Fabián Ezequiel Gallina
2015-02-05 2:47 ` Stefan Monnier
2015-02-05 9:09 ` Fabián Ezequiel Gallina
2015-02-09 15:56 ` bug#19696: python.el: blank line eldoc error Carlos Pita
2015-02-10 2:54 ` Fabián Ezequiel Gallina
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='CAELgYhcCUOy=wCzy5zP3+4qLUxaxhS_7neuQ2NV+KA90LVWDXw@mail.gmail.com' \
--to=carlosjosepita@gmail.com \
--cc=19696@debbugs.gnu.org \
--cc=galli.87@gmail.com \
--cc=monnier@iro.umontreal.ca \
/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.