From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#26626: 24.5; doc of `last-command-event' and `last-nonmenu-event' Date: Sun, 23 Apr 2017 10:35:19 -0700 (PDT) Message-ID: <036c27e0-4509-45e8-942e-9b454b34b0ef@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1492968977 4338 195.159.176.226 (23 Apr 2017 17:36:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 23 Apr 2017 17:36:17 +0000 (UTC) To: 26626@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 23 19:36:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2LQb-0000ox-Ni for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Apr 2017 19:36:05 +0200 Original-Received: from localhost ([::1]:40057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2LQh-0006aH-Gf for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Apr 2017 13:36:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2LQc-0006a9-5X for bug-gnu-emacs@gnu.org; Sun, 23 Apr 2017 13:36:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2LQY-00007r-QZ for bug-gnu-emacs@gnu.org; Sun, 23 Apr 2017 13:36:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38497) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d2LQY-00007h-Es for bug-gnu-emacs@gnu.org; Sun, 23 Apr 2017 13:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d2LQY-0007MZ-6o for bug-gnu-emacs@gnu.org; Sun, 23 Apr 2017 13:36:02 -0400 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.149296893728268 (code B ref -1); Sun, 23 Apr 2017 17:36:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Apr 2017 17:35:37 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6767.5000 (x86)] 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:131912 Archived-At: 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'