GNU bug report logs - #74673
30.0.92; face warning on legal elisp syntax

Previous Next

Package: emacs;

Reported by: Christopher Howard <christopher <at> librehacker.com>

Date: Tue, 3 Dec 2024 18:50:01 UTC

Severity: normal

Found in version 30.0.92

Done: Christopher Howard <christopher <at> librehacker.com>

Bug is archived. No further changes may be made.

Full log


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

From: Robert Pluim <rpluim <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: christopher <at> librehacker.com, 74673 <at> debbugs.gnu.org,
 Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
Subject: Re: bug#74673: 30.0.92; face warning on legal elisp syntax
Date: Thu, 05 Dec 2024 10:28:55 +0100
>>>>> On Wed, 04 Dec 2024 19:32:54 +0200, Eli Zaretskii <eliz <at> gnu.org> said:

    >> From: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
    >> Cc: Christopher Howard <christopher <at> librehacker.com>,  74673 <at> debbugs.gnu.org
    >> Date: Wed, 04 Dec 2024 18:12:06 +0100
    >> 
    >> Eli Zaretskii <eliz <at> gnu.org> writes:
    >> 
    >> > Some nice features of the UI need the mouse, yes, and there's no
    >> > (easy) way around that.  That said, you can go to the "" part and type
    >> > "M-x describe-text-properties", which will pop a buffer that tells you
    >> > there's a help-echo property at that spot, and show a button which you
    >> > could press to have the text shown in the echo-area.
    >> >
    >> > If you really need to be able to show tool tips without the mouse, you
    >> > can write a simple function to show its text in the echo-area.
    >> > However, most tooltips are shown on UI parts where you cannot go, so
    >> > such a command will be of somewhat limited use.
    >> 
    >> Apologies if I missed something: this specific diagnostic is also
    >> visible with 'C-h .', right?

    Eli> Yes.

You could do something like this to economise on typing:

(defun display-help-string ()
    (when-let* ((help (help-at-pt-kbd-string)))
      (message "%s" (substitute-command-keys help))))
(add-hook 'post-command-hook #'display-help-string nil t)

(hmm, would it make sense to add something like that to eldoc?)

Robert
-- 




This bug report was last modified 210 days ago.

Previous Next


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