From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#44454: 26.3; Enhancement request: let :help in menus take a FORM arg, i.e., be eval'd Date: Tue, 10 Nov 2020 09:27:03 -0800 (PST) Message-ID: References: <93a9e82b-3799-492f-9632-dfe61db9a7dd@default> <87v9eejz7m.fsf@gnus.org> <87o8k5iab4.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10776"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44454@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 10 18:28:11 2020 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 1kcXRD-0002fH-Io for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 18:28:11 +0100 Original-Received: from localhost ([::1]:33008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcXRC-0006AS-Ga for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 12:28:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcXR4-00068M-2k for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 12:28:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55507) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcXR3-0006r2-Oy for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 12:28:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcXR3-0000Sk-Lh for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2020 12:28:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Nov 2020 17:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44454 X-GNU-PR-Package: emacs Original-Received: via spool by 44454-submit@debbugs.gnu.org id=B44454.16050292381722 (code B ref 44454); Tue, 10 Nov 2020 17:28:01 +0000 Original-Received: (at 44454) by debbugs.gnu.org; 10 Nov 2020 17:27:18 +0000 Original-Received: from localhost ([127.0.0.1]:38820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcXQM-0000Ri-Fv for submit@debbugs.gnu.org; Tue, 10 Nov 2020 12:27:18 -0500 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:54612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcXQL-0000RW-C5 for 44454@debbugs.gnu.org; Tue, 10 Nov 2020 12:27:17 -0500 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0AAHK3EK031768; Tue, 10 Nov 2020 17:27:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=cFMaPixCo+QwOne+7ZW35ry9tZpixwroGKWvg5R3HG4=; b=MbzLrLaz6pYaf1weVtngqK6zYfFdmAGFOMY48OLoNtKtaOGKKcsS5CqBTvKO14bPZ3ev hVFFz10nhUBIoH6RhjlaF21wlKA7wOJWol+HSLmra3rdkLKj0i1NiQ7z4mKlBgEgwp1A D3GQZUnfqe75hBekLA/2XTTwe6yev4noCbNfTWOZnomQ8KfplUHhhU/50D0mxPGMP5ah DeReMKq+dv0uyQlR3ZNaRVaRoqbCKJmDbNz3p/IxiBDNW9TIAtByXyd/izDx6HmCKAZ0 Qaq1UHGDzv+Jtb1uYZjT5P9L3fyCnyl/QQRZKzemUry48ma2Rz+cOkGAEyHKGRUey+n5 jQ== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 34nkhkvund-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 10 Nov 2020 17:27:09 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0AAHOrjn151259; Tue, 10 Nov 2020 17:27:09 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3020.oracle.com with ESMTP id 34p5g0mn7y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 10 Nov 2020 17:27:08 +0000 Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0AAHR4iu031281; Tue, 10 Nov 2020 17:27:05 GMT In-Reply-To: <87o8k5iab4.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5071.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9801 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 spamscore=0 malwarescore=0 adultscore=0 phishscore=0 bulkscore=0 mlxlogscore=999 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011100123 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9801 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 priorityscore=1501 mlxscore=0 suspectscore=0 mlxlogscore=999 lowpriorityscore=0 spamscore=0 malwarescore=0 adultscore=0 clxscore=1015 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011100122 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" Xref: news.gmane.io gmane.emacs.bugs:193041 Archived-At: > > I have exactly this situation in my `Info' submenu > > `Toggle/Cycle'. For the toggle commands there, the > > toggle checkmark suffices to let you know the current > > (and hence the next) state/value. For cycle commands > > there's no way to know, except by actually cycling. >=20 > Makes sense to me. BTW, another way to consider this is to look for similarity with `help-echo'. Not that the two need to be similar, but that the use cases are the same or similar for the value to be evaluated rather than being restricted to a literal string. (Yes, there's nothing special about the evaluation for contexts where `help-echo' is used - it has nothing, per se, to do with `help-echo', which is just a property. And yes, for menus, using a FORM that gets evaluated (by the display engine, IIUC) is a bit special. But the use cases - the usefulness for users, is of the same order.)