From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#48042: 26.3; Macros don't work with french-postfix input method Date: Fri, 14 May 2021 14:16:26 +0000 Message-ID: <425cd7715b4c15a15813@heytings.org> References: <86pmyghqf1.fsf@upmc.fr> <425cd7715bc9fae8b39a@heytings.org> <831ra9zi4x.fsf@gnu.org> <425cd7715bda5353110e@heytings.org> <83y2chxvg4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5652"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, harven@free.fr, 48042@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 14 16:18:43 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lhYeI-0001Dr-5O for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 May 2021 16:18:42 +0200 Original-Received: from localhost ([::1]:43258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhYeH-0005Dz-8D for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 May 2021 10:18:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhYci-0003Tv-G7 for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 10:17:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhYcf-0005QD-V0 for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 10:17:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lhYcf-0007p9-RA for bug-gnu-emacs@gnu.org; Fri, 14 May 2021 10:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 May 2021 14:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48042 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 48042-submit@debbugs.gnu.org id=B48042.162100178930031 (code B ref 48042); Fri, 14 May 2021 14:17:01 +0000 Original-Received: (at 48042) by debbugs.gnu.org; 14 May 2021 14:16:29 +0000 Original-Received: from localhost ([127.0.0.1]:46751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhYc9-0007oJ-4A for submit@debbugs.gnu.org; Fri, 14 May 2021 10:16:29 -0400 Original-Received: from heytings.org ([95.142.160.155]:50742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lhYc7-0007oA-F6 for 48042@debbugs.gnu.org; Fri, 14 May 2021 10:16:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1621001786; bh=H1IePNeQQs9RejtEul7HnxPljcuHqS7H8ui5z1H1Diw=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=C35EM6FnNz8qUDNhr3HvKWvGZAuvbbjJr7oPblZ90Wr3nBo25qANfDpZkFouz2tEG BdP6brBeNrZlFQhD5Lwl65/frKsjuhnV2BP5wIQk5PlvztWOhsjRQuPfkidBbhZFYf UX/i0y6aBZvXcr+4rbCYydh2vtIZcThSoYcDbXtroiLlgnHOgSWf+o6Q9l3PWf7gfg DY7PVEV9RPqhFk86IDgfrQd7vOjwn7N/ZK3JAHICPtnWvGtxTeEbD32JHx5wQT9dc7 L3IejsLHR3N0tbg0iydGtUFmhOpOnmJLK8EAKG2x5nIlxHbwS3F3D4Ib0FBCd3SeaE CMSxQPtCMCe/g== In-Reply-To: <83y2chxvg4.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:206524 Archived-At: > > If you search the Lisp files for unread-command-events, > Of course I did this. > > you will see how many features unrelated to input methods do add stuff > to unread-command-events. What if an input method were active while one > of those unrelated features does that? > As I just said to Stefan, we could perhaps wait for an actual bug report to see whether this happens? I tried to fix this bug, it still seems to me that what I proposed is TRT because it fixes the problem at its "root", but I cannot fix yet unknown bugs. > > That part didn't exist because once upon a time we recorded everything > immediately as it happened. When that changed (for a good reason, as > described in the discussion cited by the commit log message), we needed > to keep track of what was and what wasn't recorded. So restoring the > behavior back to what it was then doesn't help me to gain confidence in > the correctness of the patch, sorry. Going back to what we had there is > certainly not something we should do. > We're not going back to what we had earlier, the patch goes back to what we had only when an input method is activated. > > Hmm... but the from_macro label seems to indicate that this code runs > for macros as well, even when input method is not active? > And in that case, given that the condition checks whether an input method is active, the event will be recorded. > > So you are saying we should bind the variable there as well? > I don't know, and didn't test that. As I said above, it seems to me that fixing a bug at its "root" is much better than trying to add code elsewhere to circumvent the bug. > > Thanks. > What do you expect me to do now?