X-Loop: help-debbugs@HIDDEN
Subject: bug#44454: 26.3; Enhancement request: let :help in menus take a FORM arg, i.e., be eval'd
Resent-From: Drew Adams <drew.adams@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 04 Nov 2020 21:37:02 +0000
Resent-Message-ID: <handler.44454.B.160452578815571 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 44454
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 44454 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.160452578815571
(code B ref -1); Wed, 04 Nov 2020 21:37:02 +0000
Received: (at submit) by debbugs.gnu.org; 4 Nov 2020 21:36:28 +0000
Received: from localhost ([127.0.0.1]:50810 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1kaQSC-000435-Fx
for submit <at> debbugs.gnu.org; Wed, 04 Nov 2020 16:36:28 -0500
Received: from lists.gnu.org ([209.51.188.17]:54704)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <drew.adams@HIDDEN>) id 1kaQS8-00042r-7B
for submit <at> debbugs.gnu.org; Wed, 04 Nov 2020 16:36:27 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:57444)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <drew.adams@HIDDEN>)
id 1kaQS8-0003hP-0D
for bug-gnu-emacs@HIDDEN; Wed, 04 Nov 2020 16:36:24 -0500
Received: from aserp2130.oracle.com ([141.146.126.79]:52594)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <drew.adams@HIDDEN>)
id 1kaQS5-0006f3-U5
for bug-gnu-emacs@HIDDEN; Wed, 04 Nov 2020 16:36:23 -0500
Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1])
by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0A4L9aOk087204
for <bug-gnu-emacs@HIDDEN>; Wed, 4 Nov 2020 21:36:20 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
h=mime-version :
message-id : date : from : sender : to : subject : content-type :
content-transfer-encoding; s=corp-2020-01-29;
bh=f9KzTssb6G9aXWzygelokYDrTb6B+YDA/xBM6hUEg5Q=;
b=idcxMRAQ5QpspDfsyHw8VumQzWEeEoLnYS/JoMy7NxtlzFWkJx/kYvsXOyiGf2t8BoSA
x9XmIpEFssgTv+5oUwlGqK1JZXShVqNWX9s32o/syMgt6C17YpXHu/FJwvBxJAgg3sYS
JQqRg8H4/sR78Nt9L48NEt0cgEaqGI/Df0TR1bfeHmUSyu4s6w9wF/pk4AS/+u00QnCa
gV76gTg6utq+C00ZDV+qwtDeBAtzfWa2pPcOsfJ9lREwDzRu6h1e2VWItGbjy44Uhtd3
5nRKg6DMEyTT9uthbniQvi+qdnOL7dHiiHJA7lWFm+PJuLMFC8GLpSMJiYNEHgDVjD0L oA==
Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70])
by aserp2130.oracle.com with ESMTP id 34hhb290yf-1
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL)
for <bug-gnu-emacs@HIDDEN>; Wed, 04 Nov 2020 21:36:20 +0000
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 0A4LAX0B091902
for <bug-gnu-emacs@HIDDEN>; Wed, 4 Nov 2020 21:34:19 GMT
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75])
by aserp3020.oracle.com with ESMTP id 34hw0kj5de-1
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
for <bug-gnu-emacs@HIDDEN>; Wed, 04 Nov 2020 21:34:19 +0000
Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20])
by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0A4LYIMp017802
for <bug-gnu-emacs@HIDDEN>; Wed, 4 Nov 2020 21:34:18 GMT
MIME-Version: 1.0
Message-ID: <93a9e82b-3799-492f-9632-dfe61db9a7dd@default>
Date: Wed, 4 Nov 2020 13:34:17 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL
16.0.5056.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9795
signatures=668682
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0
adultscore=0 bulkscore=0
mlxscore=0 suspectscore=1 spamscore=0 mlxlogscore=999 malwarescore=0
classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000
definitions=main-2011040154
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9795
signatures=668682
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0
phishscore=0 suspectscore=1
clxscore=1015 mlxlogscore=999 impostorscore=0 malwarescore=0
lowpriorityscore=0 adultscore=0 spamscore=0 priorityscore=1501 mlxscore=0
classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000
definitions=main-2011040154
Received-SPF: pass client-ip=141.146.126.79;
envelope-from=drew.adams@HIDDEN; helo=aserp2130.oracle.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/04 16:36:20
X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy]
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001,
DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)
Enhancement request:
In extended menu items and the easy-menu stuff, the value of :help must
be a literal string. Consider perhaps letting it be a FORM, i.e., have
it be evaluated, like :visible and :enable.
It would be backward compatible. If you use a sexp now the result is
that you just don't get any help echo.
In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.18362
Configured using:
`configure --without-dbus --host=3Dx86_64-w64-mingw32
--without-compress-install 'CFLAGS=3D-O2 -static -g3''
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Drew Adams <drew.adams@HIDDEN> Subject: bug#44454: Acknowledgement (26.3; Enhancement request: let :help in menus take a FORM arg, i.e., be eval'd) Message-ID: <handler.44454.B.160452578815571.ack <at> debbugs.gnu.org> References: <93a9e82b-3799-492f-9632-dfe61db9a7dd@default> X-Gnu-PR-Message: ack 44454 X-Gnu-PR-Package: emacs Reply-To: 44454 <at> debbugs.gnu.org Date: Wed, 04 Nov 2020 21:37:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 44454 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 44454: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D44454 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#44454: 26.3; Enhancement request: let :help in menus take a FORM arg, i.e., be eval'd
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 09 Nov 2020 16:03:01 +0000
Resent-Message-ID: <handler.44454.B44454.160493774031175 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44454
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Drew Adams <drew.adams@HIDDEN>
Cc: 44454 <at> debbugs.gnu.org
Received: via spool by 44454-submit <at> debbugs.gnu.org id=B44454.160493774031175
(code B ref 44454); Mon, 09 Nov 2020 16:03:01 +0000
Received: (at 44454) by debbugs.gnu.org; 9 Nov 2020 16:02:20 +0000
Received: from localhost ([127.0.0.1]:35298 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1kc9ca-00086W-2K
for submit <at> debbugs.gnu.org; Mon, 09 Nov 2020 11:02:20 -0500
Received: from quimby.gnus.org ([95.216.78.240]:43440)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <larsi@HIDDEN>) id 1kc9cY-00080G-CE
for 44454 <at> debbugs.gnu.org; Mon, 09 Nov 2020 11:02:18 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=0ovFmwHFMot96RJhV1IpH4zy0U8WDaZyUq8GRVdBDfQ=; b=hsl2KoWXKLbIH9H3cvZHKQMBjF
mgWlLRYtYL/Iv1Sqz2n59ddsh1W7OHbkmBeuZJ3BSojd7ptkzbCakOtHOZT1DVV1P5rjba/mzEW06
vBotDoV1ToLwYRR1AXEUIEE3zNXVFaiiNpDewyHc5S62F9ZNOnli4Z4iqEL79Cx5gPVY=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92) (envelope-from <larsi@HIDDEN>)
id 1kc9cN-0007hS-D0; Mon, 09 Nov 2020 17:02:11 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <93a9e82b-3799-492f-9632-dfe61db9a7dd@default>
X-Now-Playing: Irreversible Entanglements's _Irreversible Entanglements_:
"Chicago To Texas"
Date: Mon, 09 Nov 2020 17:02:05 +0100
In-Reply-To: <93a9e82b-3799-492f-9632-dfe61db9a7dd@default> (Drew Adams's
message of "Wed, 4 Nov 2020 13:34:17 -0800 (PST)")
Message-ID: <87v9eejz7m.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
@@CONTACT_ADDRESS@@ for details.
Content preview: Drew Adams <drew.adams@HIDDEN> writes: > Enhancement
request:
> > In extended menu items and the easy-menu stuff, the value of :help must
> be a literal string. Consider perhaps letting it be a FORM, i.e., have
> it be evaluated, like :vis [...]
Content analysis details: (-2.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Drew Adams <drew.adams@HIDDEN> writes:
> Enhancement request:
>
> In extended menu items and the easy-menu stuff, the value of :help must
> be a literal string. Consider perhaps letting it be a FORM, i.e., have
> it be evaluated, like :visible and :enable.
>
> It would be backward compatible. If you use a sexp now the result is
> that you just don't get any help echo.
:visible and :enable have to allow forms as values. What's the use case
for forms for :help elements?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
X-Loop: help-debbugs@HIDDEN
Subject: bug#44454: 26.3; Enhancement request: let :help in menus take a FORM arg, i.e., be eval'd
Resent-From: Drew Adams <drew.adams@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 09 Nov 2020 16:27:02 +0000
Resent-Message-ID: <handler.44454.B44454.160493919610175 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44454
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 44454 <at> debbugs.gnu.org
Received: via spool by 44454-submit <at> debbugs.gnu.org id=B44454.160493919610175
(code B ref 44454); Mon, 09 Nov 2020 16:27:02 +0000
Received: (at 44454) by debbugs.gnu.org; 9 Nov 2020 16:26:36 +0000
Received: from localhost ([127.0.0.1]:35368 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1kcA04-0002e2-AO
for submit <at> debbugs.gnu.org; Mon, 09 Nov 2020 11:26:36 -0500
Received: from aserp2120.oracle.com ([141.146.126.78]:45236)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <drew.adams@HIDDEN>) id 1kcA02-0002do-JA
for 44454 <at> debbugs.gnu.org; Mon, 09 Nov 2020 11:26:35 -0500
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 0A9GNigM004161;
Mon, 9 Nov 2020 16:26:28 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=lTYoO5jh3wkCZuVa7zepv3cX3HMnkC0qLRfZ798bn2o=;
b=yvhGCEj+okb+CcbmqsmzDwz9MLMo3DLflPiw1jm7g2j4uYn0D1UjU+AhfvKjiWyxHUOu
TaAtjodn8STW3lg/esSTQVJlEyKNZ6L1lNVZzYrTwQP/l1Lmw+VYacgHzAjZf3D4ec2+
wM1AbU2vUYps25J7w0KpKXO2f4HLgCAD/z1opnf4Ar7rMQkdkgIQJFx8wI0hi44qiG8P
WUKtVz/yFuOdStdVN0ZcS68ELMuRe8B5rSGdmRx5BB6TGtMgw/BqM+/otuRv3w/1jjon
B9LuctT37SLaewNoAdnWtQCDGuDJ+rBUrHiTpVvuSRos/W/998x0ngc9KqgkU5u42Bj4 RA==
Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79])
by aserp2120.oracle.com with ESMTP id 34nkhkpuqs-1
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL);
Mon, 09 Nov 2020 16:26:28 +0000
Received: from pps.filterd (userp3020.oracle.com [127.0.0.1])
by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0A9GL1Uq105995;
Mon, 9 Nov 2020 16:26:27 GMT
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235])
by userp3020.oracle.com with ESMTP id 34p5bqqgvq-1
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
Mon, 09 Nov 2020 16:26:27 +0000
Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10])
by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 0A9GQQq5017407;
Mon, 9 Nov 2020 16:26:26 GMT
MIME-Version: 1.0
Message-ID: <ea9fd587-4403-41b1-9d5e-ee7e89fc0269@default>
Date: Mon, 9 Nov 2020 08:26:25 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
References: <93a9e82b-3799-492f-9632-dfe61db9a7dd@default>
<87v9eejz7m.fsf@HIDDEN>
In-Reply-To: <87v9eejz7m.fsf@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL
16.0.5071.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9800
signatures=668682
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0
malwarescore=0
phishscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0
mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1
engine=8.12.0-2009150000 definitions=main-2011090113
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9800
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=1011 bulkscore=0 impostorscore=0
classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000
definitions=main-2011090113
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> :visible and :enable have to allow forms as values. What's the use case
> for forms for :help elements?
Same purpose as :visible and :enable:
To be able to change the help echo depending on the
current context. The command for the menu item can
have different behaviors, depending on the context.
The help echo could let you know about this.
For example, the help echo for a command that cycles
some setting/value could let you know what the
current value is or what the next one will be if you
choose that menu item - let you know what will happen.
Just as :visible and :enable let you know whether a
command is currently available, so could :help let
you know what its behavior will be.
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.
___
(Dare I ask if there's some reason that :help cannot
or shouldn't accept a FORM to evaluate? Will I be
denounced again for including a question "Why not?"?
You have the "why" above. But I'd anyway like to know
what it is, if there's a good answer to "why not?".)
X-Loop: help-debbugs@HIDDEN
Subject: bug#44454: 26.3; Enhancement request: let :help in menus take a FORM arg, i.e., be eval'd
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 10 Nov 2020 13:58:01 +0000
Resent-Message-ID: <handler.44454.B44454.160501666627957 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44454
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Drew Adams <drew.adams@HIDDEN>
Cc: 44454 <at> debbugs.gnu.org
Received: via spool by 44454-submit <at> debbugs.gnu.org id=B44454.160501666627957
(code B ref 44454); Tue, 10 Nov 2020 13:58:01 +0000
Received: (at 44454) by debbugs.gnu.org; 10 Nov 2020 13:57:46 +0000
Received: from localhost ([127.0.0.1]:36799 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1kcU9a-0007Gr-3R
for submit <at> debbugs.gnu.org; Tue, 10 Nov 2020 08:57:46 -0500
Received: from quimby.gnus.org ([95.216.78.240]:53558)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <larsi@HIDDEN>) id 1kcU9Y-0007Ga-Tx
for 44454 <at> debbugs.gnu.org; Tue, 10 Nov 2020 08:57:45 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=Z0xil7zfQyq9fTspQaJ52oZRatq5SS2nwZJJwsr+W9k=; b=DkomMBQm7QcNtkNjoeFzA8wIBx
QMadrfO/H06nfjKyc+pidH79P2kAz0naB7qVCd18VP9+1p7XnJq1x9MzIrcz+QDcUdZJ4jrxjDBOD
6teEvLpRRwBAuq6lidTdQ8FXtcfX3+kWcL8AK1pbrLHzPZ81Xqc8VRkJdAtR/JBiw8Cw=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92) (envelope-from <larsi@HIDDEN>)
id 1kcU9Q-0002ua-BR; Tue, 10 Nov 2020 14:57:38 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <93a9e82b-3799-492f-9632-dfe61db9a7dd@default>
<87v9eejz7m.fsf@HIDDEN>
<ea9fd587-4403-41b1-9d5e-ee7e89fc0269@default>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj
SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEX0zt4+Fxy+LUT/
///9z/9xAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+QLCg04D9aUEHgAAAGISURBVCjPdZHBattAEIZH
ghSkUyj1oT2FUpd2n8Lk1psI+gd5T25Apdqn2AZ88akH75LqpIbISPOUnZWd9tSBhfl2Zn52/yHK
8IU7YEclEV2hxX2NirzCG4WH58/Vjeb0Glc4HE3YJVijaObmCalLZ2aWYw6fWVI1sGMJw4qJ8q7l
X1FGwBEdM7C431oXKup8y4IZe6fQ5HoXQ0MilHEBiG0tiVFIoxF1qmgTnERtNULkRIMVUkWWCAoD
lSLzdxMCRDwZBWcV3ECqIQ8/XZgK+3yGsWNv7DGBz+F4ChYKLD5wSGeTYHpr47BSf8j0Iu8ChoAN
JemDjM4n55JaqRADbhNM61Ps70KyR58XELtLmy+wdaeM0SQw6gXva9hFYA3LsQIvsOoqDhXSc6T8
9rFqsVsqUxn7x4jboFB6E/iecbev0xr0z45Rz8uCTDG6U1juNYq2xPa8Ux2rD/3XXbY5w7X0PzbX
S569em/kyV9myg/9+HjJ1eGpaF6A1OWbv2A8/YtP9D94iT/nZLdobfnZ0AAAACV0RVh0ZGF0ZTpj
cmVhdGUAMjAyMC0xMS0xMFQxMzo1NjoxNSswMDowMPuhaCsAAAAldEVYdGRhdGU6bW9kaWZ5ADIw
MjAtMTEtMTBUMTM6NTY6MTUrMDA6MDCK/NCXAAAAAElFTkSuQmCC
X-Now-Playing: Machinedrum's _Cached_: "Jigga Why? (Beat 5)"
Date: Tue, 10 Nov 2020 14:57:35 +0100
In-Reply-To: <ea9fd587-4403-41b1-9d5e-ee7e89fc0269@default> (Drew Adams's
message of "Mon, 9 Nov 2020 08:26:25 -0800 (PST)")
Message-ID: <87o8k5iab4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
@@CONTACT_ADDRESS@@ for details.
Content preview: Drew Adams <drew.adams@HIDDEN> writes: > 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. Fo [...]
Content analysis details: (-2.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Drew Adams <drew.adams@HIDDEN> writes:
> 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.
Makes sense to me.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.