From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 28 12:03:31 2013 Received: (at submit) by debbugs.gnu.org; 28 Feb 2013 17:03:31 +0000 Received: from localhost ([127.0.0.1]:56439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UB6tH-0003Kg-7R for submit@debbugs.gnu.org; Thu, 28 Feb 2013 12:03:31 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58260) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UB6tE-0003KW-4Z for submit@debbugs.gnu.org; Thu, 28 Feb 2013 12:03:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UB6rF-0003cP-Dn for submit@debbugs.gnu.org; Thu, 28 Feb 2013 12:01:30 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-104.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:54609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UB6rF-0003cI-Bk for submit@debbugs.gnu.org; Thu, 28 Feb 2013 12:01:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UB6r9-0001NY-8R for bug-gnu-emacs@gnu.org; Thu, 28 Feb 2013 12:01:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UB6r2-0003Y5-Pk for bug-gnu-emacs@gnu.org; Thu, 28 Feb 2013 12:01:19 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:31085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UB6r2-0003Y1-J7 for bug-gnu-emacs@gnu.org; Thu, 28 Feb 2013 12:01:12 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r1SH1Bx0014381 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 28 Feb 2013 17:01:11 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r1SH1APL011912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 28 Feb 2013 17:01:10 GMT Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r1SH1AcN013285 for ; Thu, 28 Feb 2013 11:01:10 -0600 Received: from dradamslap1 (/130.35.178.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 28 Feb 2013 09:01:09 -0800 From: "Drew Adams" To: Subject: 24.3.50; Regression - unreadable `C-h k' help Date: Thu, 28 Feb 2013 09:01:09 -0800 Message-ID: <98E304F5436E487A91B33E89A04A5851@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac4V1TRVmrqReakNQQefcrsDhiz7vw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) emacs -Q C-h k Then choose menu item Options > Line Wrapping in This Buffer > Truncate Long Lines. You see binary output instead of useful help: runs the command #[nil "ILLEGIBLE, INCOMPREHENSIBLE BINARY INCANTATIONS" [visual-line-mode word-wrap 0 nil toggle-truncate-lines 1] 2 nil nil], which is an interactive compiled Lisp function. It is bound to . (anonymous) Not documented. For reference wrt this regression, this is what Emacs 23.4 shows instead - much more readable and helpful: runs the command (lambda nil (interactive) (if visual-line-mode (visual-line-mode 0)) (setq word-wrap nil) (toggle-truncate-lines 1)), which is an interactive Lisp function. It is bound to . (anonymous) Not documented. In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600) of 2013-02-25 on ODIEONE Bzr revision: 111879 yamaoka@jpl.org-20130225224731-cv9gznq5nqf3ei7g Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.7) --no-opt --enable-checking --cflags -IC:/Devel/emacs/build/include --ldflags -LC:/Devel/emacs/build/lib' From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 10 02:33:21 2014 Received: (at 13841) by debbugs.gnu.org; 10 Feb 2014 07:33:21 +0000 Received: from localhost ([127.0.0.1]:33875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WClMm-0003Oc-AE for submit@debbugs.gnu.org; Mon, 10 Feb 2014 02:33:21 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:37926) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WClMj-0003OS-AQ for 13841@debbugs.gnu.org; Mon, 10 Feb 2014 02:33:18 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WClMS-0000fj-4H; Mon, 10 Feb 2014 08:33:00 +0100 From: Lars Ingebrigtsen To: "Drew Adams" Subject: Re: bug#13841: 24.3.50; Regression - unreadable `C-h k' help References: <98E304F5436E487A91B33E89A04A5851@us.oracle.com> Date: Sun, 09 Feb 2014 23:31:46 -0800 In-Reply-To: <98E304F5436E487A91B33E89A04A5851@us.oracle.com> (Drew Adams's message of "Thu, 28 Feb 2013 09:01:09 -0800") Message-ID: <87sirr1l0d.fsf@building.gnus.org> User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1WClMS-0000fj-4H X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392622383.37546@S60pOjDauIjhU73NNkO6SQ X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13841 Cc: 13841@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) "Drew Adams" writes: > C-h k > > Then choose menu item Options > Line Wrapping in This Buffer > Truncate > Long Lines. > > You see binary output instead of useful help: > > runs the command #[nil > "ILLEGIBLE, INCOMPREHENSIBLE BINARY INCANTATIONS" [visual-line-mode > word-wrap 0 nil toggle-truncate-lines 1] 2 nil nil], which is an > interactive compiled Lisp function. > > It is bound to . > > (anonymous) > > Not documented. > > For reference wrt this regression, this is what Emacs 23.4 shows > instead - much more readable and helpful: > > runs the command > (lambda nil (interactive) (if visual-line-mode (visual-line-mode 0)) > (setq word-wrap nil) (toggle-truncate-lines 1)), which is an > interactive Lisp function. > > It is bound to . Perhaps that's just because it didn't byte-compile the function? So we're making progress. Anyway, if we put lambdas into menus, `C-h k' isn't very helpful: (bindings--define-key menu [truncate] `(menu-item "Truncate Long Lines" ,(lambda () (interactive) (if visual-line-mode (visual-line-mode 0)) (setq word-wrap nil) (toggle-truncate-lines 1)) :help "Truncate long lines at window edge" :button (:radio . (or truncate-lines (truncated-partial-width-window-p))) :visible (menu-bar-menu-frame-live-and-visible-p) :enable (not (truncated-partial-width-window-p)))) I think the right solution here would be for `C-h k' just to say that it's an anonymous function and leave it at that. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 18:38:03 2016 Received: (at 13841) by debbugs.gnu.org; 28 Apr 2016 22:38:03 +0000 Received: from localhost ([127.0.0.1]:53673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avuZL-00076j-Ve for submit@debbugs.gnu.org; Thu, 28 Apr 2016 18:38:03 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:38568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avuZH-00076X-34 for 13841@debbugs.gnu.org; Thu, 28 Apr 2016 18:37:58 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1avuZC-0001CI-6u; Fri, 29 Apr 2016 00:37:54 +0200 From: Lars Ingebrigtsen To: "Drew Adams" Subject: Re: bug#13841: 24.3.50; Regression - unreadable `C-h k' help References: <98E304F5436E487A91B33E89A04A5851@us.oracle.com> <87sirr1l0d.fsf@building.gnus.org> Date: Fri, 29 Apr 2016 00:37:48 +0200 In-Reply-To: <87sirr1l0d.fsf@building.gnus.org> (Lars Ingebrigtsen's message of "Sun, 09 Feb 2014 23:31:46 -0800") Message-ID: <87h9el2wcj.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13841 Cc: 13841@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Lars Ingebrigtsen writes: > I think the right solution here would be for `C-h k' just to say that > it's an anonymous function and leave it at that. Or perhaps it should just do this with byte-compiled functions. Anyway, here's a test case: (key-binding [(menu-bar) options line-wrapping word-wrap] t) => #[nil "\204\300\301!\210\302\303!\207" [visual-line-mode 1 message "Visual-Line mode enabled"] 2 nil nil] The binary bit, at least, is probably not something we want to show to the user. But the rest? It might help with chasing down code, which is what I often use `C-h k' for... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 29 12:22:27 2016 Received: (at 13841) by debbugs.gnu.org; 29 Apr 2016 16:22:27 +0000 Received: from localhost ([127.0.0.1]:55600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awBBP-0002z9-99 for submit@debbugs.gnu.org; Fri, 29 Apr 2016 12:22:26 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:24341) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awBBK-0002yu-RY for 13841@debbugs.gnu.org; Fri, 29 Apr 2016 12:22:22 -0400 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u3TGMD92029336 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 29 Apr 2016 16:22:13 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u3TGMCHs000827 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 29 Apr 2016 16:22:13 GMT Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u3TGMAKU030804; Fri, 29 Apr 2016 16:22:11 GMT MIME-Version: 1.0 Message-ID: Date: Fri, 29 Apr 2016 09:22:08 -0700 (PDT) From: Drew Adams To: Lars Ingebrigtsen Subject: RE: bug#13841: 24.3.50; Regression - unreadable `C-h k' help References: <98E304F5436E487A91B33E89A04A5851@us.oracle.com> <87sirr1l0d.fsf@building.gnus.org> <87h9el2wcj.fsf@gnus.org> In-Reply-To: <87h9el2wcj.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 13841 Cc: 13841@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Lars Ingebrigtsen writes: >=20 > > I think the right solution here would be for `C-h k' just to say that > > it's an anonymous function and leave it at that. >=20 > Or perhaps it should just do this with byte-compiled functions. > Anyway, here's a test case: [...]=20 > The binary bit, at least, is probably not something we want to show to > the user. But the rest? It might help with chasing down code, which is > what I often use `C-h k' for... This is a REGRESSION. With Emacs 23.4, emacs -Q C-h k, same recipe, you see this: runs the command (lambda nil (interactive) (if visual-line-mode (visual-line-mode 0)) (setq word-wrap nil) (toggle-truncate-lines 1)), which is an interactive Lisp function. It is bound to . (anonymous) Not documented. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 30 07:47:15 2016 Received: (at 13841) by debbugs.gnu.org; 30 Apr 2016 11:47:15 +0000 Received: from localhost ([127.0.0.1]:56417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awTMh-0002xm-Kv for submit@debbugs.gnu.org; Sat, 30 Apr 2016 07:47:15 -0400 Received: from mout.web.de ([212.227.15.14]:50806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awTMf-0002xZ-Pq for 13841@debbugs.gnu.org; Sat, 30 Apr 2016 07:47:14 -0400 Received: from drachen.dragon ([94.217.122.112]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0MKr7w-1awTMR2ZlY-0002jt; Sat, 30 Apr 2016 13:46:59 +0200 From: Michael Heerdegen To: Drew Adams Subject: Re: bug#13841: 24.3.50; Regression - unreadable `C-h k' help References: <98E304F5436E487A91B33E89A04A5851@us.oracle.com> <87sirr1l0d.fsf@building.gnus.org> <87h9el2wcj.fsf@gnus.org> Date: Sat, 30 Apr 2016 13:46:57 +0200 In-Reply-To: (Drew Adams's message of "Fri, 29 Apr 2016 09:22:08 -0700 (PDT)") Message-ID: <87inyze2tq.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:tAvgAXZp9y9CTG8q6Qsvud8bXkwDTF0R+m7yGtIY5Le0fugfQ/r GfwMRxYWG27293GfkLGhPle0Uh88WpTm99TFDeF7a01XPHrKzy1TRZiBHTTIe4MneRGSQA+ nVRsUZ8zlkwDbkxqJ3QmMXsA6UCT1H3QlBlWbiTMQMfeUArwDDD86g8LJNc1FaNH6MPmAU/ m0DrJ4esgR+P/+0uY75aQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:mPsJiBoForM=:G3ImI47F1cbtg/8tpeeF5P WUjcBXgJmEPvoWoQIEZf4JPC2MiAL0jsldPS9z7uRHG+DJ/hkdFLBpfU57AnHmIGbWtFUa88c EJJTIYxCH+INpOTIJxRSnwMPRwNaXgTSFbJzT1hwCGWmWk4vXyRpzVEJBRo4bB/xiJTgoVrYI 2SBHjfXBNHg603mUJUU/AGfjvkoHwv2YAbg5InjPSAXi0ctVIorIrcyyfUUvnsRZhIIw1TB4d GE6Miqq8KrZnxnEkIYhNTlPoHY/LhHo1cKmz3nDsanXbR2LzzLEj+VDnQ6SsNBoA+l/3DVdaH KlHMTQ6dRpXqFnDy/mDMp0fIdHdKgIz0+wZMNEcRQiKdeRGxC21KTQV0I6h4zeec4qJjXaOBq Cj1anb+KFmQlY+HJK1sYmWgC1mwTQLRvvKmG9JSgFT/apHjwhErbjALxbiPefEcL71utSUX9t vVT2O5k15D4yttuCe7tK99waEx7fjAKYtd1eqAzgqXaB1wuU/1/qFHVJm3/j5bqzFy1iPk43X qzASYyRGrKXaybWj98LUC9uHAXXaXwJk3uvTaDkbLanPOQFnHMcVk9fXLPq7PAH7j4KXyUZNX pSJ5kLXRh5oQtuutg4XamP7mjo0BuzPCFwvmRcJa9LSywDczZscGJd0fXLBjbPB1+f3s+f79K y1eKExqsO5FoJO5zBmUsYM9r8WIJqZvqSvMIQmTp10+hXoenFJ/Lz/pGgIwpg0UUuEiTgMCJW HvuQHqDjGrUuzPnRX2lyxVffAHgdMOBMCUcvA7NTCLi8gX7TuUIIaYPbgaWLa4kfOUqnTKWfO C8T1Sba X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: 13841 Cc: Lars Ingebrigtsen , 13841@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Drew Adams writes: > This is a REGRESSION. With Emacs 23.4, emacs -Q C-h k, same > recipe, you see this: The difference to newer Emacsen is that this menu command had been a quoted lambda in Emacs 23 (that didn't get compiled), and has been unquoted since then (good!). So I guess it's not a regression since 23.4. Michael. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 30 11:38:02 2016 Received: (at 13841) by debbugs.gnu.org; 30 Apr 2016 15:38:02 +0000 Received: from localhost ([127.0.0.1]:57961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awWy1-0005a7-Qb for submit@debbugs.gnu.org; Sat, 30 Apr 2016 11:38:02 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:51047) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awWy0-0005Zk-Oj for 13841@debbugs.gnu.org; Sat, 30 Apr 2016 11:38:01 -0400 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u3UFbqRj004815 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 30 Apr 2016 15:37:53 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u3UFbqPQ007248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 30 Apr 2016 15:37:52 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u3UFbpiI006397; Sat, 30 Apr 2016 15:37:52 GMT MIME-Version: 1.0 Message-ID: <4e02c2a0-6e68-4091-a64d-131bcfc2fc49@default> Date: Sat, 30 Apr 2016 07:37:50 -0800 (GMT-08:00) From: Drew Adams To: Michael Heerdegen Subject: RE: bug#13841: 24.3.50; Regression - unreadable `C-h k' help References: <98E304F5436E487A91B33E89A04A5851@us.oracle.com> <87sirr1l0d.fsf@building.gnus.org> <87h9el2wcj.fsf@gnus.org> <87inyze2tq.fsf@web.de> In-Reply-To: <87inyze2tq.fsf@web.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0022.oracle.com [156.151.31.74] X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 13841 Cc: Lars Ingebrigtsen , 13841@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > > This is a REGRESSION. With Emacs 23.4, emacs -Q C-h k, same > > recipe, you see this: >=20 > The difference to newer Emacsen is that this menu command had been a > quoted lambda in Emacs 23 (that didn't get compiled), and has been > unquoted since then (good!). So I guess it's not a regression since > 23.4. Not sure what you're saying about when or whether a regression was introduced. In fact, this is a regression that was introduced in Emacs 24.3 (probably you meant that, not 23.4). In 24.2 and prior there was no such problem. Sure, it is a good thing in general that code gets byte-compiled. That doesn't mean that everything is better, and this is one downside to simply replacing (in effect) source code with byte code. A big advantage of Emacs and its use of Lisp is seeing into and manipulating, at runtime, the programs that underlie the behavior. Simply replacing (in effect) source code with byte code works against that introspection (whether by people or by program). If byte-compiling is going to be done in such an automatic, blanket way, then perhaps a pointer needs to be kept to the source code, for uses such as this. In this particular case, at least, showing users byte code is not helpful. I hope we can all agree on that, at least. And in this particular case, at least, a simple fix should be to use a named function and not an anonymous one (in `menu-bar-line-wrapping-menu'). But a more general solution should be sought to the various problems introduced by the aggressive/eager byte-compiling that is the underlying cause of this regression. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 30 11:53:23 2016 Received: (at 13841) by debbugs.gnu.org; 30 Apr 2016 15:53:23 +0000 Received: from localhost ([127.0.0.1]:58016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awXCq-0007hi-0w for submit@debbugs.gnu.org; Sat, 30 Apr 2016 11:53:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awXCl-0007hP-3t for 13841@debbugs.gnu.org; Sat, 30 Apr 2016 11:53:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awXCW-0004qU-9m for 13841@debbugs.gnu.org; Sat, 30 Apr 2016 11:53:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awXCW-0004pP-4l; Sat, 30 Apr 2016 11:53:00 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1841 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1awXCO-0000p5-R4; Sat, 30 Apr 2016 11:52:53 -0400 Date: Sat, 30 Apr 2016 18:52:50 +0300 Message-Id: <83wpnfnlf1.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: <4e02c2a0-6e68-4091-a64d-131bcfc2fc49@default> (message from Drew Adams on Sat, 30 Apr 2016 07:37:50 -0800 (GMT-08:00)) Subject: Re: bug#13841: 24.3.50; Regression - unreadable `C-h k' help References: <98E304F5436E487A91B33E89A04A5851@us.oracle.com> <87sirr1l0d.fsf@building.gnus.org> <87h9el2wcj.fsf@gnus.org> <87inyze2tq.fsf@web.de> <4e02c2a0-6e68-4091-a64d-131bcfc2fc49@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 13841 Cc: michael_heerdegen@web.de, larsi@gnus.org, 13841@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Sat, 30 Apr 2016 07:37:50 -0800 (GMT-08:00) > From: Drew Adams > Cc: Lars Ingebrigtsen , 13841@debbugs.gnu.org > > > > This is a REGRESSION. With Emacs 23.4, emacs -Q C-h k, same > > > recipe, you see this: > > > > The difference to newer Emacsen is that this menu command had been a > > quoted lambda in Emacs 23 (that didn't get compiled), and has been > > unquoted since then (good!). So I guess it's not a regression since > > 23.4. > > Not sure what you're saying about when or whether a regression > was introduced. > > In fact, this is a regression that was introduced in Emacs 24.3 > (probably you meant that, not 23.4). In 24.2 and prior there > was no such problem. Of course, there was a problem! Showing users a bunch of convoluted Lisp when they ask what a key does is plain usability bug! It doesn't matter whether that Lisp is compiled or not, it's no way of _helping_ the user understand what the function does. If you don't mind the Lisp form, you shouldn't mind the byte-compiled form, either. And if you cannot read bytecode, you can disassemble it, then it should be as crystal-clear to you as the Emacs 23 vintage result. > And in this particular case, at least, a simple fix should > be to use a named function and not an anonymous one (in > `menu-bar-line-wrapping-menu'). Indeed. And in any other case like this. So let's stop talking about "regressions", and start talking about the real problem here. Which also suggests an easy solution. > But a more general solution should be sought to the various > problems introduced by the aggressive/eager byte-compiling > that is the underlying cause of this regression. A more general solution is not to have lambda functions hang on keys and mouse clicks. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 30 13:20:48 2016 Received: (at 13841) by debbugs.gnu.org; 30 Apr 2016 17:20:48 +0000 Received: from localhost ([127.0.0.1]:58225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awYZT-0003Gb-U7 for submit@debbugs.gnu.org; Sat, 30 Apr 2016 13:20:48 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:30548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awYZT-0003GL-4v for 13841@debbugs.gnu.org; Sat, 30 Apr 2016 13:20:47 -0400 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u3UHKedt003548 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 30 Apr 2016 17:20:41 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u3UHKesv013133 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 30 Apr 2016 17:20:40 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u3UHKd4S003683; Sat, 30 Apr 2016 17:20:39 GMT MIME-Version: 1.0 Message-ID: Date: Sat, 30 Apr 2016 09:20:38 -0800 (GMT-08:00) From: Drew Adams To: Eli Zaretskii , Drew Adams Subject: RE: bug#13841: 24.3.50; Regression - unreadable `C-h k' help References: <<98E304F5436E487A91B33E89A04A5851@us.oracle.com> <87sirr1l0d.fsf@building.gnus.org>> <<87h9el2wcj.fsf@gnus.org> > <<87inyze2tq.fsf@web.de>> <<4e02c2a0-6e68-4091-a64d-131bcfc2fc49@default>> <<83wpnfnlf1.fsf@gnu.org>> In-Reply-To: <<83wpnfnlf1.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0021.oracle.com [156.151.31.71] X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 13841 Cc: michael_heerdegen@web.de, larsi@gnus.org, 13841@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > If you don't mind the Lisp form, you shouldn't mind the byte-compiled > form, either. Excuse me, but this is sheer nonsense. I find it really hard to believe that you are saying such a thing, Eli. You who care so much about reasonably understandable messages and doc for users. Emacs users often (perhaps usually) read straightforward Lisp code. They do not read byte-code (except for rare exceptions - perhaps). Source code is intended to be read by humans. Compiled code, not so much. > And if you cannot read bytecode, you can disassemble > it, then it should be as crystal-clear to you as the Emacs 23 vintage > result. Wunderbar. That's what you want to offer users, as opposed to fixing this bug. Just tell them, when they see gibberish from `C-h f' that this is no bug but Emacs doing everything it can to help them. ALL THEY NEED TO DO, to decipher the gibberish, is to disassemble it. Sheesh. Really hard to believe this. > > And in this particular case, at least, a simple fix should > > be to use a named function and not an anonymous one (in > > `menu-bar-line-wrapping-menu'). >=20 > Indeed. And in any other case like this. >=20 > So let's stop talking about "regressions", and start talking about the > real problem here. Which also suggests an easy solution. Well, it is a regression. But if you don't want to talk about it, then don't(!) - please just fix it. > > But a more general solution should be sought to the various > > problems introduced by the aggressive/eager byte-compiling > > that is the underlying cause of this regression. >=20 > A more general solution is not to have lambda functions hang on keys > and mouse clicks. That's not a more general solution to aggressive/eager byte-compiling. That's the same "easy solution" that we should apply to fixing this regression. But that's all we need, to close this particular bug. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 30 13:30:30 2016 Received: (at 13841) by debbugs.gnu.org; 30 Apr 2016 17:30:30 +0000 Received: from localhost ([127.0.0.1]:58241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awYio-0003t9-IR for submit@debbugs.gnu.org; Sat, 30 Apr 2016 13:30:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awYij-0003k7-Og for 13841@debbugs.gnu.org; Sat, 30 Apr 2016 13:30:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awYiV-0002Nv-D8 for 13841@debbugs.gnu.org; Sat, 30 Apr 2016 13:30:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awYiV-0002KW-9Q; Sat, 30 Apr 2016 13:30:07 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1939 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1awYiM-0005NS-R7; Sat, 30 Apr 2016 13:29:59 -0400 Date: Sat, 30 Apr 2016 20:29:56 +0300 Message-Id: <83inyzngx7.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: (message from Drew Adams on Sat, 30 Apr 2016 09:20:38 -0800 (GMT-08:00)) Subject: Re: bug#13841: 24.3.50; Regression - unreadable `C-h k' help References: <<98E304F5436E487A91B33E89A04A5851@us.oracle.com> <87sirr1l0d.fsf@building.gnus.org>> <<87h9el2wcj.fsf@gnus.org> > <<87inyze2tq.fsf@web.de>> <<4e02c2a0-6e68-4091-a64d-131bcfc2fc49@default>> <<83wpnfnlf1.fsf@gnu.org>> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 13841 Cc: michael_heerdegen@web.de, larsi@gnus.org, 13841@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Sat, 30 Apr 2016 09:20:38 -0800 (GMT-08:00) > From: Drew Adams > Cc: michael_heerdegen@web.de, larsi@gnus.org, 13841@debbugs.gnu.org > > > If you don't mind the Lisp form, you shouldn't mind the byte-compiled > > form, either. > > Excuse me, but this is sheer nonsense. I find it really > hard to believe that you are saying such a thing, Eli. > You who care so much about reasonably understandable > messages and doc for users. Lisp code is not documentation. I find it really hard to believe you are saying such a thing, after filing so many bug reports about unclear and unusable documentation. > Emacs users often (perhaps usually) read straightforward > Lisp code. They do not read byte-code (except for rare > exceptions - perhaps). They should read neither as documentation. > Source code is intended to be read by humans. Compiled > code, not so much. But neither is documentation. > > And if you cannot read bytecode, you can disassemble > > it, then it should be as crystal-clear to you as the Emacs 23 vintage > > result. > > Wunderbar. That's what you want to offer users, as > opposed to fixing this bug. No, I'm saying that we should not show code as documentation. > > A more general solution is not to have lambda functions hang on keys > > and mouse clicks. > > That's not a more general solution to aggressive/eager > byte-compiling. Yes, it is. If no code is show as documentation, aggressive/eager byte-compiling will hurt no one. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 30 14:11:17 2016 Received: (at control) by debbugs.gnu.org; 30 Apr 2016 18:11:17 +0000 Received: from localhost ([127.0.0.1]:58279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awZMK-00068P-R6 for submit@debbugs.gnu.org; Sat, 30 Apr 2016 14:11:16 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:59215) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awZMJ-00068I-Tw for control@debbugs.gnu.org; Sat, 30 Apr 2016 14:11:16 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1awZMH-0005Fy-Qa for control@debbugs.gnu.org; Sat, 30 Apr 2016 20:11:15 +0200 Date: Sat, 30 Apr 2016 20:11:12 +0200 Message-Id: <87bn4rezlr.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #20157 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) forcemerge 20157 13841 From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 30 14:14:33 2016 Received: (at 13841) by debbugs.gnu.org; 30 Apr 2016 18:14:34 +0000 Received: from localhost ([127.0.0.1]:58294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awZPV-0006EH-Mr for submit@debbugs.gnu.org; Sat, 30 Apr 2016 14:14:33 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:37762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awZPU-0006E2-8u for 13841@debbugs.gnu.org; Sat, 30 Apr 2016 14:14:32 -0400 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u3UIEPYZ004292 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 30 Apr 2016 18:14:26 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u3UIEP3X026459 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 30 Apr 2016 18:14:25 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u3UIEOVF018952; Sat, 30 Apr 2016 18:14:24 GMT MIME-Version: 1.0 Message-ID: <057bdf6b-fa05-4dba-a129-841c96cddbdf@default> Date: Sat, 30 Apr 2016 10:14:22 -0800 (GMT-08:00) From: Drew Adams To: Eli Zaretskii , Drew Adams Subject: RE: bug#13841: 24.3.50; Regression - unreadable `C-h k' help References: <<<98E304F5436E487A91B33E89A04A5851@us.oracle.com> <87sirr1l0d.fsf@building.gnus.org>>> <<<87h9el2wcj.fsf@gnus.org> >> <<<87inyze2tq.fsf@web.de>>> <<<4e02c2a0-6e68-4091-a64d-131bcfc2fc49@default>>> <<<83wpnfnlf1.fsf@gnu.org>>> <> <<83inyzngx7.fsf@gnu.org>> In-Reply-To: <<83inyzngx7.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0022.oracle.com [156.151.31.74] X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 13841 Cc: michael_heerdegen@web.de, larsi@gnus.org, 13841@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) I agree that user help should show documentation, not just Lisp code. But certainly - far more important - not byte code. The fix for this bug (and any that are similar) is to use a named function with a doc string. I think (hope) we agree about that. (We can disagree that if a user can read Lisp source code then s?he should be able to also read byte code, or she is just as likely to be able to do that.) From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 30 16:04:23 2016 Received: (at control) by debbugs.gnu.org; 30 Apr 2016 20:04:23 +0000 Received: from localhost ([127.0.0.1]:58502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awb7n-0003dO-LB for submit@debbugs.gnu.org; Sat, 30 Apr 2016 16:04:23 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:60147) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awb7m-0003dH-AT for control@debbugs.gnu.org; Sat, 30 Apr 2016 16:04:22 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1awb7k-0006FQ-6H for control@debbugs.gnu.org; Sat, 30 Apr 2016 22:04:21 +0200 Date: Sat, 30 Apr 2016 22:04:18 +0200 Message-Id: <87h9eic18d.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #20942 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) forcemerge 20942 13841 From debbugs-submit-bounces@debbugs.gnu.org Sun May 01 09:51:02 2016 Received: (at 13841) by debbugs.gnu.org; 1 May 2016 13:51:03 +0000 Received: from localhost ([127.0.0.1]:59139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awrm2-0006kr-Nx for submit@debbugs.gnu.org; Sun, 01 May 2016 09:51:02 -0400 Received: from mout.web.de ([212.227.17.11]:56773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awrm1-0006kH-Ef for 13841@debbugs.gnu.org; Sun, 01 May 2016 09:51:01 -0400 Received: from drachen.dragon ([94.217.122.112]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0MJl1M-1avlqG42XU-0017kY; Sun, 01 May 2016 15:50:49 +0200 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#13841: 24.3.50; Regression - unreadable `C-h k' help References: <98E304F5436E487A91B33E89A04A5851@us.oracle.com> <87sirr1l0d.fsf@building.gnus.org> <87h9el2wcj.fsf@gnus.org> <87inyze2tq.fsf@web.de> <4e02c2a0-6e68-4091-a64d-131bcfc2fc49@default> <83wpnfnlf1.fsf@gnu.org> Date: Sun, 01 May 2016 15:50:45 +0200 In-Reply-To: <83wpnfnlf1.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 30 Apr 2016 18:52:50 +0300") Message-ID: <87vb2x3n0q.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:TeB6q1Guwd0RL8FLfdMnV3+kloAjyvYFRZlhzbjflRQsF9pPaFH 1dHct5X4um8x2YNvFDjIVs0JBDlffV1h4i2zqu7J/xaiCbF9sDCAz/D6QdtOK17fxcZhBFy Kn66kjORDNQCiPJcDpqYIddwecw1BOfjBdCdcfCxAzMNi1xf0/rfzZaKH06pDd9y4XzDjZ5 S+yLQ95/15SzKGNGvebrw== X-UI-Out-Filterresults: notjunk:1;V01:K0:U7H4JsoFt64=:uBb06hMjgU6Ns44uzuoSl+ KuFd6+hqu+Jn4tXzrajDNAnfStZa302sCbbeYrnqqOfLMlmPP5bvDoAhDT7Rya/vzW4MZZW5L Emuo9ovXvIu+dVS/YT7KZrVMFbv+Z6vdy07VmUi2HxEQzKAUOh1dBRTByhlihhSD0IgrKO6l9 ooOMBn1karKbapgJE4VagBJNjV+hancNU2xQd7mZBDpf+8gaCvtjsSvwDkNUU5a/kKSv/ZatM IuvA07kUdCnt6N3IBPStahXIgfYI2e7A30YjjfVfyXrzojb9BUzP7Hyg8GBpQbjFInMH7o+GH 8vOQqyrbodPK4QKKvraSMHXd5iqNB/WfimratsQVDwB9cjKIcWtiY1/G4ksMEN9PWlvqwr7Zi /x45/q1woM1+ejkLeCtm/BFWEB634nbrlt/GYfQBl88V6WO9cVaCrRBUMFuNLUW6LRf8qm3tV o4cTC0TXgVv49tbbhf3Q96PANAtjfyUsOjM3PV5IJ70ooOWTBOmZnLneTBI6XwF/PV+1dusqk 6ty9J6zJ5S+Wz0OUY0asp+2L9AyWpC6NnIn0fB75iv3LzniiOnmw3x+Vb6xYmywnrQj7CKkxJ EIGXaZ5haAjRwmDXg2LQvW5BDI42NAYEqCaNHwcr04tqBxwZ6efjGayu2PS0vYLtH/bChpn1G u4W8CIO8d4EKCF1yc/BA9tf229J0OKtMjrgTjZvQkl1dylQ0F1f+u4Fh3DdxPidah4fxj5mU5 UFdl0GR0WIJdxYZLyN79jPjrAgES5A6lpROIxJRZS39nJMaPHei0tAkoER8cSt9nneuTPi1Zn WPH5tJb X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: 13841 Cc: larsi@gnus.org, 13841@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: > A more general solution is not to have lambda functions hang on keys > and mouse clicks. Or just give the lambda a docstring. Michael. From debbugs-submit-bounces@debbugs.gnu.org Sun May 01 11:10:20 2016 Received: (at 13841) by debbugs.gnu.org; 1 May 2016 15:10:20 +0000 Received: from localhost ([127.0.0.1]:60782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awt0l-0002FE-T9 for submit@debbugs.gnu.org; Sun, 01 May 2016 11:10:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awt0k-0002F1-LW for 13841@debbugs.gnu.org; Sun, 01 May 2016 11:10:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awt0W-0000BV-A1 for 13841@debbugs.gnu.org; Sun, 01 May 2016 11:10:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awt0W-0000Ai-6b; Sun, 01 May 2016 11:10:04 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2529 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1awt0O-0001bS-Ol; Sun, 01 May 2016 11:09:57 -0400 Date: Sun, 01 May 2016 18:09:57 +0300 Message-Id: <837ffdolve.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-reply-to: <87vb2x3n0q.fsf@web.de> (message from Michael Heerdegen on Sun, 01 May 2016 15:50:45 +0200) Subject: Re: bug#13841: 24.3.50; Regression - unreadable `C-h k' help References: <98E304F5436E487A91B33E89A04A5851@us.oracle.com> <87sirr1l0d.fsf@building.gnus.org> <87h9el2wcj.fsf@gnus.org> <87inyze2tq.fsf@web.de> <4e02c2a0-6e68-4091-a64d-131bcfc2fc49@default> <83wpnfnlf1.fsf@gnu.org> <87vb2x3n0q.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 13841 Cc: larsi@gnus.org, 13841@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Michael Heerdegen > Cc: Drew Adams , larsi@gnus.org, 13841@debbugs.gnu.org > Date: Sun, 01 May 2016 15:50:45 +0200 > > Eli Zaretskii writes: > > > A more general solution is not to have lambda functions hang on keys > > and mouse clicks. > > Or just give the lambda a docstring. No, I think we should forbid using a lambda as a user-visible key binding. From debbugs-submit-bounces@debbugs.gnu.org Sun May 01 11:13:42 2016 Received: (at 13841) by debbugs.gnu.org; 1 May 2016 15:13:42 +0000 Received: from localhost ([127.0.0.1]:60790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awt41-0002KG-RW for submit@debbugs.gnu.org; Sun, 01 May 2016 11:13:42 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:39042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awt3z-0002K8-Rh for 13841@debbugs.gnu.org; Sun, 01 May 2016 11:13:40 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1awt3u-0007Ya-U8; Sun, 01 May 2016 17:13:37 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#13841: 24.3.50; Regression - unreadable `C-h k' help References: <98E304F5436E487A91B33E89A04A5851@us.oracle.com> <87sirr1l0d.fsf@building.gnus.org> <87h9el2wcj.fsf@gnus.org> <87inyze2tq.fsf@web.de> <4e02c2a0-6e68-4091-a64d-131bcfc2fc49@default> <83wpnfnlf1.fsf@gnu.org> <87vb2x3n0q.fsf@web.de> <837ffdolve.fsf@gnu.org> Date: Sun, 01 May 2016 17:13:33 +0200 In-Reply-To: <837ffdolve.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 01 May 2016 18:09:57 +0300") Message-ID: <8737q1reua.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13841 Cc: Michael Heerdegen , 13841@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: > No, I think we should forbid using a lambda as a user-visible key > binding. I think we should avoid doing so in the code in Emacs (we already avoid using lambdas as function definitions for normal keystrokes, but it's present in some menus), but I don't think we should make that invalid in general. I think it's fine for a user to define menus (or keystrokes) "sloppily" for private use. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun May 01 11:43:32 2016 Received: (at 13841) by debbugs.gnu.org; 1 May 2016 15:43:33 +0000 Received: from localhost ([127.0.0.1]:60822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awtWu-0006J8-O9 for submit@debbugs.gnu.org; Sun, 01 May 2016 11:43:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awtWq-0006Is-1p for 13841@debbugs.gnu.org; Sun, 01 May 2016 11:43:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awtWb-0007yf-BQ for 13841@debbugs.gnu.org; Sun, 01 May 2016 11:43:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awtWb-0007yB-8E; Sun, 01 May 2016 11:43:13 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2596 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1awtWU-0001IS-0Y; Sun, 01 May 2016 11:43:06 -0400 Date: Sun, 01 May 2016 18:43:06 +0300 Message-Id: <83wpndn5rp.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <8737q1reua.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 01 May 2016 17:13:33 +0200) Subject: Re: bug#13841: 24.3.50; Regression - unreadable `C-h k' help References: <98E304F5436E487A91B33E89A04A5851@us.oracle.com> <87sirr1l0d.fsf@building.gnus.org> <87h9el2wcj.fsf@gnus.org> <87inyze2tq.fsf@web.de> <4e02c2a0-6e68-4091-a64d-131bcfc2fc49@default> <83wpnfnlf1.fsf@gnu.org> <87vb2x3n0q.fsf@web.de> <837ffdolve.fsf@gnu.org> <8737q1reua.fsf@gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 13841 Cc: michael_heerdegen@web.de, 13841@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Lars Ingebrigtsen > Cc: Michael Heerdegen , drew.adams@oracle.com, 13841@debbugs.gnu.org > Date: Sun, 01 May 2016 17:13:33 +0200 > > Eli Zaretskii writes: > > > No, I think we should forbid using a lambda as a user-visible key > > binding. > > I think we should avoid doing so in the code in Emacs That's what I meant, yes. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 08 23:28:24 2019 Received: (at 13841) by debbugs.gnu.org; 9 Oct 2019 03:28:24 +0000 Received: from localhost ([127.0.0.1]:51783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iI2eG-0003vB-2v for submit@debbugs.gnu.org; Tue, 08 Oct 2019 23:28:24 -0400 Received: from quimby.gnus.org ([80.91.231.51]:51766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iI2eE-0003ux-IC; Tue, 08 Oct 2019 23:28:23 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iI2eA-00021W-2i; Wed, 09 Oct 2019 05:28:20 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#13841: 24.3.50; Regression - unreadable `C-h k' help References: <98E304F5436E487A91B33E89A04A5851@us.oracle.com> <87sirr1l0d.fsf@building.gnus.org> <87h9el2wcj.fsf@gnus.org> <87inyze2tq.fsf@web.de> <4e02c2a0-6e68-4091-a64d-131bcfc2fc49@default> <83wpnfnlf1.fsf@gnu.org> <87vb2x3n0q.fsf@web.de> <837ffdolve.fsf@gnu.org> <8737q1reua.fsf@gnus.org> <83wpndn5rp.fsf@gnu.org> Date: Wed, 09 Oct 2019 05:28:17 +0200 In-Reply-To: <83wpndn5rp.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 01 May 2016 18:43:06 +0300") Message-ID: <87tv8ivbqm.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: Eli Zaretskii writes: >> > No, I think we should forbid using a lambda as a user-visible key >> > binding. >> >> I think we should avoid doing so in the code in Emacs > > That's what I meant, yes. 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-Debbugs-Envelope-To: 13841 Cc: michael_heerdegen@web.de, 13841@debbugs.gnu.org, 20157@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> > No, I think we should forbid using a lambda as a user-visible key >> > binding. >> >> I think we should avoid doing so in the code in Emacs > > That's what I meant, yes. I have now fixed this in menu-bar.el for the original reported case (and the ones in nearby menus). There may be more lurking other places, but we can fix those if somebody reports them, I guess. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 08 23:28:32 2019 Received: (at control) by debbugs.gnu.org; 9 Oct 2019 03:28:32 +0000 Received: from localhost ([127.0.0.1]:51788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iI2eO-0003vc-39 for submit@debbugs.gnu.org; Tue, 08 Oct 2019 23:28:32 -0400 Received: from quimby.gnus.org ([80.91.231.51]:51780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iI2eJ-0003vL-C0 for control@debbugs.gnu.org; Tue, 08 Oct 2019 23:28:30 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iI2eG-00021h-Ke for control@debbugs.gnu.org; Wed, 09 Oct 2019 05:28:26 +0200 Date: Wed, 09 Oct 2019 05:28:24 +0200 Message-Id: <87sgo2vbqf.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #20157 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: tags 20157 fixed close 20157 27.1 quit 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-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 20157 fixed close 20157 27.1 quit From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 09 06:57:51 2019 Received: (at 13841) by debbugs.gnu.org; 9 Oct 2019 10:57:51 +0000 Received: from localhost ([127.0.0.1]:52213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iI9fD-00064B-2o for submit@debbugs.gnu.org; Wed, 09 Oct 2019 06:57:51 -0400 Received: from mout.web.de ([212.227.15.4]:33433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iI9f9-00063s-OB; Wed, 09 Oct 2019 06:57:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1570618650; bh=kouyZ0HXochXg++2uEXrBImZZ0coaImQqmhZAfc3xT8=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=LAFDlhj2i4kmimcnvxyUlzYep6gaTm2LBalfLpFfgMdcMk+CzL6RPtRB6zOiGw88d aUbi/ykxK4v4anEQ34gOI76xuxquNlXq/MRE7GPmV6TJ8RNkHHFuCWXg4bUGEbQf/z YKcMHBnq2daSGcezFFm3I+Pc6L7xRVeIlDQsNEDc= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([92.208.91.33]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MLP5m-1iIhtA0NZi-000YcK; Wed, 09 Oct 2019 12:57:30 +0200 From: Michael Heerdegen To: Lars Ingebrigtsen Subject: Re: bug#13841: 24.3.50; Regression - unreadable `C-h k' help References: <98E304F5436E487A91B33E89A04A5851@us.oracle.com> <87sirr1l0d.fsf@building.gnus.org> <87h9el2wcj.fsf@gnus.org> <87inyze2tq.fsf@web.de> <4e02c2a0-6e68-4091-a64d-131bcfc2fc49@default> <83wpnfnlf1.fsf@gnu.org> <87vb2x3n0q.fsf@web.de> <837ffdolve.fsf@gnu.org> <8737q1reua.fsf@gnus.org> <83wpndn5rp.fsf@gnu.org> <87tv8ivbqm.fsf@gnus.org> Date: Wed, 09 Oct 2019 12:57:32 +0200 In-Reply-To: <87tv8ivbqm.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 09 Oct 2019 05:28:17 +0200") Message-ID: <878spu190j.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:cK1rdOLtqPkveEGMuWXPljJdTYZvnSxymZ7arXk6R1QZYOq/XkA kiKUVtvErEhfqVHSoqFLul/G+kNAdtW5ELQS9mB4na2IxDQR+BUEG76gbX5iwxhutHOU3HP zG5OLR01q05nhd1S5qF9I2q6sKawxIYMmfERCBw/lbpLHvbrwwlceXMa0VcFgkaZAC+gzHY IvoW94ZZ8NjKRKxRi1ldw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:V2AULLRlwmg=:2s1dfWYbxMOLVX58DqJGs4 V+tlh8P5CZsA2wsohC6rwrHlU1m75Wb5qm80Z65FQPA/0HDBYJsEPMakSM7Ujbwlpc3cyio0d yMFYrH9gnOlWg46F1UFqMZgzKwInzFd0zHrnMcl37Ptn8emwoCtmVLL+as1j35DN6Udf4C3iR w5nXhiXl3cjigeQx0InvmtwWVbycaGlv9BxVg6FLQnoNjqNDpQK+oNsV9FazcCWdcB1aqPgiV WagHpShGdJPbDEZc90i8aXU4rVXlXCadK9ENK6PVArMK6owf+UzRQB4OlbQSS46s25+huZDDG MSLAfTEqXCO0jvAUTiWlxsUTMLaXnzcoNi0+1tWGDpdUoFhsJPu3rnTpha5ri2wDw2Meiz8R4 UQ6duQbTWZWsLtJBPtGDLViGHap21QslPAGhZcOGrZmevbcX3fFVvGMhWiSX7eqIrbhWyxQRs VCZTn/QPpYU/VAKxzllBTYCUzMC4h0AcVFfdzIkR2VZpuAAOqQ3MvO1J4HeACluTg1LUrGVpf KujhNb2Ye+4G8pxrb8Wo1VWSTvSoNHsDB4hETXMUYv9jQT2/1esRpiazsUGRE3VYkSXAqkGrZ OLwY+iZ/okvO+lsOE4PW8jDA8KYCJzAc4jswxH22D1d87/tQsugMp2zKS9D8R9o0DERYXJMJs NlYfZgCebKXmZQ87ipYFrIND1Aa36r1pmz8C8W0rdfhU2z21oXELEQux2ABLs8nm8IBfiSTEj 3tSh4RUeJl7ZB/MjNKoch95tuqdUEyy8UOdT3+OdPjLVjoyWgG0OoZMHM4yjTVc05RxBtH5RB 5wlg6jYEjjcUQ/hgmNGNIQ4WgQM3eB4uy6sCzrdl4LdaupeIT3oPAa8ckxj3PGLTdrZUaxMV7 uIXmoevJL2qmo1epr8XbNz76WxUFIN2YX3iAPortYpSk8GEnjVwScYowaFvHitU2Ni8DwCd1T ZESWwYzSLBTAEzk5aIumEG7CEwFpztHjTMgfPKOFoEL9IskIbhRMl8v89RamuxbpiajFAEwUe E8IfYQnLlEygMxPKRwUsK0SRsXGMpLlnMKb4gZ12tTNacpW45+7O34R4iTBQsQ0MYyCD+aTD2 zWq9Kt9FWw/Cg53Rk6XMZniK0cAqQYNsZ7STa7fMakG/nrjKRvMbotlkzKwaH1iHLFu6jIoyj vQy3hYSZnBDEaajo9LTjjs9abbE+h18Om5UrJBCDSNVW65oDJ7pa9K4FG3gj0gZc8SkbMHNEp 3+WQDEO21fez6SjlPgjUWH0abQl03LdpOavZeJ2OoBk2uM/JgYfZHVhn7f4A= X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13841 Cc: Eli Zaretskii , 20157@debbugs.gnu.org, 13841@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Lars Ingebrigtsen writes: > I have now fixed this in menu-bar.el for the original reported case (and > the ones in nearby menus). There may be more lurking other places, but > we can fix those if somebody reports them, I guess. Thanks. I don't recall: did we want to fix only compiled lambdas, or any anonymous functions (including quoted lambdas)? Attached a quick rough search for candidates (search for "-->") - is any of them problematic? Regards, Michael. --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=menu-bar-lambdas.el Content-Transfer-Encoding: quoted-printable ;;; * Wed Oct 9 12:27:17 2019 -*- mode: el-search-occur -*- ;;; ** Search the Emacs Elisp sources for: (l 'menu-item _ (contains 'lambda)) ;;; ** 32 matches in 12 files: ;;; *** /home/micha/software/emacs/lisp/abbrev.el (1 match) ;;;; Line 1021 (defun abbrev-table-menu (table &optional prompt sortfun) "Return a menu that shows all abbrevs in TABLE. Selecting an entry runs `abbrev-insert'. PROMPT is the prompt to use for the keymap. SORTFUN is passed to `sort' to change the default ordering." (unless sortfun (setq sortfun 'string-lessp)) (let ((entries ())) (obarray-map (lambda (abbrev) (when (symbol-value abbrev) (let ((name (symbol-name abbrev))) (push `--> (,(intern name) menu-item ,name (lambda () (interactive) (abbrev-insert ',abbrev))) <-- entries)))) table) (nconc (make-sparse-keymap prompt) (sort entries (lambda (x y) (funcall sortfun (nth 2 x) (nth 2 y))))))) ;;; *** /home/micha/software/emacs/lisp/info.el (1 match) ;;;; Line 4156 (defun Info-history-menu (e name history command) (let* ((i (length history)) (map (make-sparse-keymap name))) (mapc (lambda (history) (let ((file (nth 0 history)) (node (nth 1 history))) (when (stringp file) (setq file (file-name-sans-extension (file-name-nondirectory file)))) (define-key map (vector (intern (format "history-%i" i))) `--> (menu-item ,(format "(%s) %s" file node) (lambda () (interactive) (dotimes (_ ,i) (call-interactively ',command= )))) <--)) (setq i (1- i))) (reverse history)) (let* ((selection (x-popup-menu e map)) (binding (and selection (lookup-key map (vector (car selection))= )))) (if binding (call-interactively binding))))) ;;; *** /home/micha/software/emacs/lisp/ldefs-boot.el (4 matches) ;;;; Line 18479 (defconst ispell-menu-map (let ((map (make-sparse-keymap "Spell"))) (define= -key map [ispell-change-dictionary] `(menu-item ,(purecopy "Change Dictiona= ry...") ispell-change-dictionary :help ,(purecopy "Supply explicit dictiona= ry file name"))) (define-key map [ispell-kill-ispell] `--> (menu-item ,(pur= ecopy "Kill Process") (lambda nil (interactive) (ispell-kill-ispell nil 'cl= ear)) :enable (and (boundp 'ispell-process) ispell-process (eq (ispell-proc= ess-status) 'run)) :help ,(purecopy "Terminate Ispell subprocess")) <--) (d= efine-key map [ispell-pdict-save] `--> (menu-item ,(purecopy "Save Dictiona= ry") (lambda nil (interactive) (ispell-pdict-save t t)) :help ,(purecopy "S= ave personal dictionary")) <--) (define-key map [ispell-customize] `--> (me= nu-item ,(purecopy "Customize...") (lambda nil (interactive) (customize-gro= up 'ispell)) :help ,(purecopy "Customize spell checking options")) <--) (de= fine-key map [ispell-help] `--> (menu-item ,(purecopy "Help") (lambda nil (= interactive) (describe-function 'ispell-help)) :help ,(purecopy "Show stand= ard Ispell keybindings and commands")) <--) (define-key map [flyspell-mode]= `(menu-item ,(purecopy "Automatic spell checking (Flyspell)") flyspell-mod= e :help ,(purecopy "Check spelling while you edit the text") :button (:togg= le bound-and-true-p flyspell-mode))) (define-key map [ispell-complete-word]= `(menu-item ,(purecopy "Complete Word") ispell-complete-word :help ,(purec= opy "Complete word at cursor using dictionary"))) (define-key map [ispell-c= omplete-word-interior-frag] `(menu-item ,(purecopy "Complete Word Fragment"= ) ispell-complete-word-interior-frag :help ,(purecopy "Complete word fragme= nt at cursor"))) (define-key map [ispell-continue] `(menu-item ,(purecopy "= Continue Spell-Checking") ispell-continue :enable (and (boundp 'ispell-regi= on-end) (marker-position ispell-region-end) (equal (marker-buffer ispell-re= gion-end) (current-buffer))) :help ,(purecopy "Continue spell checking last= region"))) (define-key map [ispell-word] `(menu-item ,(purecopy "Spell-Che= ck Word") ispell-word :help ,(purecopy "Spell-check word at cursor"))) (def= ine-key map [ispell-comments-and-strings] `(menu-item ,(purecopy "Spell-Che= ck Comments") ispell-comments-and-strings :help ,(purecopy "Spell-check onl= y comments and strings"))) (define-key map [ispell-region] `(menu-item ,(pu= recopy "Spell-Check Region") ispell-region :enable mark-active :help ,(pure= copy "Spell-check text in marked region"))) (define-key map [ispell-message= ] `(menu-item ,(purecopy "Spell-Check Message") ispell-message :visible (eq= major-mode 'mail-mode) :help ,(purecopy "Skip headers and included message= text"))) (define-key map [ispell-buffer] `(menu-item ,(purecopy "Spell-Che= ck Buffer") ispell-buffer :help ,(purecopy "Check spelling of selected buff= er"))) map) "\ Key map for ispell menu.") ;;; *** /home/micha/software/emacs/lisp/loaddefs.el (4 matches) ;;;; Line 18504 (defconst ispell-menu-map (let ((map (make-sparse-keymap "Spell"))) (define= -key map [ispell-change-dictionary] `(menu-item ,(purecopy "Change Dictiona= ry...") ispell-change-dictionary :help ,(purecopy "Supply explicit dictiona= ry file name"))) (define-key map [ispell-kill-ispell] `--> (menu-item ,(pur= ecopy "Kill Process") (lambda nil (interactive) (ispell-kill-ispell nil 'cl= ear)) :enable (and (boundp 'ispell-process) ispell-process (eq (ispell-proc= ess-status) 'run)) :help ,(purecopy "Terminate Ispell subprocess")) <--) (d= efine-key map [ispell-pdict-save] `--> (menu-item ,(purecopy "Save Dictiona= ry") (lambda nil (interactive) (ispell-pdict-save t t)) :help ,(purecopy "S= ave personal dictionary")) <--) (define-key map [ispell-customize] `--> (me= nu-item ,(purecopy "Customize...") (lambda nil (interactive) (customize-gro= up 'ispell)) :help ,(purecopy "Customize spell checking options")) <--) (de= fine-key map [ispell-help] `--> (menu-item ,(purecopy "Help") (lambda nil (= interactive) (describe-function 'ispell-help)) :help ,(purecopy "Show stand= ard Ispell keybindings and commands")) <--) (define-key map [flyspell-mode]= `(menu-item ,(purecopy "Automatic spell checking (Flyspell)") flyspell-mod= e :help ,(purecopy "Check spelling while you edit the text") :button (:togg= le bound-and-true-p flyspell-mode))) (define-key map [ispell-complete-word]= `(menu-item ,(purecopy "Complete Word") ispell-complete-word :help ,(purec= opy "Complete word at cursor using dictionary"))) (define-key map [ispell-c= omplete-word-interior-frag] `(menu-item ,(purecopy "Complete Word Fragment"= ) ispell-complete-word-interior-frag :help ,(purecopy "Complete word fragme= nt at cursor"))) (define-key map [ispell-continue] `(menu-item ,(purecopy "= Continue Spell-Checking") ispell-continue :enable (and (boundp 'ispell-regi= on-end) (marker-position ispell-region-end) (equal (marker-buffer ispell-re= gion-end) (current-buffer))) :help ,(purecopy "Continue spell checking last= region"))) (define-key map [ispell-word] `(menu-item ,(purecopy "Spell-Che= ck Word") ispell-word :help ,(purecopy "Spell-check word at cursor"))) (def= ine-key map [ispell-comments-and-strings] `(menu-item ,(purecopy "Spell-Che= ck Comments") ispell-comments-and-strings :help ,(purecopy "Spell-check onl= y comments and strings"))) (define-key map [ispell-region] `(menu-item ,(pu= recopy "Spell-Check Region") ispell-region :enable mark-active :help ,(pure= copy "Spell-check text in marked region"))) (define-key map [ispell-message= ] `(menu-item ,(purecopy "Spell-Check Message") ispell-message :visible (eq= major-mode 'mail-mode) :help ,(purecopy "Skip headers and included message= text"))) (define-key map [ispell-buffer] `(menu-item ,(purecopy "Spell-Che= ck Buffer") ispell-buffer :help ,(purecopy "Check spelling of selected buff= er"))) map) "\ Key map for ispell menu.") ;;; *** /home/micha/software/emacs/lisp/menu-bar.el (3 matches) ;;;; Line 1336 (defvar menu-bar-search-options-menu (let ((menu (make-sparse-keymap "Search Options"))) (dolist (x '((char-fold-to-regexp "Fold Characters" "Character folding") (isearch-symbol-regexp "Whole Symbols" "Whole symbol") (word-search-regexp "Whole Words" "Whole word"))) (bindings--define-key menu (vector (nth 0 x)) `--> (menu-item ,(nth 1 x) (lambda () (interactive) (setq search-default-mode #',(nth 0 x)) (message ,(format "%s search enabled" (nth 2 x)))) :help ,(format "Enable %s search" (downcase (nth 2 x))) :button (:radio . (eq search-default-mode #',(nth 0 x))= )) <--)) (bindings--define-key menu [regexp-search] '--> (menu-item "Regular Expression" (lambda () (interactive) (setq search-default-mode t) (message "Regular-expression search enabled")) :help "Enable regular-expression search" :button (:radio . (eq search-default-mode t))) <--) (bindings--define-key menu [regular-search] '--> (menu-item "Literal Search" (lambda () (interactive) (when search-default-mode (setq search-default-mode nil) (when (symbolp search-default-mode) (message "Literal search enabled")))) :help "Disable special search modes" :button (:radio . (not search-default-mode))) <--) (bindings--define-key menu [custom-separator] menu-bar-separator) (bindings--define-key menu [case-fold-search] (menu-bar-make-toggle toggle-case-fold-search case-fold-search "Ignore Case" "Case-Insensitive Search %s" "Ignore letter-case in search commands")) menu)) ;;; *** /home/micha/software/emacs/lisp/mouse.el (2 matches) ;;;; Line 157 (defun minor-mode-menu-from-indicator (indicator) "Show menu for minor mode specified by INDICATOR. Interactively, INDICATOR is read using completion. If there is no menu defined for the minor mode, then create one with items `Turn Off' and `Help'." (interactive (list (completing-read "Minor mode indicator: " (describe-minor-mode-completion-table-for-indicator)))) (let* ((minor-mode (lookup-minor-mode-from-indicator indicator)) (mm-fun (or (get minor-mode :minor-mode-function) minor-mode))) (unless minor-mode (error "Cannot find minor mode for `%s'" indicator)) (let* ((map (cdr-safe (assq minor-mode minor-mode-map-alist))) (menu (and (keymapp map) (lookup-key map [menu-bar])))) (setq menu (if menu (mouse-menu-non-singleton menu) (if (fboundp mm-fun) ; bug#20201 `(keymap ,(format "%s - %s" indicator (capitalize (replace-regexp-in-string "-" " " (format "%S" minor-mode)))) (turn-off menu-item "Turn off minor mode" ,mm-fun) --> (help menu-item "Help for minor mode" (lambda () (interactive) (describe-function ',mm-fun))) <--)))) (if menu (popup-menu menu) (message "No menu available"))))) ;;;; Line 389 (defun mouse-drag-line (start-event line) "Drag a mode line, header line, or vertical line with the mouse. START-EVENT is the starting mouse event of the drag action. LINE must be one of the symbols `header', `mode', or `vertical'." ;; Give temporary modes such as isearch a chance to turn off. (run-hooks 'mouse-leave-buffer-hook) (let* ((echo-keystrokes 0) (start (event-start start-event)) (window (posn-window start)) (frame (window-frame window)) ;; `position' records the x- or y-coordinate of the last ;; sampled position. (position (if (eq line 'vertical) (+ (window-pixel-left window) (car (posn-x-y start))) (+ (window-pixel-top window) (cdr (posn-x-y start))))) ;; `last-position' records the x- or y-coordinate of the ;; previously sampled position. The difference of `position' ;; and `last-position' determines the size change of WINDOW. (last-position position) (draggable t) posn-window growth dragged) ;; Decide on whether we are allowed to track at all and whose ;; window's edge we drag. (cond ((eq line 'header) ;; Drag bottom edge of window above the header line. (setq window (window-in-direction 'above window t))) ((eq line 'mode)) ((eq line 'vertical) (let ((divider-width (frame-right-divider-width frame))) (when (and (or (not (numberp divider-width)) (zerop divider-width)) (eq (frame-parameter frame 'vertical-scroll-bars) 'left)) (setq window (window-in-direction 'left window t)))))) (let* ((exitfun nil) (move (lambda (event) (interactive "e") (cond ((not (consp event)) nil) ((eq line 'vertical) ;; Drag right edge of `window'. (setq start (event-start event)) (setq position (car (posn-x-y start))) ;; Set `posn-window' to the window where `event' was recorded. ;; This can be `window' or the window on the left or right of ;; `window'. (when (window-live-p (setq posn-window (posn-window start))) ;; Add left edge of `posn-window' to `position'. (setq position (+ (window-pixel-left posn-window) position)) (unless (nth 1 start) ;; Add width of objects on the left of the text area to ;; `position'. (when (eq (window-current-scroll-bars posn-window) 'left) (setq position (+ (window-scroll-bar-width posn-window) position))) (setq position (+ (car (window-fringes posn-window)) (or (car (window-margins posn-window)) 0) position)))) ;; When the cursor overshoots after shrinking a window to its ;; minimum size and the dragging direction changes, have the ;; cursor first catch up with the window edge. (unless (or (zerop (setq growth (- position last-position))) (and (> growth 0) (< position (+ (window-pixel-left window) (window-pixel-width window)))) (and (< growth 0) (> position (+ (window-pixel-left window) (window-pixel-width window))))) (setq dragged t) (adjust-window-trailing-edge window growth t t)) (setq last-position position)) (draggable ;; Drag bottom edge of `window'. (setq start (event-start event)) ;; Set `posn-window' to the window where `event' was recorded. ;; This can be either `window' or the window above or below of ;; `window'. (setq posn-window (posn-window start)) (setq position (cdr (posn-x-y start))) (when (window-live-p posn-window) ;; Add top edge of `posn-window' to `position'. (setq position (+ (window-pixel-top posn-window) position)) ;; If necessary, add height of header line to `position' (when (memq (posn-area start) '(nil left-fringe right-fringe left-margin right-margin)) (setq position (+ (window-header-line-height posn-window) position)))) ;; When the cursor overshoots after shrinking a window to its ;; minimum size and the dragging direction changes, have the ;; cursor first catch up with the window edge. (unless (or (zerop (setq growth (- position last-position))) (and (> growth 0) (< position (+ (window-pixel-top window) (window-pixel-height window)))) (and (< growth 0) (> position (+ (window-pixel-top window) (window-pixel-height window))))) (setq dragged t) (adjust-window-trailing-edge window growth nil t)) (setq last-position position))))) (old-track-mouse track-mouse)) ;; Start tracking. The special value 'dragging' signals the ;; display engine to freeze the mouse pointer shape for as long ;; as we drag. (setq track-mouse 'dragging) ;; Loop reading events and sampling the position of the mouse. (setq exitfun (set-transient-map (let ((map (make-sparse-keymap))) (define-key map [switch-frame] #'ignore) (define-key map [select-window] #'ignore) (define-key map [scroll-bar-movement] #'ignore) (define-key map [mouse-movement] move) ;; Swallow drag-mouse-1 events to avoid selecting some other window. (define-key map [drag-mouse-1] (lambda () (interactive) (funcall exitfun))) ;; For vertical line dragging swallow also a mouse-1 ;; event (but only if we dragged at least once to allow mouse-1 ;; clicks to get through). (when (eq line 'vertical) (define-key map [mouse-1] `--> (menu-item "" ,(lambda () (interactive) (funcall exitfun)) :filter ,(lambda (cmd) (if dragged cmd))) <--)) ;; Some of the events will of course end up looked up ;; with a mode-line, header-line or vertical-line prefix ... (define-key map [mode-line] map) (define-key map [header-line] map) (define-key map [vertical-line] map) ;; ... and some maybe even with a right- or bottom-divider ;; prefix. (define-key map [right-divider] map) (define-key map [bottom-divider] map) map) t (lambda () (setq track-mouse old-track-mouse))))))) ;;; *** /home/micha/software/emacs/lisp/tab-bar.el (2 matches) ;;;; Line 299 (defun tab-bar-make-keymap-1 () "Generate an actual keymap from `tab-bar-map', without caching." (let* ((separator (or tab-bar-separator (if window-system " " "|"))) (i 0) (tabs (funcall tab-bar-tabs-function)) (current-tab-name (assq 'name (assq 'current-tab tabs)))) (when current-tab-name (setf (cdr current-tab-name) (funcall tab-bar-tab-name-function))) (append '(keymap (mouse-1 . tab-bar-handle-mouse)) (mapcan (lambda (tab) (setq i (1+ i)) (append `((,(intern (format "sep-%i" i)) menu-item ,separator ignore)) (cond ((eq (car tab) 'current-tab) `((current-tab menu-item ,(propertize (concat (if tab-bar-tab-hints (format "%d " i) "= ") (cdr (assq 'name tab)) (or (and tab-bar-close-button-show (not (eq tab-bar-close-button-s= how 'non-selected)) tab-bar-close-button) "")) 'face 'tab-bar-tab) ignore :help "Current tab"))) (t `(--> (,(intern (format "tab-%i" i)) menu-item ,(propertize (concat (if tab-bar-tab-hints (format "%d " i) "= ") (cdr (assq 'name tab)) (or (and tab-bar-close-button-show (not (eq tab-bar-close-button-s= how 'selected)) tab-bar-close-button) "")) 'face 'tab-bar-tab-inactive) ,(or (cdr (assq 'binding tab)) `(lambda () (interactive) (tab-bar-select-tab ,i))) :help "Click to visit tab") <--))) `(--> (,(if (eq (car tab) 'current-tab) 'C-current-tab (intern (fo= rmat "C-tab-%i" i))) menu-item "" ,(or (cdr (assq 'close-binding tab)) `(lambda () (interactive) (tab-bar-close-tab ,i)))) <--))) tabs) (when tab-bar-new-button `((sep-add-tab menu-item ,separator ignore) (add-tab menu-item ,tab-bar-new-button tab-bar-new-tab :help "New tab")))))) ;;; *** /home/micha/software/emacs/lisp/term.el (3 matches) ;;;; Line 4423 (defun serial-update-speed-menu () (setq serial-mode-line-speed-menu (make-sparse-keymap "Speed (b/s)")) (define-key serial-mode-line-speed-menu [serial-mode-line-speed-menu-othe= r] '--> (menu-item "Other..." (lambda (event) (interactive "e") (let ((speed (serial-read-speed))) (serial-process-configure :speed speed) (term-update-mode-line) (message "Speed set to %d b/s" speed)))) <--) (dolist (str (serial-nice-speed-history)) (let ((num (or (and (stringp str) (string-to-number str)) 0))) (define-key serial-mode-line-speed-menu (vector (make-symbol (format "serial-mode-line-speed-menu-%s" str))) `--> (menu-item ,str (lambda (event) (interactive "e") (serial-process-configure :speed ,num) (term-update-mode-line) (message "Speed set to %d b/s" ,num)) :button (:toggle . (=3D (serial-speed) ,num))) <--)))) ;;;; Line 4458 (defun serial-update-config-menu () (setq serial-mode-line-config-menu (make-sparse-keymap "Configuration")) (let ((config (process-contact (get-buffer-process (current-buffer)) t))) (dolist (y '((:flowcontrol hw "Hardware flowcontrol (RTS/CTS)") (:flowcontrol sw "Software flowcontrol (XON/XOFF)") (:flowcontrol nil "No flowcontrol") (:stopbits 2 "2 stopbits") (:stopbits 1 "1 stopbit") (:parity odd "Odd parity") (:parity even "Even parity") (:parity nil "No parity") (:bytesize 7 "7 bits per byte") (:bytesize 8 "8 bits per byte"))) (define-key serial-mode-line-config-menu (vector (make-symbol (format "%s-%s" (nth 0 y) (nth 1 y)))) `--> (menu-item ,(nth 2 y) (lambda (event) (interactive "e") (serial-process-configure ,(nth 0 y) ',(nth 1 y)) (term-update-mode-line) (message "%s" ,(nth 2 y))) ;; Use :toggle instead of :radio because a non-standard port ;; configuration may not match any menu items. :button (:toggle . ,(equal (plist-get config (nth 0 y)) (nth 1 y)))) <--)))) ;;; *** /home/micha/software/emacs/lisp/progmodes/compile.el (3 matches) ;;;; Line 1879 (defvar compilation-menu-map (let ((map (make-sparse-keymap "Errors")) (opt-map (make-sparse-keymap "Skip"))) (define-key map [stop-subjob] '(menu-item "Stop Compilation" kill-compilation :help "Kill the process made by the M-x compile or M-x grep commands")) (define-key map [compilation-mode-separator3] '("----" . nil)) (define-key map [compilation-next-error-follow-minor-mode] '(menu-item "Auto Error Display" next-error-follow-minor-mode :help "Display the error under cursor when moving the cursor" :button (:toggle . next-error-follow-minor-mode))) (define-key map [compilation-skip] (cons "Skip Less Important Messages" opt-map)) (define-key opt-map [compilation-skip-none] '--> (menu-item "Don't Skip Any Messages" (lambda () (interactive) (customize-set-variable 'compilation-skip-threshold 0)) :help "Do not skip any type of messages" :button (:radio . (eq compilation-skip-threshold 0))) <--) (define-key opt-map [compilation-skip-info] '--> (menu-item "Skip Info" (lambda () (interactive) (customize-set-variable 'compilation-skip-threshold 1)) :help "Skip anything less than warning" :button (:radio . (eq compilation-skip-threshold 1))) <--) (define-key opt-map [compilation-skip-warning-and-info] '--> (menu-item "Skip Warnings and Info" (lambda () (interactive) (customize-set-variable 'compilation-skip-threshold 2)) :help "Skip over Warnings and Info, stop for errors" :button (:radio . (eq compilation-skip-threshold 2))) <--) (define-key map [compilation-mode-separator2] '("----" . nil)) (define-key map [compilation-first-error] '(menu-item "First Error" first-error :help "Restart at the first error, visit corresponding source code")) (define-key map [compilation-previous-error] '(menu-item "Previous Error" previous-error :help "Visit previous `next-error' message and corresponding source cod= e")) (define-key map [compilation-next-error] '(menu-item "Next Error" next-error :help "Visit next `next-error' message and corresponding source code")) map)) ;;; *** /home/micha/software/emacs/lisp/progmodes/gdb-mi.el (4 matches) ;;;; Line 4491 (let ((menu (make-sparse-keymap "GDB-MI"))) (define-key menu [gdb-customize] '--> (menu-item "Customize" (lambda () (interactive) (customize-group '= gdb)) :help "Customize Gdb Graphical Mode options.") <--) (define-key menu [gdb-many-windows] '(menu-item "Display Other Windows" gdb-many-windows :help "Toggle display of locals, stack and breakpoint infor= mation" :button (:toggle . gdb-many-windows))) (define-key menu [gdb-restore-windows] '(menu-item "Restore Window Layout" gdb-restore-windows :help "Restore standard layout for debug session.")) (define-key menu [sep1] '(menu-item "--")) (define-key menu [all-threads] '--> (menu-item "GUD controls all threads" (lambda () (interactive) (setq gdb-gud-control-all-threads t)) :help "GUD start/stop commands apply to all threads" :button (:radio . gdb-gud-control-all-threads)) <--) (define-key menu [current-thread] '--> (menu-item "GUD controls current thread" (lambda () (interactive) (setq gdb-gud-control-all-threads nil)) :help "GUD start/stop commands apply to current thread only" :button (:radio . (not gdb-gud-control-all-threads))) <--) (define-key menu [sep2] '(menu-item "--")) (define-key menu [gdb-customize-reasons] '--> (menu-item "Customize switching..." (lambda () (interactive) (customize-option 'gdb-switch-reasons))) <--) (define-key menu [gdb-switch-when-another-stopped] (menu-bar-make-toggle gdb-toggle-switch-when-another-stopped gdb-switch-when-another-stopped "Automatically switch to stopped thread" "GDB thread switching %s" "Switch to stopped thread")) (define-key gud-menu-map [mi] `(menu-item "GDB-MI" ,menu :visible (eq gud-minor-mode 'gdbmi)))) ;;; *** /home/micha/software/emacs/lisp/textmodes/bibtex.el (1 match) ;;;; Line 3511 ;; Entry commands and menus for BibTeX dialects ;; We do not use `easy-menu-define' here because this gets confused ;; if we want to have multiple versions of the "same" menu. (let ((select-map (make-sparse-keymap))) ;; Submenu for selecting the dialect (dolist (dialect (reverse bibtex-dialect-list)) (define-key select-map (vector dialect) `--> (menu-item ,(symbol-name dialect) (lambda () (interactive) (bibtex-set-dialect ',dialect t)) :button (:radio . (eq bibtex-dialect ',dialect))) <--)) ;; We define a menu for each dialect. ;; Then we select the menu we want via the :visible keyword (dolist (dialect bibtex-dialect-list) (let ((entry-alist (bibtex-entry-alist dialect)) (menu-map (make-sparse-keymap))) (define-key menu-map [select] `(menu-item "BibTeX dialect" ,select-map)) (define-key menu-map [nil-2] '(menu-item "--")) (define-key menu-map [bibtex-preamble] '(menu-item "Preamble" bibtex-Preamble)) (define-key menu-map [bibtex-String] '(menu-item "String" bibtex-String)) (define-key menu-map [nil-1] '(menu-item "--")) (dolist (elt (reverse entry-alist)) ;; Entry commands (let* ((entry (car elt)) (fname (intern (format "bibtex-%s" entry)))) (unless (fboundp fname) (eval (list 'defun fname nil (format "Insert a template for a @%s entry; see als= o `bibtex-entry'." entry) '(interactive "*") `(bibtex-entry ,entry)))) ;; Menu entries (define-key menu-map (vector fname) `(menu-item ,(or (nth 1 elt) (car elt)) ,fname)))) (define-key bibtex-mode-map (vector 'menu-bar dialect) `(menu-item "Entry-Types" ,menu-map :visible (eq bibtex-dialect ',dialect)))))) ;;; *** /home/micha/software/emacs/lisp/textmodes/ispell.el (4 matches) ;;;; Line 1434 ;;;###autoload (defconst ispell-menu-map ;; Use `defconst' so as to redo the menu when loading ispell, like the ;; previous code did. ;; Define commands in menu in opposite order you want them to appear. (let ((map (make-sparse-keymap "Spell"))) (define-key map [ispell-change-dictionary] `(menu-item ,(purecopy "Change Dictionary...") ispell-change-dictiona= ry :help ,(purecopy "Supply explicit dictionary file name"))) (define-key map [ispell-kill-ispell] `--> (menu-item ,(purecopy "Kill Process") (lambda () (interactive) (ispell-kill-ispell nil 'clear)) :enable (and (boundp 'ispell-process) ispell-process (eq (ispell-process-status) 'run)) :help ,(purecopy "Terminate Ispell subprocess")) <--) (define-key map [ispell-pdict-save] `--> (menu-item ,(purecopy "Save Dictionary") (lambda () (interactive) (ispell-pdict-save t t)) :help ,(purecopy "Save personal dictionary")) <--) (define-key map [ispell-customize] `--> (menu-item ,(purecopy "Customize...") (lambda () (interactive) (customize-group 'ispell)) :help ,(purecopy "Customize spell checking options")) <--) (define-key map [ispell-help] ;; use (x-popup-menu last-nonmenu-event(list "" ispell-help-list)) ? `--> (menu-item ,(purecopy "Help") (lambda () (interactive) (describe-function 'ispell-help)) :help ,(purecopy "Show standard Ispell keybindings and commands")) <--) (define-key map [flyspell-mode] `(menu-item ,(purecopy "Automatic spell checking (Flyspell)") flyspell-mode :help ,(purecopy "Check spelling while you edit the text") :button (:toggle . (bound-and-true-p flyspell-mode)))) (define-key map [ispell-complete-word] `(menu-item ,(purecopy "Complete Word") ispell-complete-word :help ,(purecopy "Complete word at cursor using dictionary"))) (define-key map [ispell-complete-word-interior-frag] `(menu-item ,(purecopy "Complete Word Fragment") ispell-complete-word-interior-frag :help ,(purecopy "Complete word fragment at cursor"))) (define-key map [ispell-continue] `(menu-item ,(purecopy "Continue Spell-Checking") ispell-continue :enable (and (boundp 'ispell-region-end) (marker-position ispell-region-end) (equal (marker-buffer ispell-region-end) (current-buffer))) :help ,(purecopy "Continue spell checking last region"))) (define-key map [ispell-word] `(menu-item ,(purecopy "Spell-Check Word") ispell-word :help ,(purecopy "Spell-check word at cursor"))) (define-key map [ispell-comments-and-strings] `(menu-item ,(purecopy "Spell-Check Comments") ispell-comments-and-strings :help ,(purecopy "Spell-check only comments and strings"))) (define-key map [ispell-region] `(menu-item ,(purecopy "Spell-Check Region") ispell-region :enable mark-active :help ,(purecopy "Spell-check text in marked region"))) (define-key map [ispell-message] `(menu-item ,(purecopy "Spell-Check Message") ispell-message :visible (eq major-mode 'mail-mode) :help ,(purecopy "Skip headers and included message text"))) (define-key map [ispell-buffer] `(menu-item ,(purecopy "Spell-Check Buffer") ispell-buffer :help ,(purecopy "Check spelling of selected buffer"))) map) "Key map for ispell menu.") --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 09 14:57:36 2019 Received: (at 13841) by debbugs.gnu.org; 9 Oct 2019 18:57:36 +0000 Received: from localhost ([127.0.0.1]:54130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIH9U-0007QO-Fc for submit@debbugs.gnu.org; Wed, 09 Oct 2019 14:57:36 -0400 Received: from quimby.gnus.org ([80.91.231.51]:41652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIH9T-0007QD-7r; Wed, 09 Oct 2019 14:57:35 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIH9O-0003MU-Vh; Wed, 09 Oct 2019 20:57:33 +0200 From: Lars Ingebrigtsen To: Michael Heerdegen Subject: Re: bug#13841: 24.3.50; Regression - unreadable `C-h k' help References: <98E304F5436E487A91B33E89A04A5851@us.oracle.com> <87sirr1l0d.fsf@building.gnus.org> <87h9el2wcj.fsf@gnus.org> <87inyze2tq.fsf@web.de> <4e02c2a0-6e68-4091-a64d-131bcfc2fc49@default> <83wpnfnlf1.fsf@gnu.org> <87vb2x3n0q.fsf@web.de> <837ffdolve.fsf@gnu.org> <8737q1reua.fsf@gnus.org> <83wpndn5rp.fsf@gnu.org> <87tv8ivbqm.fsf@gnus.org> <878spu190j.fsf@web.de> Date: Wed, 09 Oct 2019 20:57:30 +0200 In-Reply-To: <878spu190j.fsf@web.de> (Michael Heerdegen's message of "Wed, 09 Oct 2019 12:57:32 +0200") Message-ID: <87zhi9692d.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: Michael Heerdegen writes: > I don't recall: did we want to fix only compiled lambdas, or any > anonymous functions (including quoted lambdas)? All key bindings (including menu ones) should be to named functions, I think. That allows inspection via `C-h k' and the user can jump to the function definition to see what it does. 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-Debbugs-Envelope-To: 13841 Cc: Eli Zaretskii , 20157@debbugs.gnu.org, 13841@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Michael Heerdegen writes: > I don't recall: did we want to fix only compiled lambdas, or any > anonymous functions (including quoted lambdas)? All key bindings (including menu ones) should be to named functions, I think. That allows inspection via `C-h k' and the user can jump to the function definition to see what it does. > Attached a quick rough search for candidates (search for "-->") - is any > of them problematic? All of them should be changed, I think, although the tab-bar-make-keymap-1 looks a bit difficult to deal with. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Fri Jun 20 07:26:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 07 Nov 2019 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 29 23:04:48 2020 Received: (at control) by debbugs.gnu.org; 1 Mar 2020 04:04:49 +0000 Received: from localhost ([127.0.0.1]:35670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j8FqS-0005F3-M8 for submit@debbugs.gnu.org; Sat, 29 Feb 2020 23:04:48 -0500 Received: from ted.gofardesign.uk ([67.225.143.91]:48646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j8FqQ-0005Ek-W3; Sat, 29 Feb 2020 23:04:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To: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=4snfURNS7+1amvUmr4K7jtrvDWgn2EtkMld3zZ9zW7Q=; b=P+h0G+oypZUYC5tXJqOUsa7CqK dnqS7XTYBLPimaMceKu/CROA7L7o/hp05YdmwoIW7i05X5dcWq5O1YABuEn1RexWei7RuvzY4FPus 64RaTsKlFNRV+e0emyhLphVMD3ra1oMqQKaahcvRmzKPJ8hIwGQ1MOkHFJ1kZm0sW1LB6LYYl/mSk 2XdF8a8dvDaNKkMd0DfrgxqxTQ0w2Rq3STWCLz3EzOLJVSawVPwI1aXSdc1PTk+1oTYGgWoNv2eyj VLw40AX9j9+nHU5XzUV2ecwO59691/3YSrIwbiAE2QcJ3q+FscDMjWiUHCBBuBAHpTU5R23TFTWkf N9np+phQ==; Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:40682 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1j8FqL-000WUX-3C; Sat, 29 Feb 2020 23:04:41 -0500 From: Stefan Kangas To: Eli Zaretskii Subject: Re: bug#39848: 26.3; Provide better help for menu-bar, e.g., Options > Line Wrapping in This Buffer In-Reply-To: <834kv8eo7q.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 01 Mar 2020 05:41:29 +0200") References: <62a1ef4d-e9fa-4757-977d-dcb9d3e4aa52@default> <834kv8eo7q.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Date: Sun, 01 Mar 2020 05:04:38 +0100 Message-ID: <8736as67qh.fsf@stefankangas.se> MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control Cc: 39848@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) unarchive 13841 forcemerge 13841 39848 thanks Eli Zaretskii writes: > This is already fixed in Emacs 27. Indeed, so I'm merging this bug with the previous one. Best regards, Stefan Kangas From unknown Fri Jun 20 07:26:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 30 Mar 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator