unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Le Wang <l26wang@gmail.com>
To: 8237@debbugs.gnu.org
Subject: bug#8237: keyboard translate occasionally fails
Date: Sun, 13 Mar 2011 11:02:34 +0800	[thread overview]
Message-ID: <AANLkTim0Z8+eM2Ns7AzCJ7tbexB24LwQCwj4RrG=P=Yc@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 632 bytes --]

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.

-- 
Le

[-- Attachment #2: Type: text/html, Size: 733 bytes --]

             reply	other threads:[~2011-03-13  3:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-13  3:02 Le Wang [this message]
2014-02-02 23:53 ` bug#8237: keyboard translate occasionally fails Lars Ingebrigtsen
2014-02-03  1:31   ` Le Wang
2015-12-25 23:05     ` Lars Ingebrigtsen
2014-02-03  3:34 ` Barry OReilly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTim0Z8+eM2Ns7AzCJ7tbexB24LwQCwj4RrG=P=Yc@mail.gmail.com' \
    --to=l26wang@gmail.com \
    --cc=8237@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).