From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: What is an "input event"? Date: Fri, 23 Nov 2018 08:41:27 +0100 Message-ID: <5BF7AF27.7010108@gmx.at> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1542958791 6246 195.159.176.226 (23 Nov 2018 07:39:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2018 07:39:51 +0000 (UTC) To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 23 08:39:47 2018 Return-path: Envelope-to: ged-emacs-devel@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 1gQ642-0001Vt-8U for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2018 08:39:46 +0100 Original-Received: from localhost ([::1]:50848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQ668-00057c-U1 for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2018 02:41:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQ662-00057L-2e for emacs-devel@gnu.org; Fri, 23 Nov 2018 02:41:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQ65y-00034R-SR for emacs-devel@gnu.org; Fri, 23 Nov 2018 02:41:50 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:52851) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gQ65y-00031m-Ij for emacs-devel@gnu.org; Fri, 23 Nov 2018 02:41:46 -0500 Original-Received: from [192.168.1.101] ([213.162.73.4]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MHXd2-1gRBUd0MVo-003JkL; Fri, 23 Nov 2018 08:41:39 +0100 In-Reply-To: X-Provags-ID: V03:K1:7z7VnVtXb1Tkwwl1JQxo28vg6lKS9yKCLrJtomhXgK41qkxQumd 5suIoWcF8W04mTxXAoMnlSuX1xdLhc9DMfWu08saZaNXmByThfjxwXlhd7BUa66+DQl1JrV yXrPJ1p+OkpSdYxhjacvAkKxExzhjSk1DAKgDMlKMfe+SNUjJwsEPuwwgOEvkt3a+XXx8SV fkGFY0KCIjcA0VSBX00Pg== X-UI-Out-Filterresults: notjunk:1;V03:K0:aBv5IlViEeQ=:7iILUencguqDolbgjqSFVA 3d36z8xPceLw7wxamVj7ezjgpejnQ4/8aCqaKQ4w0V+rByHUxwdcUdjXrDH7N3xGrkyoH4TLR BKhkddRr28XH84I7fBLMengoUDXbGJ01W38KTnl6nLyiCZj22OvAjifKFHZEfUThSOkIu59sj 4gHFVPHUixExXjP3yHkCQ3W/5akhzY491brRhRin1gHb4GdH3Qb9N5h03AKgah6KAdQLyd48g qtsxNyMDQst1TH3SD8qE5sL68nzMKkaxeqFXKizxNiLNSJTgSxG4YqmSIJAm9zyzrm9XqnM9+ k72MC5mIm4YVy1XwxhAb4XzIYmSeiIs/6RkEg30jRv0mVb6b+3tKYns+PnitlVer+N/sQX0lr lvoBSjYlAmETF9Yt1n7mu6jOh+5aRsMCuaoOgMv4h3PqOG6qwSVspOoVCRXcx6PvvfO0S/BNh TDPm78Ykbs4Ll/Nu9A+S2ERfvm+1r1CxopyoryWEMB9xucPfqzGzmZYmdaQ/KI1cP/omEGF8d yvJ2nwL8aBYd0EEnLTi5DhYRTk305rStZkWJBV8334ysnuC5MF5aS9+IxF7bJ6KImZPBgXIO7 pO8Ju1Jd/2vAjEQnCxjWPnjCx87y8FJHvJRhJyA4h45YVQs8cvxIyW8nioMCEVDl726WNOWnU xwXgQMvWlrTIVbsiewlWdZjdfRM8NezNp25n1EBogWgXSE6xMZfAvKWpCZWbjiK9My/MlXjp3 QjQKuLCxoY01jxmv7gKE24NTnHiNfV2OGHOuDv9tBTceBevJa16w/l7LMPh2IO3kdZd72v7t X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.21 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:231309 Archived-At: > Looking at the doc of last-repeatable-command I think we should clarif= y > what we mean by "input event". The docstring says: > > Last command that may be repeated. > The last command executed that was not bound to an input event. > This is the command =E2=80=98repeat=E2=80=99 will try to repeat. > Taken from a previous value of =E2=80=98real-this-command=E2=80=99= =2E > > and the manual says: > > This variable stores the most recently executed command that was = not > part of an input event. This is the command @code{repeat} will t= ry to > repeat, @xref{Repeating,,, emacs, The GNU Emacs Manual}. > > but according to the source code, this variable holds the last command= > that was run via a "simple" event such as a keyboard key rather than > a "complex" event like a mouse click (the test is simply CONSP). > > Do we somewhere define "input event" to mean an event with parameters?= > I thought keyboard keys are also "input events". IIRC this was to avoid repeating commands like 'handle-switch-frame'. How should we verbally distinguish such commands from the ones we want to consider repeatable? martin