From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32108: 27.0.50; Insertion of char from input method during macro invocation duplicates the char Date: Wed, 11 Jul 2018 12:29:03 +0300 Message-ID: <83lgaif7ds.fsf@gnu.org> References: <83y3ejf4jb.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1531301299 14597 195.159.176.226 (11 Jul 2018 09:28:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Jul 2018 09:28:19 +0000 (UTC) Cc: fgunbin@fastmail.fm, 32108@debbugs.gnu.org To: Glenn Morris , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 11 11:28:14 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1fdBPv-0003bX-TK for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Jul 2018 11:28:12 +0200 Original-Received: from localhost ([::1]:52650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdBS1-0007du-AJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Jul 2018 05:30:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdBRm-0007WH-8v for bug-gnu-emacs@gnu.org; Wed, 11 Jul 2018 05:30:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdBRj-0007Ot-5g for bug-gnu-emacs@gnu.org; Wed, 11 Jul 2018 05:30:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46823) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdBRj-0007OY-1z for bug-gnu-emacs@gnu.org; Wed, 11 Jul 2018 05:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fdBRi-0006Ro-Su for bug-gnu-emacs@gnu.org; Wed, 11 Jul 2018 05:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Jul 2018 09:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32108-submit@debbugs.gnu.org id=B32108.153130136424710 (code B ref 32108); Wed, 11 Jul 2018 09:30:02 +0000 Original-Received: (at 32108) by debbugs.gnu.org; 11 Jul 2018 09:29:24 +0000 Original-Received: from localhost ([127.0.0.1]:54720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fdBR5-0006QT-PK for submit@debbugs.gnu.org; Wed, 11 Jul 2018 05:29:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fdBR4-0006QE-7h for 32108@debbugs.gnu.org; Wed, 11 Jul 2018 05:29:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdBQv-0006hX-Ti for 32108@debbugs.gnu.org; Wed, 11 Jul 2018 05:29:17 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdBQv-0006hR-Q7; Wed, 11 Jul 2018 05:29:13 -0400 Original-Received: from [176.228.60.248] (port=2676 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fdBQp-0001Pb-4X; Wed, 11 Jul 2018 05:29:07 -0400 In-reply-to: (message from Glenn Morris on Tue, 10 Jul 2018 20:54:31 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 208.118.235.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:148438 Archived-At: > From: Glenn Morris > Cc: Eli Zaretskii , 32108@debbugs.gnu.org > Date: Tue, 10 Jul 2018 20:54:31 -0400 > > bisects to 30a6b1f81412044aa7dda5573b0142a0a03c4fd3. AFAICS, this happens because when an input method is active, read_char is called recursively from quail-start-translation, and that recursive call records the same character for the second time. Any ideas except introduction of a new variable, inhibit-record-char, which quail-start-translation would bind to prevent recording of the same key more than once?