From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#21867: 25.0.50; lossage's log doesn't treat characters read by read-char as separate commands Date: Mon, 05 Aug 2019 14:36:30 -0400 Message-ID: References: <87blx8iwwm.fsf@mouse.gnus.org> <83o918hhli.fsf@gnu.org> <87tvb0hgov.fsf@mouse.gnus.org> <83mugshg86.fsf@gnu.org> <877e7whfv9.fsf@mouse.gnus.org> <83lfwcheyy.fsf@gnu.org> <87k1bwg01u.fsf@mouse.gnus.org> <83ef24gjby.fsf@gnu.org> <8736ijak7u.fsf@mouse.gnus.org> <87wofujvk2.fsf@mouse.gnus.org> <87sgqiar3x.fsf@mouse.gnus.org> <874l2xvs0t.fsf@mail.linkov.net> <87imrcsokh.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="41892"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , 21867@debbugs.gnu.org, zkanfer@gmail.com To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 05 20:37:09 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 1huhr3-000Aj4-2N for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Aug 2019 20:37:09 +0200 Original-Received: from localhost ([::1]:56554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huhr1-0005HY-Pb for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Aug 2019 14:37:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36268) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huhqw-0005Gt-QN for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 14:37:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huhqv-0000ut-Sp for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 14:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55270) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1huhqv-0000uo-PM for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 14:37:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1huhqv-0005Aq-K7 for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2019 14:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Aug 2019 18:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21867 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed confirmed patch Original-Received: via spool by 21867-submit@debbugs.gnu.org id=B21867.156503020319863 (code B ref 21867); Mon, 05 Aug 2019 18:37:01 +0000 Original-Received: (at 21867) by debbugs.gnu.org; 5 Aug 2019 18:36:43 +0000 Original-Received: from localhost ([127.0.0.1]:35858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1huhqc-0005AI-Rw for submit@debbugs.gnu.org; Mon, 05 Aug 2019 14:36:43 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:38871) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1huhqb-0005A0-IX for 21867@debbugs.gnu.org; Mon, 05 Aug 2019 14:36:41 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 27302100B39; Mon, 5 Aug 2019 14:36:35 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 55C1010044B; Mon, 5 Aug 2019 14:36:33 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1565030193; bh=Usb54HlXxNPuteJGvcEFVKxGb49Ur+N5XSIyb9syU94=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=kn5rxXdb0InzaMd2G7f3PHMA9/nPPzstDe/jzyYQjhthMOBXhaVpE9e8lItRYyHei Czck15otsXZL0OMRDnnUKg/vt9e3gQRVCc2gCl49/2nXZ1bYYmoHCGs11ccT6y3lQ2 WUB68qiWSxjCMDRUCA+Oz+vC7j2MmCnPikaMfMyLAusjOm6ItITV8Fd5HmOKNVJE5R 8TWAV97oJuY+hCU0YcC0Clz5PPMdHN3E/M2xVCvS7bI7GTSK92IiCO/H0NiKkhz1SF mNu+DoSqEoV5O4iLjgxjR2jnmqGumy2BskC6UkBe1nrWvLA+2W4EWjNoT+MwE+TcHN utZVUPiVKuuWQ== Original-Received: from alfajor (unknown [78.192.50.77]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2FA281207EB; Mon, 5 Aug 2019 14:36:32 -0400 (EDT) In-Reply-To: <87imrcsokh.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 04 Aug 2019 22:44:30 +0300") 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:164645 Archived-At: > Is it safe to assume that any characters not belonging to > a keysequence bound to a command, are read by the previous > command? I think it's safe to say that an event read after the start of a command and before the end of the execution of that command was received "during ". The reality can be pretty complex (e.g. event can be read during pre-command-hook, post-command-hook, recursive-edits, unrelated process-filters, etc...), and I don't think we should strive to explain precisely all possible cases. The point is just to avoid misleading output like the one under discussion. Maybe rather than "during eval-last-sexp" we should say "during command execution" to try and be more vague (e.g. if it's done in post-command-hook, it's not done "during eval-last-sexp" but it's arguably still during "during command execution"). Stefan