From: Mark Oteiza <mvoteiza@udel.edu>
To: npostavs@users.sourceforge.net
Cc: 28257@debbugs.gnu.org
Subject: bug#28257: 26.0.50; [PATCH] expose eldoc functions in a hook
Date: Sun, 27 Aug 2017 23:11:04 -0400 [thread overview]
Message-ID: <20170828031104.GA15524@holos.localdomain> (raw)
In-Reply-To: <87val88l0d.fsf@users.sourceforge.net>
On 27/08/17 at 10:49pm, npostavs@users.sourceforge.net wrote:
>Mark Oteiza <mvoteiza@udel.edu> writes:
>
>> This makes it possible to use the results from multiple eldoc functions
>> at once, through the addition of an abnormal hook.
>
> I'm not sure
>what exactly what you mean by "use the results from multiple eldoc
>functions". Is that something not possible currently?
If both the buffer mode's documentation function and the function in the
default-value return non-nil at a point, execution stops at the
:before-until function, analogous to run-hook-with-args-until-success.
I want to see both results. See what eldoc-documentation-compose does.
>> I'm not aware of a good way to access the default value (or other local
>> values) of eldoc-documentation-function when shadowed by a :before-until
>> advice returning non-nil.
>
>Doesn't (default-value 'eldoc-documentation-function) work?
FSVO "work".
To do what is described above, not only does one have to write some
wrapper function to advise eldoc-documentation-function buffer-locally,
but also one has to hook into any/every mode that might add its own doc
function.
next prev parent reply other threads:[~2017-08-28 3:11 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-28 2:10 bug#28257: 26.0.50; [PATCH] expose eldoc functions in a hook Mark Oteiza
2017-08-28 2:49 ` npostavs
2017-08-28 3:11 ` Mark Oteiza [this message]
2017-08-29 1:05 ` npostavs
2017-08-30 1:50 ` Mark Oteiza
2019-06-24 16:16 ` Lars Ingebrigtsen
2019-06-24 22:51 ` Noam Postavsky
2019-06-26 14:03 ` Mark Oteiza
2020-01-26 23:47 ` Mark Oteiza
2020-01-31 14:05 ` Eli Zaretskii
2020-02-08 10:03 ` Eli Zaretskii
2020-02-11 21:57 ` Noam Postavsky
2020-02-14 9:58 ` Eli Zaretskii
2020-02-14 14:51 ` Stefan Monnier
2020-02-14 14:50 ` Stefan Monnier
2020-02-14 22:54 ` Mark Oteiza
2020-02-21 8:47 ` Eli Zaretskii
2020-02-25 23:18 ` Mark Oteiza
2020-08-10 14:42 ` Lars Ingebrigtsen
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=20170828031104.GA15524@holos.localdomain \
--to=mvoteiza@udel.edu \
--cc=28257@debbugs.gnu.org \
--cc=npostavs@users.sourceforge.net \
/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.