From unknown Sun Jun 22 17:18:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26626: 24.5; doc of `last-command-event' and `last-nonmenu-event' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Apr 2017 17:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26626 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 26626@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149296893728268 (code B ref -1); Sun, 23 Apr 2017 17:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Apr 2017 17:35:37 +0000 Received: from localhost ([127.0.0.1]:36696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2LQ8-0007Lr-NN for submit@debbugs.gnu.org; Sun, 23 Apr 2017 13:35:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2LQ6-0007Le-L7 for submit@debbugs.gnu.org; Sun, 23 Apr 2017 13:35:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2LQ0-00004r-ST for submit@debbugs.gnu.org; Sun, 23 Apr 2017 13:35:29 -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.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37720) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d2LQ0-0008WT-PI for submit@debbugs.gnu.org; Sun, 23 Apr 2017 13:35:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2LPz-0006Mn-N5 for bug-gnu-emacs@gnu.org; Sun, 23 Apr 2017 13:35:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2LPw-0008Vy-K2 for bug-gnu-emacs@gnu.org; Sun, 23 Apr 2017 13:35:27 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:20317) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d2LPw-0008Vs-BQ for bug-gnu-emacs@gnu.org; Sun, 23 Apr 2017 13:35:24 -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 v3NHZMYk016453 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 23 Apr 2017 17:35:22 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id v3NHZMcb006012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 23 Apr 2017 17:35:22 GMT Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id v3NHZKhx032481 for ; Sun, 23 Apr 2017 17:35:21 GMT MIME-Version: 1.0 Message-ID: <036c27e0-4509-45e8-942e-9b454b34b0ef@default> Date: Sun, 23 Apr 2017 10:35:19 -0700 (PDT) From: Drew Adams X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6767.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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: -4.0 (----) The doc is not very clear - both (elisp) `Command Loop Info' and the doc strings. The essential difference in the descriptions seems to be the last input event read "as part of a key sequence" versus read "as part of a command". But "read as part of a command" is unclear. Does it mean read by a command (e.g., by a call to `read-char' within the command definition)? No. But that's all I can think of, when reading that description. The doc of `last-nonmenu-event' is pretty clear. Or at least it is before reading also the doc of `last-command-event' and trying to make sense of that. Even the name of the latter is unclear - what's a "command event"? The example given for `last-command-event' suggests that what is meant is the last event in the key sequence that invoked/initiated a command. I think that's closer to what the meaning/behavior is. In GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/usr --host=3Di686-pc-mingw32' From unknown Sun Jun 22 17:18:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26626: 24.5; doc of `last-command-event' and `last-nonmenu-event' Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jul 2019 09:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26626 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Drew Adams Cc: 26626@debbugs.gnu.org Received: via spool by 26626-submit@debbugs.gnu.org id=B26626.156413359711798 (code B ref 26626); Fri, 26 Jul 2019 09:34:01 +0000 Received: (at 26626) by debbugs.gnu.org; 26 Jul 2019 09:33:17 +0000 Received: from localhost ([127.0.0.1]:40860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqwbF-00034E-Ka for submit@debbugs.gnu.org; Fri, 26 Jul 2019 05:33:17 -0400 Received: from quimby.gnus.org ([80.91.231.51]:58256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqwbB-000340-JP for 26626@debbugs.gnu.org; Fri, 26 Jul 2019 05:33:17 -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 1hqwb6-0004y0-HQ; Fri, 26 Jul 2019 11:33:11 +0200 From: Lars Ingebrigtsen References: <036c27e0-4509-45e8-942e-9b454b34b0ef@default> Date: Fri, 26 Jul 2019 11:33:07 +0200 In-Reply-To: <036c27e0-4509-45e8-942e-9b454b34b0ef@default> (Drew Adams's message of "Sun, 23 Apr 2017 10:35:19 -0700 (PDT)") Message-ID: <87v9vpnnsc.fsf@mouse.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: Drew Adams writes: > The doc is not very clear - both (elisp) `Command Loop Info' and the doc > strings. I think the manual is pretty clear: Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@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 (-) Drew Adams writes: > The doc is not very clear - both (elisp) `Command Loop Info' and the doc > strings. I think the manual is pretty clear: --- @defvar last-command-event This variable is set to the last input event that was read by the command loop as part of a command. The principal use of this variable is in @code{self-insert-command}, which uses it to decide which character to insert. @example @group last-command-event ;; @r{Now use @kbd{C-u C-x C-e} to evaluate that.} @result{} 5 @end group @end example @noindent The value is 5 because that is the @acronym{ASCII} code for @kbd{C-e}. @end defvar --- The example helps a lot. > The essential difference in the descriptions seems to be the last input > event read "as part of a key sequence" versus read "as part of a > command". But "read as part of a command" is unclear. Does it mean > read by a command (e.g., by a call to `read-char' within the command > definition)? No. But that's all I can think of, when reading that > description. > > The doc of `last-nonmenu-event' is pretty clear. Or at least it is > before reading also the doc of `last-command-event' and trying to make > sense of that. Even the name of the latter is unclear - what's a > "command event"? > > The example given for `last-command-event' suggests that what is meant > is the last event in the key sequence that invoked/initiated a command. > I think that's closer to what the meaning/behavior is. The variable doc string isn't very helpful; no. I've now changed it to the following on the trunk: Last input event that was part of a command key sequence. See Info node `(elisp)Command Loop Info'. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 05:33:22 2019 Received: (at control) by debbugs.gnu.org; 26 Jul 2019 09:33:22 +0000 Received: from localhost ([127.0.0.1]:40863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqwbJ-00034X-TP for submit@debbugs.gnu.org; Fri, 26 Jul 2019 05:33:22 -0400 Received: from quimby.gnus.org ([80.91.231.51]:58270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqwbG-000347-3p for control@debbugs.gnu.org; Fri, 26 Jul 2019 05:33:18 -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 1hqwbC-0004y7-IS for control@debbugs.gnu.org; Fri, 26 Jul 2019 11:33:16 +0200 Date: Fri, 26 Jul 2019 11:33:14 +0200 Message-Id: <87tvb9nns5.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #26626 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 26626 fixed close 26626 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 26626 fixed close 26626 27.1 quit From unknown Sun Jun 22 17:18:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26626: 24.5; doc of `last-command-event' and `last-nonmenu-event' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jul 2019 14:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26626 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Lars Ingebrigtsen Cc: 26626@debbugs.gnu.org Received: via spool by 26626-submit@debbugs.gnu.org id=B26626.156415143125826 (code B ref 26626); Fri, 26 Jul 2019 14:31:02 +0000 Received: (at 26626) by debbugs.gnu.org; 26 Jul 2019 14:30:31 +0000 Received: from localhost ([127.0.0.1]:43106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr1Et-0006iU-0h for submit@debbugs.gnu.org; Fri, 26 Jul 2019 10:30:31 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:51458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr1Er-0006iI-Me for 26626@debbugs.gnu.org; Fri, 26 Jul 2019 10:30:30 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6QETBwg118889; Fri, 26 Jul 2019 14:30:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=rHdN5PoQ7xJqRpfZPgYERrF1l+Rm2iQLk3rz+cArIXA=; b=AUaRt8uzxoY6PbeOXtOeWcIUEhtx9aIx2eb0VxGWeCZjQ71u081b4eIIDnJH9IGBS5sd Qw+L0yk3bUmQkQbPEZLBZApfrrvA0b2znRKmUwiu9Z8zYg/U0fh7u38ESPHL9+37kWQ0 ZBKSOKulYUyMtYNtNOlcvderOWVQbHF455g0ME76/wstJQuriVA43g0MjAWZQG/BoO02 smP+xaCBLk9T1ZKNz7X3xuM0JId875WWrRmRHoWBHA7cjDU/GVQNoNircjnEPBWf8Gxm KaYNiVToY6Qe+vFXjAPF8Wsg8LnP3en2OjhtHxdE0zfz9ad0HayOvshovW5af88MjtP4 Cw== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2120.oracle.com with ESMTP id 2tx61cah5b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Jul 2019 14:30:23 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6QERwoj045021; Fri, 26 Jul 2019 14:30:22 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3030.oracle.com with ESMTP id 2tx60yy9rs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Jul 2019 14:30:22 +0000 Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x6QEULHc023225; Fri, 26 Jul 2019 14:30:22 GMT MIME-Version: 1.0 Message-ID: <9b9bda4c-235c-4ac6-be33-e7468e6a15d5@default> Date: Fri, 26 Jul 2019 07:30:20 -0700 (PDT) From: Drew Adams References: <036c27e0-4509-45e8-942e-9b454b34b0ef@default> <87v9vpnnsc.fsf@mouse.gnus.org> In-Reply-To: <87v9vpnnsc.fsf@mouse.gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4873.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9330 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907260178 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9330 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907260178 X-Spam-Score: -2.3 (--) 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 (---) > > The essential difference in the descriptions seems to be the last input > > event read "as part of a key sequence" versus read "as part of a > > command". But "read as part of a command" is unclear. Does it mean > > read by a command (e.g., by a call to `read-char' within the command > > definition)? No. But that's all I can think of, when reading that > > description. > > > > The doc of `last-nonmenu-event' is pretty clear. Or at least it is > > before reading also the doc of `last-command-event' and trying to make > > sense of that. Even the name of the latter is unclear - what's a > > "command event"? > > > > The example given for `last-command-event' suggests that what is > > meant is the last event in the key sequence that invoked/initiated a > > command. I think that's closer to what the meaning/behavior is. >=20 > The variable doc string isn't very helpful; no. >=20 > I've now changed it to the following on the trunk: >=20 > Last input event that was part of a command key sequence. > See Info node `(elisp)Command Loop Info'. There's no such thing as a "command key sequence", as opposed, one imagines, to a "non-command key sequence". A key sequence that is complete is always bound to a command. Or did you mean to suggest a complete key sequence, as opposed to an incomplete sequence: a key-sequence prefix? There are events that are not key sequences. That distinction is valid and important. But are there (complete) key sequences that are not bound to keys (including menu and mouse actions)? I don't think so. I still think that the text for this should borrow from what is said for `last-nonmenu-event'. IIUC, `last-command-event' is the "last input event read as part of a key sequence". IOW, same as `last-nonmenu-event', but without the "nonmenu" part. Isn't that the essential difference? And yes, the Info description should be changed, not just the doc string, for the reasons given in the bug description - "as part of a command" is misleading or meaningless. See above for a suggestion: make it similar to what we say for `last-nonmenu-event'. From unknown Sun Jun 22 17:18:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26626: 24.5; doc of `last-command-event' and `last-nonmenu-event' Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jul 2019 14:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26626 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Drew Adams Cc: 26626@debbugs.gnu.org, Lars Ingebrigtsen Received: via spool by 26626-submit@debbugs.gnu.org id=B26626.15641525623430 (code B ref 26626); Fri, 26 Jul 2019 14:50:02 +0000 Received: (at 26626) by debbugs.gnu.org; 26 Jul 2019 14:49:22 +0000 Received: from localhost ([127.0.0.1]:43138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr1X7-0000tG-QY for submit@debbugs.gnu.org; Fri, 26 Jul 2019 10:49:22 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:50171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr1X5-0000t7-AN for 26626@debbugs.gnu.org; Fri, 26 Jul 2019 10:49:20 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 45wBmt0dsSz1rJD6; Fri, 26 Jul 2019 16:49:17 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 45wBms6283z1qqkS; Fri, 26 Jul 2019 16:49:17 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id xyQgeitHEOUC; Fri, 26 Jul 2019 16:49:17 +0200 (CEST) X-Auth-Info: ORtaBYPc3DJdS1kQTO3rxQmZzlbdBkybLNSCmrUzyxqeEYyyq0Pn6IiZRTkWiZ88 Received: from igel.home (ppp-46-244-187-146.dynamic.mnet-online.de [46.244.187.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 26 Jul 2019 16:49:16 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 0C3A82C1134; Fri, 26 Jul 2019 16:49:14 +0200 (CEST) From: Andreas Schwab References: <036c27e0-4509-45e8-942e-9b454b34b0ef@default> <87v9vpnnsc.fsf@mouse.gnus.org> <9b9bda4c-235c-4ac6-be33-e7468e6a15d5@default> X-Yow: C'MON, everybody!! I've flown in LESLIE GORE and two dozen KOSHER BUTCHERS! They'll be doing intricate MILITARY MANEUVERS to the soundtrack from "OKLAHOMA"!! Date: Fri, 26 Jul 2019 16:49:14 +0200 In-Reply-To: <9b9bda4c-235c-4ac6-be33-e7468e6a15d5@default> (Drew Adams's message of "Fri, 26 Jul 2019 07:30:20 -0700 (PDT)") Message-ID: <87k1c4svf9.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.4 (/) 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.4 (-) On Jul 26 2019, Drew Adams wrote: > There's no such thing as a "command key sequence", > as opposed, one imagines, to a "non-command key > sequence". A key sequence that is complete is > always bound to a command. Not true. Everything that isn't a prefix key is a complete key, bound or not. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From unknown Sun Jun 22 17:18:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26626: 24.5; doc of `last-command-event' and `last-nonmenu-event' Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jul 2019 14:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26626 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Drew Adams Cc: 26626@debbugs.gnu.org, Lars Ingebrigtsen Received: via spool by 26626-submit@debbugs.gnu.org id=B26626.15641526293564 (code B ref 26626); Fri, 26 Jul 2019 14:51:02 +0000 Received: (at 26626) by debbugs.gnu.org; 26 Jul 2019 14:50:29 +0000 Received: from localhost ([127.0.0.1]:43142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr1YD-0000vP-5s for submit@debbugs.gnu.org; Fri, 26 Jul 2019 10:50:29 -0400 Received: from mail-io1-f54.google.com ([209.85.166.54]:39503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr1YB-0000vD-W1 for 26626@debbugs.gnu.org; Fri, 26 Jul 2019 10:50:28 -0400 Received: by mail-io1-f54.google.com with SMTP id f4so105352849ioh.6 for <26626@debbugs.gnu.org>; Fri, 26 Jul 2019 07:50:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=qpg6gTsf3wQPgJiBF7zRq3MPz8T/GWKQAKKIRJZ3hH8=; b=jUAdlVqMMXHMvuTsNafdNGtM1admSaeO9Jf8OxR0JqE1aL6YFHgNIPjGOSH3kjDiCm x1C34avVyAzwmZwKZbffhDLzO2aKp8hT7eWBMmuhpP/gwynh/NNRmLc9QgEI7tMCGYV6 w5k6DR8AIAeX8+Aa+GFE58KHVqhrByzFjCVjA0dtlzczVM0wVAoESlRUh09zeFZgEwEF yI5lsnRXn3xRzg7Ik6lqvCayh9ryrpD4V/Pnex3IN3sMScwXZHeNCRPnOXQg3PaxRhfW +VWxdqEloM8A45BroFnZVgybTgnb9cr+PoXyeEWoxtNyRV5juD24ZwvfV65bByl/OxL4 HZpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=qpg6gTsf3wQPgJiBF7zRq3MPz8T/GWKQAKKIRJZ3hH8=; b=sRYdJym54BCZgj7I/BTapQEcrLfivdDoPf4jLRU07EJK6t5hoWK9VXkfnYE/zxCGfh /rFdpSzCKDxWkZkzHkRGqfnAX/UTvm4nkueW+vJOvsSml9eHCVUhwVR4hMr4+Bojg0LF fkbQJ7/LBZBajJ2iwC8304N0HHWF4uWxY1nzZFOePqafYzFTT0OwslVqK71a2yoSdXhk T1ajFHGwhEyEvIfNrnP5q6HBFCLVYuU0f7TNLk1m5Dtf6JYJnQAVJYxpyesOInYNC7Gj ZHifcEywB++xcAlyBf6SIvZ6AkGzzjjvakz3+hlyxg4lREf6VFkG/nWEsFv7X6y1KfYQ JdwA== X-Gm-Message-State: APjAAAUBV/DcysY48SIV9Vib/ya7udQli4KYiRV7c+DiN/1NKZ4dnIr7 qwlrTkS1WiQVJ/Pt+5GJ4i9B0Ra0 X-Google-Smtp-Source: APXvYqz2kM5acPQrcdI/1HmoU6XVKaWrlVS+1M8oXLRAyjKEQIYNmIQNVAad7g9OCF9w9IvD5njMWQ== X-Received: by 2002:a5e:8c16:: with SMTP id n22mr33862208ioj.105.1564152622200; Fri, 26 Jul 2019 07:50:22 -0700 (PDT) Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.51.196]) by smtp.gmail.com with ESMTPSA id p25sm43297054iol.48.2019.07.26.07.50.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Jul 2019 07:50:21 -0700 (PDT) From: Noam Postavsky References: <036c27e0-4509-45e8-942e-9b454b34b0ef@default> <87v9vpnnsc.fsf@mouse.gnus.org> <9b9bda4c-235c-4ac6-be33-e7468e6a15d5@default> Date: Fri, 26 Jul 2019 10:50:21 -0400 In-Reply-To: <9b9bda4c-235c-4ac6-be33-e7468e6a15d5@default> (Drew Adams's message of "Fri, 26 Jul 2019 07:30:20 -0700 (PDT)") Message-ID: <858sskkfyq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) 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 (-) Drew Adams writes: > There's no such thing as a "command key sequence", > as opposed, one imagines, to a "non-command key > sequence". It's just what you said in the OP: "the key sequence that invoked/initiated a command". > I still think that the text for this should borrow > from what is said for `last-nonmenu-event'. IIUC, > `last-command-event' is the "last input event read > as part of a key sequence". That would be misleading. (list :last-command-event last-command-event :last-input-event last-input-event :last-nonmenu-event last-nonmenu-event (read-key-sequence "Key seq: ") :last-command-event last-command-event :last-input-event last-input-event :last-nonmenu-event last-nonmenu-event) ; C-x C-e => (:last-command-event 5 :last-input-event 5 :last-nonmenu-event 5 "\^C\^C" :last-command-event 5 :last-input-event 3 :last-nonmenu-event 3) From unknown Sun Jun 22 17:18:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26626: 24.5; doc of `last-command-event' and `last-nonmenu-event' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jul 2019 15:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26626 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Andreas Schwab Cc: 26626@debbugs.gnu.org, Lars Ingebrigtsen Received: via spool by 26626-submit@debbugs.gnu.org id=B26626.156415544816499 (code B ref 26626); Fri, 26 Jul 2019 15:38:02 +0000 Received: (at 26626) by debbugs.gnu.org; 26 Jul 2019 15:37:28 +0000 Received: from localhost ([127.0.0.1]:43197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr2Hg-0004I3-E9 for submit@debbugs.gnu.org; Fri, 26 Jul 2019 11:37:28 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:36962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr2Hc-0004Hm-Ap for 26626@debbugs.gnu.org; Fri, 26 Jul 2019 11:37:25 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6QFSYkO023600; Fri, 26 Jul 2019 15:37:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=dsnKcwlSQjNhTJWubsY/T581Ed9X1opdyDzTTrpTo7Y=; b=2uu1HXWNre7IMhxmWYq9Vp2RNIkidWGlP82Ftd7FJAoTW/Zp5FMOOQaKWrvqZAcu8jiW 1NJGvqvyIOTxaSyUztmVpYCA8v90VsnXH7DXFHCCSpiIBNYrFzKXt3H68QxmrsL+vJym PBu+cjN/dcVvus/rMMq2gnTj+yOZCBcv+elFJdDij1IQi07oEhHVveI+uUEdr2FGG8Ct N9SVyCbNJoS/n9kBOvDeFf9bNCC7nhgMC//AR4dFjYHPDJyGhWye1/zRSWF4TGjxCTrr XNifdmngg9piwsn6RzVY+hWDyckAnWJ1aW1wU1NVha6bPqzZuq2FvU9BMlTJ/kxCFRZu zg== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2120.oracle.com with ESMTP id 2tx61cbjrs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Jul 2019 15:37:17 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6QFWrCo027909; Fri, 26 Jul 2019 15:37:16 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 2tycv83mn7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Jul 2019 15:37:16 +0000 Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x6QFbE2f015808; Fri, 26 Jul 2019 15:37:15 GMT MIME-Version: 1.0 Message-ID: <655ff364-e380-4278-bc2a-2cabddf6febd@default> Date: Fri, 26 Jul 2019 08:37:14 -0700 (PDT) From: Drew Adams References: <036c27e0-4509-45e8-942e-9b454b34b0ef@default> <87v9vpnnsc.fsf@mouse.gnus.org> <9b9bda4c-235c-4ac6-be33-e7468e6a15d5@default> <87k1c4svf9.fsf@igel.home> In-Reply-To: <87k1c4svf9.fsf@igel.home> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4873.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9330 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=763 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907260191 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9330 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=818 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907260191 X-Spam-Score: -2.3 (--) 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 (---) > > There's no such thing as a "command key sequence", > > as opposed, one imagines, to a "non-command key > > sequence". A key sequence that is complete is > > always bound to a command. >=20 > Not true. Everything that isn't a prefix key is a complete key, bound > or not. Right. I misspoke. I didn't mean that only bound key sequences are complete key sequences. The point is that there's no such thing as a "command" key sequence", just as there's no such thing as a non-command key sequence. Key sequences can be bound only to commands - not to anything else. Commands can be bound to key sequences - not to anything else. From unknown Sun Jun 22 17:18:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26626: 24.5; doc of `last-command-event' and `last-nonmenu-event' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jul 2019 15:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26626 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Noam Postavsky Cc: 26626@debbugs.gnu.org, Lars Ingebrigtsen Received: via spool by 26626-submit@debbugs.gnu.org id=B26626.156415599317471 (code B ref 26626); Fri, 26 Jul 2019 15:47:02 +0000 Received: (at 26626) by debbugs.gnu.org; 26 Jul 2019 15:46:33 +0000 Received: from localhost ([127.0.0.1]:43226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr2QS-0004Xj-SR for submit@debbugs.gnu.org; Fri, 26 Jul 2019 11:46:33 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:56582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr2QP-0004XU-83 for 26626@debbugs.gnu.org; Fri, 26 Jul 2019 11:46:29 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6QFgPXt154013; Fri, 26 Jul 2019 15:46:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=D4y1YPPq0Er8scMo39PnxvxozFSwIJntR+6Vhdt/i7U=; b=o1VoXpJ+cSQvnj7ToBPm3otpV4GKvoBBLjnfmoj9FQTh9BdGbqLjJkOiz3HNN88PaciU mQ05Ro8XBZZVYzoRTIWKvD9r0BMtt7ReSZ/k+Mqv5ro1AGWCwxtkoPFvNv46yDzfm/ho 8dg0H8EtjE3kEQ9/KT6q5V7YvMF15SeVpro7/WBj5wPDZ3SHs6NPCa3JR6nePL8+jgo7 UJRVrgBw8PG1zeTQ8BHLYBwzOMp08h95N4OfggSrZtYbesYPCVoYU5cAxxq0ucpFnBlF cQlp/Qb8B/MSEvaIqEWK/aE8NAL9GS6n8X3pILTE6y5Ond3mGEyuAzXahsF+OE0s3mz6 vA== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 2tx61cbn1m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Jul 2019 15:46:23 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6QFWrjf027936; Fri, 26 Jul 2019 15:46:23 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 2tycv83xfp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Jul 2019 15:46:22 +0000 Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x6QFkLhV015993; Fri, 26 Jul 2019 15:46:22 GMT MIME-Version: 1.0 Message-ID: <29db676e-f1f3-4dfc-b494-fb2c97f59b2e@default> Date: Fri, 26 Jul 2019 08:46:21 -0700 (PDT) From: Drew Adams References: <036c27e0-4509-45e8-942e-9b454b34b0ef@default> <87v9vpnnsc.fsf@mouse.gnus.org> <9b9bda4c-235c-4ac6-be33-e7468e6a15d5@default> <858sskkfyq.fsf@gmail.com> In-Reply-To: <858sskkfyq.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4873.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9330 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907260191 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9330 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907260191 X-Spam-Score: -2.3 (--) 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 (---) > > There's no such thing as a "command key sequence", > > as opposed, one imagines, to a "non-command key > > sequence". >=20 > It's just what you said in the OP: "the key sequence that > invoked/initiated a command". Yes, that's still the best way to put it, I think. > > I still think that the text for this should borrow > > from what is said for `last-nonmenu-event'. IIUC, > > `last-command-event' is the "last input event read > > as part of a key sequence". >=20 > That would be misleading. You're right. It's the first input event read as part of a key sequence - not the last such. The larger point was that it is an input event read as part of a key sequence. But yes, you're absolutely right that the text for `last-nonmenu-event' needs more of a tweak than the one I gave it. From unknown Sun Jun 22 17:18:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26626: 24.5; doc of `last-command-event' and `last-nonmenu-event' Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jul 2019 15:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26626 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Drew Adams Cc: 26626@debbugs.gnu.org, Lars Ingebrigtsen Received: via spool by 26626-submit@debbugs.gnu.org id=B26626.156415625117868 (code B ref 26626); Fri, 26 Jul 2019 15:51:01 +0000 Received: (at 26626) by debbugs.gnu.org; 26 Jul 2019 15:50:51 +0000 Received: from localhost ([127.0.0.1]:43230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr2Ud-0004e6-GY for submit@debbugs.gnu.org; Fri, 26 Jul 2019 11:50:51 -0400 Received: from mail-io1-f52.google.com ([209.85.166.52]:34561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr2Ub-0004du-HX for 26626@debbugs.gnu.org; Fri, 26 Jul 2019 11:50:49 -0400 Received: by mail-io1-f52.google.com with SMTP id k8so105790702iot.1 for <26626@debbugs.gnu.org>; Fri, 26 Jul 2019 08:50:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=0zPqYkSW6uuVfrl++5DirMRQhydRZ8iWd4uIDNN+HWM=; b=ovVosfgtz2DLIilP7abm3cxkFRUacswotSZix4MAjQrP/f6bWeSTWy5wmFJy3IYP/X ceWPXO3PO3+lTROxFi6SsG0I2y14j5wRCbNPmzjiOdl6Zh9nBbYbWMq8jbqmPmuoEIt6 +NzcR797YXoNKRMbO+CAjsldZ+aFf4PDJDIHwtH6Y6xLmigqBhgtpPWSUcpqVs8JUmNF cH76yno1i2wuV8uFnmt7mZPuD/yVLh3RRwKbadyZu5zu0O4adlocvcHWBEdcv7fLz9IP IzKq2OoGOE6wswXWEUm5aLvvQUrjIPRTm/0epd38Y7zC4thHqlZV9th7dzpV7QmZhGBJ YJ+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=0zPqYkSW6uuVfrl++5DirMRQhydRZ8iWd4uIDNN+HWM=; b=rl9y/42KYrq37oQGpdsgaYDRiBjHlP+fWnGMCDN7EFBAOuzC5qwS0L49sdYclK0ZYc IvWpqDrb74XNJhIk8z2GGIILXyAYteEkw7bsJIJqZ105zE0Pl6vnSjIXvxJSYC6J7AXp JO8xQQwOTT80QUYZa3baM3qsLDLgyWuDxvjPzAyuHYf88xEiFPC1/B4GOYTJxU649q2g rt3ZJvugOJJ0EsroFBEsv8qPYfJjltG5wSU79ZUjyeOH22glq1TrXxW19eKyRKF+7aWN z5wXF/wWZQMRhglSatl1e6ZEmYMljNaKYQm+S3a6Z19RK1MCc8KXeN8IkE0dD6HNAYC7 NgCw== X-Gm-Message-State: APjAAAXW7tmWY2v/SAblvmi4frjpP6OQ0Uj6Td/wIAnPvFlBHDh90oXr 7Y9GyN2egctPDGYYMR8AY/A= X-Google-Smtp-Source: APXvYqy36iZ//HscNlqYbJhP0vWEGZMS9iTfgtaW+OJtXc/W+vFvUnWgHOOjxOosM/LwKGQqMhnONg== X-Received: by 2002:a05:6602:2248:: with SMTP id o8mr23556295ioo.90.1564156243834; Fri, 26 Jul 2019 08:50:43 -0700 (PDT) Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.51.196]) by smtp.gmail.com with ESMTPSA id p63sm53498867iof.45.2019.07.26.08.50.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Jul 2019 08:50:42 -0700 (PDT) From: Noam Postavsky References: <036c27e0-4509-45e8-942e-9b454b34b0ef@default> <87v9vpnnsc.fsf@mouse.gnus.org> <9b9bda4c-235c-4ac6-be33-e7468e6a15d5@default> <858sskkfyq.fsf@gmail.com> <29db676e-f1f3-4dfc-b494-fb2c97f59b2e@default> Date: Fri, 26 Jul 2019 11:50:42 -0400 In-Reply-To: <29db676e-f1f3-4dfc-b494-fb2c97f59b2e@default> (Drew Adams's message of "Fri, 26 Jul 2019 08:46:21 -0700 (PDT)") Message-ID: <8536iskd65.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) 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 (-) Drew Adams writes: >> > `last-command-event' is the "last input event read >> > as part of a key sequence". >> >> That would be misleading. > > You're right. It's the first input event read > as part of a key sequence - not the last such. No, it's the last event read as part "the key sequence that invoked/initiated a command". But I see that my example was bad, because I gave a key sequence (C-c C-c) which has the same event in both first and last place. From unknown Sun Jun 22 17:18:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26626: 24.5; doc of `last-command-event' and `last-nonmenu-event' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jul 2019 15:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26626 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Noam Postavsky Cc: 26626@debbugs.gnu.org, Lars Ingebrigtsen Received: via spool by 26626-submit@debbugs.gnu.org id=B26626.156415640918144 (code B ref 26626); Fri, 26 Jul 2019 15:54:01 +0000 Received: (at 26626) by debbugs.gnu.org; 26 Jul 2019 15:53:29 +0000 Received: from localhost ([127.0.0.1]:43240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr2XB-0004ia-8A for submit@debbugs.gnu.org; Fri, 26 Jul 2019 11:53:29 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:39732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr2X8-0004iN-Ry for 26626@debbugs.gnu.org; Fri, 26 Jul 2019 11:53:27 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6QFnaob161676; Fri, 26 Jul 2019 15:53:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=660UyOIsduUJKJBTQW1jBeIiXou5Np+0wTZqpMiRJzY=; b=jzft5ezYTL+dOx2ioOybvJ3uZSbtYXOQc8e4EgtMoRsVy9+TonewidqxxbwjvgB6QAhs FsAWbQi/5VxpguPMpXlTFktHFKvWBtKBXRqDd1/lFs/u8qaYnTY/YiMcA6Yv4NougtHV OEjAVLAf8Khmzx2XJp1+/3qqvgZXC9UjTvjmRWetxxUd/nNzQGRPjZA4WJcEaCs8LVeK bUICQc+noRd+8QMFkV9DWctxQIMQ3ANReKoSrZkYLstnZ6f/tR0h5KJC6V867OoGDZpc Y5H97lj/q0inJbcGvuCkv2Pks0+Vw+g+HkNNwOepfjWeCz233/HLs+h5x27p1QeFMOk+ +w== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 2tx61cbqbp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Jul 2019 15:53:21 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6QFrK8a087908; Fri, 26 Jul 2019 15:53:20 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3020.oracle.com with ESMTP id 2tycv84585-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Jul 2019 15:53:20 +0000 Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x6QFrJb5017657; Fri, 26 Jul 2019 15:53:20 GMT MIME-Version: 1.0 Message-ID: <61f6d57a-1b65-471d-b5d7-54eafe9b7bef@default> Date: Fri, 26 Jul 2019 08:53:18 -0700 (PDT) From: Drew Adams References: <036c27e0-4509-45e8-942e-9b454b34b0ef@default> <87v9vpnnsc.fsf@mouse.gnus.org> <9b9bda4c-235c-4ac6-be33-e7468e6a15d5@default> <858sskkfyq.fsf@gmail.com> <29db676e-f1f3-4dfc-b494-fb2c97f59b2e@default> <8536iskd65.fsf@gmail.com> In-Reply-To: <8536iskd65.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4873.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9330 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=878 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907260193 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9330 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=944 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907260192 X-Spam-Score: -2.3 (--) 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 (---) > No, it's the last event read as part "the key sequence that > invoked/initiated a command". But I see that my example was bad, > because I gave a key sequence (C-c C-c) which has the same event in > both first and last place. OK. From unknown Sun Jun 22 17:18:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26626: 24.5; doc of `last-command-event' and `last-nonmenu-event' Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Jul 2019 21:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26626 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Drew Adams Cc: 26626@debbugs.gnu.org, Lars Ingebrigtsen Received: via spool by 26626-submit@debbugs.gnu.org id=B26626.156417741026824 (code B ref 26626); Fri, 26 Jul 2019 21:44:01 +0000 Received: (at 26626) by debbugs.gnu.org; 26 Jul 2019 21:43:30 +0000 Received: from localhost ([127.0.0.1]:43439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr7zu-0006ya-3F for submit@debbugs.gnu.org; Fri, 26 Jul 2019 17:43:30 -0400 Received: from mail-io1-f42.google.com ([209.85.166.42]:36370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr7zr-0006yK-Ub for 26626@debbugs.gnu.org; Fri, 26 Jul 2019 17:43:28 -0400 Received: by mail-io1-f42.google.com with SMTP id o9so4151140iom.3 for <26626@debbugs.gnu.org>; Fri, 26 Jul 2019 14:43:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=8kQVrmCDYaitvsYmILFhZfK/s9S8Ac4qHKlGGp4PrbE=; b=XNF8QVTIGW6iTj5Lx3k85HrS7g8NWoQdk0M4zRcET2xHb6Hl6ckBDgW58e+BzfpjA7 /limQMpCqIQBitenpQFyx2LuAyKKKvPxZyJcBf6A8umNWL0z1Z+2SXRPL78D3mvtclKu jYgcXEZlPAUATpH1HkslBaG9ELCYxJIwod5dB1N4i/mabSs3RtRoE9g+Ba3lxxsMOIVh 0ohfyqmzhnqcKGWCSZ3s2ocQRmqvg0bPHMrDODu/xwU+iXgGN5y1ro8976tYMolOgUCh p5GXvkdRxN4JC43WIZ5j54t/zHV/4jtOaezwx6+rzy072K9MGHy0o98Jpj0q4Uzs7Ivg WiVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=8kQVrmCDYaitvsYmILFhZfK/s9S8Ac4qHKlGGp4PrbE=; b=BNVU8/4HhRCvi5PB99hVj3A6UZnZrsiaEEdiNgIFFBiwsQK7Eo0yOWt+TcK7lgYHVM /P+dHigdY7lP5jAH/qhuI+m6xhKfp+QmvupNltwASQV1iUCyRqdg5lJZDbwO602QAS52 gYvYqIAfcXbpHueKm3Ky9yr+K+YhtVTZNODch4acsye2X8yweSRHAgqrNlqF1EvDvmbG vLvt6elLtv/LZfrfC1YJS9/PqSefngF6ZMwkg74sfFzOUZYq2ZzURxMvfm7BlhFdjdVq 7klie+kDDt2vQlHEL47vHBFKTKHZimTI/mjlwV6wkSTnYq5TC7CFiXj0OKBjda7Z+Qi1 j6eg== X-Gm-Message-State: APjAAAVjYkUk/IkfxPAdo23NeeWo0Z5FICBWs79J4sKwRKkdjfsqvoqb lfjroCT8HVJC5NAGDqa0ELE= X-Google-Smtp-Source: APXvYqwinHwP/PrNz3sF7nARC1des5Cj++zVd99Tb+UI9XyHLDBIBWLjQQys7YCv5O7PXS3FTvylsw== X-Received: by 2002:a6b:6107:: with SMTP id v7mr19134187iob.154.1564177402172; Fri, 26 Jul 2019 14:43:22 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id p25sm44382441iol.48.2019.07.26.14.43.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Jul 2019 14:43:21 -0700 (PDT) From: Noam Postavsky References: <036c27e0-4509-45e8-942e-9b454b34b0ef@default> <87v9vpnnsc.fsf@mouse.gnus.org> <9b9bda4c-235c-4ac6-be33-e7468e6a15d5@default> <858sskkfyq.fsf@gmail.com> <29db676e-f1f3-4dfc-b494-fb2c97f59b2e@default> Date: Fri, 26 Jul 2019 17:43:20 -0400 In-Reply-To: <29db676e-f1f3-4dfc-b494-fb2c97f59b2e@default> (Drew Adams's message of "Fri, 26 Jul 2019 08:46:21 -0700 (PDT)") Message-ID: <87r26cv5dz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) 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 (-) Drew Adams writes: >> > There's no such thing as a "command key sequence", >> > as opposed, one imagines, to a "non-command key >> > sequence". >> >> It's just what you said in the OP: "the key sequence that >> invoked/initiated a command". > > Yes, that's still the best way to put it, I think. I reworded the docstring to say that. d04b0ae7b1 2019-07-26T17:25:08-04:00 "Clarify docstring of last-command-event." https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d04b0ae7b1c8edbf452bd40f5e50f8e750a66e06 From unknown Sun Jun 22 17:18:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26626: 24.5; doc of `last-command-event' and `last-nonmenu-event' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jul 2019 00:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26626 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed To: Noam Postavsky Cc: 26626@debbugs.gnu.org, Lars Ingebrigtsen Received: via spool by 26626-submit@debbugs.gnu.org id=B26626.156418714226277 (code B ref 26626); Sat, 27 Jul 2019 00:26:01 +0000 Received: (at 26626) by debbugs.gnu.org; 27 Jul 2019 00:25:42 +0000 Received: from localhost ([127.0.0.1]:43497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrAWs-0006pl-11 for submit@debbugs.gnu.org; Fri, 26 Jul 2019 20:25:42 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:48978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrAWq-0006pW-5c for 26626@debbugs.gnu.org; Fri, 26 Jul 2019 20:25:40 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6R0PXYU041597; Sat, 27 Jul 2019 00:25:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=YSQMMR+G3sVoQbBLubhYqPJ+cY45pBZms4ViUmqtnZw=; b=5FGIni7B4HKlmmD1y0Z4qi7Ntj4F/Ru/x1gUhxk8toEWzOfs4BUNG3UzqbsZPPPwxh78 NCIHZOiLOTjiDrMx4QDYXj7jIEjz9M77VysYAmj0bomG+4kXK6CnCJfjqvPdoiH577AP 1Ttp/mnLKGehDkh3OYtrSQp2y33rEpWCMoucqXwhkJxIw+5qsbI6TqLTW9vraFnZBAwN BBN3s2LlYoQJG3YqvGBNaW0BmLtmYhCcMTKSfTBeK6OUx+1LwRHTw0+1nDG5l8z2+QF6 or2szC/ifo7QQuLrk+BmY8GVJxBhCPs8+CimCTgC7eQAGOvjWhRIzoMM79s8xU7sniXZ XQ== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 2tx61cdhxm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 27 Jul 2019 00:25:32 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6R0MggN192845; Sat, 27 Jul 2019 00:25:32 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3030.oracle.com with ESMTP id 2tx60ytvsd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 27 Jul 2019 00:25:32 +0000 Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x6R0PTf4022435; Sat, 27 Jul 2019 00:25:31 GMT MIME-Version: 1.0 Message-ID: <4a5b6dfe-3155-4cd0-8015-3f6130c4ebba@default> Date: Sat, 27 Jul 2019 00:25:29 +0000 (UTC) From: Drew Adams References: <036c27e0-4509-45e8-942e-9b454b34b0ef@default> <87v9vpnnsc.fsf@mouse.gnus.org> <9b9bda4c-235c-4ac6-be33-e7468e6a15d5@default> <858sskkfyq.fsf@gmail.com> <29db676e-f1f3-4dfc-b494-fb2c97f59b2e@default> <87r26cv5dz.fsf@gmail.com> In-Reply-To: <87r26cv5dz.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4873.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9330 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=887 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907270003 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9330 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=954 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1907270003 X-Spam-Score: -2.3 (--) 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 (---) > >> It's just what you said in the OP: "the key sequence that > >> invoked/initiated a command". > > > > Yes, that's still the best way to put it, I think. >=20 > I reworded the docstring to say that. Thanks to all for working on this.