From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#26626: 24.5; doc of `last-command-event' and `last-nonmenu-event' Date: Fri, 26 Jul 2019 10:50:21 -0400 Message-ID: <858sskkfyq.fsf@gmail.com> References: <036c27e0-4509-45e8-942e-9b454b34b0ef@default> <87v9vpnnsc.fsf@mouse.gnus.org> <9b9bda4c-235c-4ac6-be33-e7468e6a15d5@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="148394"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) Cc: 26626@debbugs.gnu.org, Lars Ingebrigtsen To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 26 16:51:10 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hr1Ys-000cVY-Mf for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jul 2019 16:51:10 +0200 Original-Received: from localhost ([::1]:40788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hr1Yr-00044Q-9I for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jul 2019 10:51:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57156) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hr1Ym-0003tJ-65 for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2019 10:51:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hr1Yk-00082H-Vr for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2019 10:51:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34326) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hr1Yk-00081R-HD for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2019 10:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hr1Yk-0000wX-FJ for bug-gnu-emacs@gnu.org; Fri, 26 Jul 2019 10:51:02 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 26626-submit@debbugs.gnu.org id=B26626.15641526293564 (code B ref 26626); Fri, 26 Jul 2019 14:51:02 +0000 Original-Received: (at 26626) by debbugs.gnu.org; 26 Jul 2019 14:50:29 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: <9b9bda4c-235c-4ac6-be33-e7468e6a15d5@default> (Drew Adams's message of "Fri, 26 Jul 2019 07:30:20 -0700 (PDT)") 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: 209.51.188.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:163792 Archived-At: 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)