From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#74673: 30.0.92; face warning on legal elisp syntax Date: Wed, 04 Dec 2024 18:12:06 +0100 Message-ID: <87ed2njrtl.fsf@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16978"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Christopher Howard , 74673@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 04 18:14:31 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 1tIsxL-0004Fc-3N for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Dec 2024 18:14:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIswu-0004Ls-Ct; Wed, 04 Dec 2024 12:14:04 -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 1tIsws-0004LL-Jh for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 12:14: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 1tIsws-0008I9-Ar for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 12:14: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:Date:References:In-Reply-To:From:To:Subject; bh=rWqGbbPVuk1v7mI4YUqXzbtMBZ6L50yTzO1SJE1S9YU=; b=OQ+NzpNEeOSYMqHfYyL1kumwS1+p/YSz4p03ixsop5jqxeNBxW1KIEXvcPdRyH5WDL/hqqgeUXV/fM10+dBfimVPlaJo+dWfK3ipZUbJG/FVmCu4b9hAxgC1aJbaiEcfZSbPUNW1ek2O6pqEcrrsL7TXvyA5EU3/o/ZkbyUmZiKW1kBldkrDBc48PaJYebDV2qKIhAO9NZEJqhF6EfjaJKk6HQ0lH8HmJUS574PAF8xn21px46qFLmiawH+/xX0RspVocKaI6q27OyrJoMvC5eHZeD91AAyaHJOomOZKQlaAckc/iFbPnLxunhQnKkG6fNKpsogT0/Y4sIbVlz1Dkw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIsws-0004Rz-4q for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 12:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Dec 2024 17:14:02 +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.173333239116999 (code B ref 74673); Wed, 04 Dec 2024 17:14:02 +0000 Original-Received: (at 74673) by debbugs.gnu.org; 4 Dec 2024 17:13:11 +0000 Original-Received: from localhost ([127.0.0.1]:36614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIsw3-0004Q5-BG for submit@debbugs.gnu.org; Wed, 04 Dec 2024 12:13:11 -0500 Original-Received: from mail-wm1-f52.google.com ([209.85.128.52]:39805) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIsw1-0004Px-PC for 74673@debbugs.gnu.org; Wed, 04 Dec 2024 12:13:10 -0500 Original-Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4349dea3e0dso24185e9.3 for <74673@debbugs.gnu.org>; Wed, 04 Dec 2024 09:13:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733332328; x=1733937128; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rWqGbbPVuk1v7mI4YUqXzbtMBZ6L50yTzO1SJE1S9YU=; b=gcgPgY1yRkQ/6LmzYX6gGc7mkoc8FSzAR4rq7m+z8OZUQy+nomPI5mtvnGs+TuQVxj PefaHI8MXkmbMiNgaevDTnHiknPjzBw9AECau/Q6my5wOny2GzQ6gv1wSpJTYjX0kc/P VnCtK/otZtVUjQXmdiS5XGAKeamDQP/N9V8ozEBUoYLk0JrpeGKkVJ1R5CCQC0lgpI91 5uvjiU3dFJXVDKohMdOoQ4ne4So3CIHyj44dXPQVjxbnHWPTui/5DGDrL2YowSue+qu5 2Qd1bw3Ehg0ce7x9MOvPnxIaEjHLad9u2OsFRubxttRx0Fq4lSF/eCIQUUdyf6dti1vt YJww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733332328; x=1733937128; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=rWqGbbPVuk1v7mI4YUqXzbtMBZ6L50yTzO1SJE1S9YU=; b=eVGRNzInSpgU4/Y/hSyybh39bW9EFtES9wBCB2wmf9Xr8rkfBRvAfEsE1/OZI6nqXS KDyvv0G9gThtn4M6aE3eVP0WvkcrO+l4mRqQS0mNkb6bocYMvyCMNHvbUXxV87HZ0dYm xLkb+3kZ0pI2r9XhzxAEEWcFEv1SBgGNPH7OSL+3e/KiqTVzBnHlt01ZVOynuDPhqf7B dq3yBXeLbd3Sof1f1aszY6yjWfWJ+w6ztlgxfqY/mIc07lXe69vea9Z6i7ayN4Roq0G3 u0m7/6DkQuWj3aJ/eS7C4kd3a1s51ndvSFrbmPEEQkoGg8Hxwpbat/bd4TdlvZ9nzSbS 9J1Q== X-Forwarded-Encrypted: i=1; AJvYcCWkR8TJyGLfpYtsyGZJdpv0FpPyP9N0SI02EnOQwTXuQYG9srBiWW6NQKC+23wvtE0y9c+MSA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxdO1CVmmCWqI3BrHYLSgy3daYZQU+89WX52iVsN+B59nQAcP8b ywJKEjrBGN/ZgtRZKjIYvbFjPmlz4pNdR203bDXNamsZSnMRiWoD4qaQFg== X-Gm-Gg: ASbGncvKNfVj7zZjH8qYDe9vXh04885olk/Damrgo2sG640zlaneGrt1mG4E2P+94dL oOOdPXvPMzhtaQacqe1IVD0UeSLsgDSRL46UkNOXj44xSwtMby7rbhU/n/40DvVE/NrbM8LqFor W11Xdl53lN9z65Kw0/5zvVBrUhWvFEUpvfg30OwhKaAfQgyJM64RNEUWj1ZdqV6fN6WjgVxKeoC 5dm3NuR4cHKvyaySNHbPEpu4p91hslbNMkXsHR/TThjCIYqA9r7Jw== X-Google-Smtp-Source: AGHT+IECQhw1weWVMr2blTjUDk5RcfV18OEAFMxFFd+ck1cnYkXeq7YrLPgU8xvcRqZewQuFb1jOCA== X-Received: by 2002:a05:600c:3ba1:b0:42c:bfd6:9d2f with SMTP id 5b1f17b1804b1-434d09b1459mr24519615e9.1.1733332327675; Wed, 04 Dec 2024 09:12:07 -0800 (PST) Original-Received: from amdahl30 ([2a01:e0a:253:fe0:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434d52c0be4sm30727155e9.28.2024.12.04.09.12.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2024 09:12:07 -0800 (PST) In-Reply-To: <86bjxr1vtf.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 04 Dec 2024 14:23:08 +0200") 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:296417 Archived-At: Eli Zaretskii writes: >> From: Christopher Howard >> Cc: 74673@debbugs.gnu.org >> Date: Tue, 03 Dec 2024 11:48:19 -0900 >>=20 >> Eli Zaretskii writes: >>=20 >> > Move the mouse pointer there and wait for a split-second: you will see >> > the answer in a tooltip. >> > >>=20 >> Is there a way to view tooltips without making any use of the mouse? I s= ee that I can get tooltips displayed in the echo area, but apparently I sti= ll must utilize the mouse to see the tooltip in the first place. > > 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? Feeling like this is worth mentioning because IME a lot of "mouse-bound" information is actually reachable with display-local-help; though of course describe-text-properties is definitely a useful tool to have in one's kit (I usually reach for 'C-u C-x =3D' FWIW). >> >> (2) should we consider using a distinct face for style warnings? >> > >> > What's wrong with font-lock-warning-face? >> > >>=20 >> In my mind, a style warning is significantly different from a warning ab= out somethat that might cause my code to malfunction when run or compiled. = If there was a face specific to style warnings, I would make it a distinct = and less dramatic face appearance. > > It's the same case: we show this in the warning face because > oftentimes this is a mistaken code, because it's easy to misinterpret. (IMHO the flymake-warning face (wavy underline) would be less surprising; in fact I find this style check being part of the "regular" font-locking a bit surprising too, this is the kind of opt-in linting I'd expect of flymake =F0=9F=A4=B7)