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: Wed, 4 Nov 2020 13:34:17 -0800 (PST) Message-ID: <93a9e82b-3799-492f-9632-dfe61db9a7dd@default> 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="32233"; mail-complaints-to="usenet@ciao.gmane.io" To: 44454@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 04 22:37:12 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 1kaQSs-0008Fx-NL for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Nov 2020 22:37:10 +0100 Original-Received: from localhost ([::1]:37724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kaQSr-0003l3-AV for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Nov 2020 16:37:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaQSk-0003ko-IB for bug-gnu-emacs@gnu.org; Wed, 04 Nov 2020 16:37:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39264) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kaQSk-0006hz-8k for bug-gnu-emacs@gnu.org; Wed, 04 Nov 2020 16:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kaQSk-000440-5s for bug-gnu-emacs@gnu.org; Wed, 04 Nov 2020 16:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Nov 2020 21:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44454 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160452578815571 (code B ref -1); Wed, 04 Nov 2020 21:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Nov 2020 21:36:28 +0000 Original-Received: from localhost ([127.0.0.1]:50810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kaQSC-000435-Fx for submit@debbugs.gnu.org; Wed, 04 Nov 2020 16:36:28 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:54704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kaQS8-00042r-7B for submit@debbugs.gnu.org; Wed, 04 Nov 2020 16:36:27 -0500 Original-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 ) id 1kaQS8-0003hP-0D for bug-gnu-emacs@gnu.org; Wed, 04 Nov 2020 16:36:24 -0500 Original-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 ) id 1kaQS5-0006f3-U5 for bug-gnu-emacs@gnu.org; Wed, 04 Nov 2020 16:36:23 -0500 Original-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 ; 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== Original-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 ; Wed, 04 Nov 2020 21:36:20 +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 0A4LAX0B091902 for ; Wed, 4 Nov 2020 21:34:19 GMT Original-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 ; Wed, 04 Nov 2020 21:34:19 +0000 Original-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 ; Wed, 4 Nov 2020 21:34:18 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5056.0 (x86)] 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@oracle.com; 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-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:192687 Archived-At: 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''