GNU bug report logs - #55096
Eldoc showing elisp variable value beside docs

Previous Next

Package: emacs;

Reported by: emacsq <laszlomail <at> protonmail.com>

Date: Sun, 24 Apr 2022 18:25:01 UTC

Severity: normal

Tags: moreinfo

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


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

From: emacsq <laszlomail <at> protonmail.com>
To: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
Subject: Eldoc showing elisp variable value beside docs
Date: Sun, 24 Apr 2022 18:24:36 +0000
[Message part 1 (text/plain, inline)]
Eldoc showing the docs in the minibuffer is quite useful, but I often check elisp variable values too in the code, and it can be quite handy if eldoc shows that too simply by putting cursor on the variable.

So for variables the value too can be shown after the docs. In case of primitive values it's quite simple, if there is a local value then it can show the local value first and then the global one.

In case of complex values the full value may be too big to display, but the beginning of it can still be shown, truncated after, say, 30 chars. It is still useful if, for example, a variable can be nil and also a list. Then you can see at a glance if it has a value set.
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 84 days ago.

Previous Next


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