From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22958: 25.0.91; universal-argument, self-insert and input-method, unexpected result Date: Tue, 05 Jul 2016 17:54:25 +0300 Message-ID: <83twg4nnj2.fsf@gnu.org> References: <87a8m7c106.fsf@fastmail.com> <83y49ro93r.fsf@gnu.org> <871t38nuxe.fsf@fastmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1467730626 25034 80.91.229.3 (5 Jul 2016 14:57:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2016 14:57:06 +0000 (UTC) Cc: 22958@debbugs.gnu.org To: Joakim Jalap Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 05 16:56:50 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bKRmK-0003q2-Ro for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Jul 2016 16:56:48 +0200 Original-Received: from localhost ([::1]:55611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKRmK-0003I6-6M for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Jul 2016 10:56:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKRlc-0002Yg-Kr for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2016 10:56:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKRla-0001NT-T0 for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2016 10:56:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54281) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKRla-0001NJ-Ow for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2016 10:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bKRla-0004Oq-Ho for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2016 10:56: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: Tue, 05 Jul 2016 14:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22958 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22958-submit@debbugs.gnu.org id=B22958.146773050916852 (code B ref 22958); Tue, 05 Jul 2016 14:56:02 +0000 Original-Received: (at 22958) by debbugs.gnu.org; 5 Jul 2016 14:55:09 +0000 Original-Received: from localhost ([127.0.0.1]:38384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKRkj-0004Nk-56 for submit@debbugs.gnu.org; Tue, 05 Jul 2016 10:55:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKRkh-0004NW-1j for 22958@debbugs.gnu.org; Tue, 05 Jul 2016 10:55:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKRka-0000zN-Tl for 22958@debbugs.gnu.org; Tue, 05 Jul 2016 10:55:01 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKRka-0000yK-Qo; Tue, 05 Jul 2016 10:55:00 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3201 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bKRkW-0001bc-Q4; Tue, 05 Jul 2016 10:54:59 -0400 In-reply-to: <871t38nuxe.fsf@fastmail.com> (message from Joakim Jalap on Tue, 05 Jul 2016 14:14:37 +0200) 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:120436 Archived-At: > From: Joakim Jalap > Cc: 22958@debbugs.gnu.org > Date: Tue, 05 Jul 2016 14:14:37 +0200 > > I looked into it a bit more, and it seems to me the trouble is that > `universal-argument--mode' uses `set-transient-map' to set > `universal-argument-map' when `C-u' is pressed. This sets > `overriding-terminal-local-map', which makes quail chicken out. Below > are two different patches which fix the original problem. I have no idea > if this is a good way to do it, but it seems to work for me :) Thanks. I like the first one better, but let's wait for comments from others.