From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: What is an "input event"? Date: Wed, 21 Nov 2018 11:12:15 -0500 Message-ID: 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 1542816886 2176 195.159.176.226 (21 Nov 2018 16:14:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Nov 2018 16:14:46 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 21 17:14:42 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 1gPV9G-0000RA-K9 for ged-emacs-devel@m.gmane.org; Wed, 21 Nov 2018 17:14:42 +0100 Original-Received: from localhost ([::1]:39997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPVBN-000857-3V for ged-emacs-devel@m.gmane.org; Wed, 21 Nov 2018 11:16:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gPV9Z-0007oO-CU for emacs-devel@gnu.org; Wed, 21 Nov 2018 11:15:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gPV6v-0004qf-P0 for emacs-devel@gnu.org; Wed, 21 Nov 2018 11:12:21 -0500 Original-Received: from alt22.smtp-out.videotron.ca ([70.80.0.73]:37665) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gPV6v-0004pz-Kj for emacs-devel@gnu.org; Wed, 21 Nov 2018 11:12:17 -0500 Original-Received: from fmsmemgm.homelinux.net ([23.233.195.134]) by Videotron with SMTP id PV6tgP6TaELtdPV6ug6MXy; Wed, 21 Nov 2018 11:12:16 -0500 X-Authority-Analysis: v=2.3 cv=atGc9xRV c=1 sm=1 tr=0 a=xXJ578j8WyTliCxld3/pTA==:117 a=xXJ578j8WyTliCxld3/pTA==:17 a=IkcTkHD0fZMA:10 a=JHtHm7312UAA:10 a=KMttndZBvqOFWOEgC0IA:9 a=QEXdDO2ut3YA:10 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 4866EAE145; Wed, 21 Nov 2018 11:12:15 -0500 (EST) X-CMAE-Envelope: MS4wfHwXzQW9I7XCIYEpLG2lQiKNL7jbKkz1zxclcqFBfgRciLF0ejrCUwyORob6iScyQdbAa/UMi3aWiyjEZq8Oqw6dckz3ID32hYWGp6gz+Jpx1/NSFbZX znS8CuHUYOjIIx+YzDY+c0QobW9In5xlizQe3lLt7EKHH5p0iTIarpxQ4EdfCrlddMbl0EepPVFSMC+RHeIyALqXGcNyYzCBcVvLaD9DKry7bTeR58or26GC X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 70.80.0.73 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:231294 Archived-At: Looking at the doc of last-repeatable-command I think we should clarify 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. 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 try 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". Stefan