From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#8237: keyboard translate occasionally fails Date: Sun, 02 Feb 2014 15:53:14 -0800 Message-ID: <87txchdqc5.fsf@building.gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391385313 19097 80.91.229.3 (2 Feb 2014 23:55:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Feb 2014 23:55:13 +0000 (UTC) Cc: 8237@debbugs.gnu.org To: Le Wang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 03 00:55:20 2014 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 1WA6sh-0008Ff-CY for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Feb 2014 00:55:19 +0100 Original-Received: from localhost ([::1]:43188 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WA6sg-0004QE-Qj for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Feb 2014 18:55:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WA6sS-00044F-TN for bug-gnu-emacs@gnu.org; Sun, 02 Feb 2014 18:55:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WA6sQ-0000xH-Ci for bug-gnu-emacs@gnu.org; Sun, 02 Feb 2014 18:55:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WA6sQ-0000wz-AC for bug-gnu-emacs@gnu.org; Sun, 02 Feb 2014 18:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WA6sP-0001jR-Qd for bug-gnu-emacs@gnu.org; Sun, 02 Feb 2014 18:55:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Feb 2014 23:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8237 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 8237-submit@debbugs.gnu.org id=B8237.13913852666608 (code B ref 8237); Sun, 02 Feb 2014 23:55:01 +0000 Original-Received: (at 8237) by debbugs.gnu.org; 2 Feb 2014 23:54:26 +0000 Original-Received: from localhost ([127.0.0.1]:46793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WA6rp-0001iW-ST for submit@debbugs.gnu.org; Sun, 02 Feb 2014 18:54:26 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:37719) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WA6ro-0001iO-6f for 8237@debbugs.gnu.org; Sun, 02 Feb 2014 18:54:24 -0500 Original-Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WA6ra-0007fO-9S; Mon, 03 Feb 2014 00:54:10 +0100 In-Reply-To: (Le Wang's message of "Sun, 13 Mar 2011 11:02:34 +0800") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1WA6ra-0007fO-9S MailScanner-NULL-Check: 1391990050.75202@bhipgzfSsnbWCQC0RpjM/w X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84468 Archived-At: Le Wang writes: > I have the following lines in my .emacs.el to swap C-j and C-x: > > (keyboard-translate ?\C-x ?\C-j) > (keyboard-translate ?\C-j ?\C-x) > > This works fine a vast majority of the time. However, occasionally > when I swap back to Emacs from another program, if my first input to > Emacs is C-j, it still registers as C-j, instead C-x. > > I can do a C-_ to undo, and C-j again, and it's back to C-x. I've only > noticed this occasionally with Emacs 23.2.1 and Jan 2011 build of CVS > Emacs on Windows Vista. It does repro even with emacs -Q, although > usually I have my .emacs.el loaded. I'll update this bug as I get more > consistent repro. Is this problem still present in Emacs 24? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/