GNU bug report logs - #28257
26.0.50; [PATCH] expose eldoc functions in a hook

Previous Next

Package: emacs;

Reported by: Mark Oteiza <mvoteiza <at> udel.edu>

Date: Mon, 28 Aug 2017 02:12:01 UTC

Severity: wishlist

Tags: patch

Found in version 26.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 28257 <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: Mark Oteiza <mvoteiza <at> udel.edu>
Cc: 28257 <at> debbugs.gnu.org
Subject: Re: bug#28257: 26.0.50; [PATCH] expose eldoc functions in a hook
Date: Sun, 27 Aug 2017 22:49:06 -0400
Mark Oteiza <mvoteiza <at> udel.edu> writes:

> This makes it possible to use the results from multiple eldoc functions
> at once, through the addition of an abnormal hook.

Last time this came up, there were some objections[1].  I'm not sure
what exactly what you mean by "use the results from multiple eldoc
functions".  Is that something not possible currently?

[1]: http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00291.html

> 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?

Note also that (cl-prin1 eldoc-documentation-function) will print out a
representation of all the added functions.  It uses some "internal"
advice--* functions, perhaps they should be "externalized"?




This bug report was last modified 4 years and 280 days ago.

Previous Next


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