From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74673: 30.0.92; face warning on legal elisp syntax Date: Thu, 05 Dec 2024 11:53:37 +0200 Message-ID: <867c8exxpa.fsf@gnu.org> References: <874j3kfvq8.fsf@librehacker.com> <86h67k1tfq.fsf@gnu.org> <87wmggefrd.fsf@librehacker.com> <86frn41rqt.fsf@gnu.org> <87ldwwebn0.fsf@librehacker.com> <86bjxr1vtf.fsf@gnu.org> <87ed2njrtl.fsf@gmail.com> <86ldwvz73t.fsf@gnu.org> <87cyi6cwbs.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31133"; mail-complaints-to="usenet@ciao.gmane.io" Cc: christopher@librehacker.com, 74673@debbugs.gnu.org, kevin.legouguec@gmail.com To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 05 10:54:16 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tJ8Yp-0007wr-7g for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Dec 2024 10:54:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJ8Yf-0002TJ-11; Thu, 05 Dec 2024 04:54:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJ8Yc-0002T2-NJ for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2024 04:54:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJ8Yc-0000dr-Cs for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2024 04:54:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=LnVWnTUXBgQa55HihUM7UyXVmw3Xyp8ApiNQn3eV0Kw=; b=ePBYdIqin0g9dSGrTz7iKf1QAJOIMnG573MV7n/6VjF6nLw978FB2NtC2NLcjXK39wzKJNcVixqTtJKj72LG8s74qREFjVATgB67n7Qp1VVIR+QnWTd100XGMjAMElH5lqd01WiOexqnwyJ4oUHu6+Zuj9rwV04jzx6DnJy95+ufj1DXsaXImhR6c+7U3pcRSy86YY0HfcQ1kvqAqW+44UHBRgdjZwyxjlL7mIWtWP0VyZXeMxeZvI9MhXvBP0/FvnACf+ffmrQ+e9Rf32AggKNoOMG2pigDlro44aDwyXUkwatJQqY4Kxzweb3RUwxtJ4W5EvaT6kigNQmp10roAg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJ8Yb-0003G8-Uz for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2024 04:54:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Dec 2024 09:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74673 X-GNU-PR-Package: emacs Original-Received: via spool by 74673-submit@debbugs.gnu.org id=B74673.173339242712509 (code B ref 74673); Thu, 05 Dec 2024 09:54:01 +0000 Original-Received: (at 74673) by debbugs.gnu.org; 5 Dec 2024 09:53:47 +0000 Original-Received: from localhost ([127.0.0.1]:38327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJ8YN-0003Fg-BP for submit@debbugs.gnu.org; Thu, 05 Dec 2024 04:53:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJ8YL-0003FO-Gq for 74673@debbugs.gnu.org; Thu, 05 Dec 2024 04:53:46 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJ8YF-0008CC-OG; Thu, 05 Dec 2024 04:53:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=LnVWnTUXBgQa55HihUM7UyXVmw3Xyp8ApiNQn3eV0Kw=; b=W12hyMRa9Z915AquS+Ay Trm561Qdx6kVFg7nxwR8/zNLw0OTgofzBJSSlH0BvSX6+sLB5Rd1u1klp+48WoeECB/YzQlLbDPZX ZU3tWPF5SMyU2PRbO5V5ZFcux0XkwQKoGphr/bJTx+xoSD/gT1Q+cZ4VWZGwOzGSMrE7xaBQKdGl5 IfkB1wsr2yRO6vPMGIR+015nCeTk9ITfG+TdbQAxJve3pFgAXNxWpWx0RCSTiHc93PDwwGnLuZLbc CWG2N9NDzR7mSFhAkgRfczMa6qxOKevkERtyBmUEVxEQ9bvwPhh17MqSsFVZmtRuowKkiJkKd/dwx Uk1qFA7c+UCDRw==; In-Reply-To: <87cyi6cwbs.fsf@gmail.com> (message from Robert Pluim on Thu, 05 Dec 2024 10:28:55 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296467 Archived-At: > From: Robert Pluim > Cc: Kévin Le Gouguec , > christopher@librehacker.com, 74673@debbugs.gnu.org > Date: Thu, 05 Dec 2024 10:28:55 +0100 > > >>>>> On Wed, 04 Dec 2024 19:32:54 +0200, Eli Zaretskii said: > > >> From: Kévin Le Gouguec > >> Cc: Christopher Howard , 74673@debbugs.gnu.org > >> Date: Wed, 04 Dec 2024 18:12:06 +0100 > >> > >> Eli Zaretskii 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?) Given that we already have help-at-pt-display-when-idle, why is anything else needed?