unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8237: keyboard translate occasionally fails
@ 2011-03-13  3:02 Le Wang
  2014-02-02 23:53 ` Lars Ingebrigtsen
  2014-02-03  3:34 ` Barry OReilly
  0 siblings, 2 replies; 5+ messages in thread
From: Le Wang @ 2011-03-13  3:02 UTC (permalink / raw)
  To: 8237

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#8237: keyboard translate occasionally fails
  2011-03-13  3:02 bug#8237: keyboard translate occasionally fails Le Wang
@ 2014-02-02 23:53 ` Lars Ingebrigtsen
  2014-02-03  1:31   ` Le Wang
  2014-02-03  3:34 ` Barry OReilly
  1 sibling, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2014-02-02 23:53 UTC (permalink / raw)
  To: Le Wang; +Cc: 8237

Le Wang <l26wang@gmail.com> 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/





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#8237: keyboard translate occasionally fails
  2014-02-02 23:53 ` Lars Ingebrigtsen
@ 2014-02-03  1:31   ` Le Wang
  2015-12-25 23:05     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Le Wang @ 2014-02-03  1:31 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 8237

On Sun, Feb 2, 2014 at 6:53 PM, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> Is this problem still present in Emacs 24?

I have not tried in 24.  I've had to avoid using keyboard-translate in
this way due to the inconsistency.

-- 
Le





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#8237: keyboard translate occasionally fails
  2011-03-13  3:02 bug#8237: keyboard translate occasionally fails Le Wang
  2014-02-02 23:53 ` Lars Ingebrigtsen
@ 2014-02-03  3:34 ` Barry OReilly
  1 sibling, 0 replies; 5+ messages in thread
From: Barry OReilly @ 2014-02-03  3:34 UTC (permalink / raw)
  To: l26wang, 8237

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

FWIW, I use key translations regularly (in the way described at
http://www.emacswiki.org/emacs/Evil ) and haven't seen such an
issue. I use Linux mostly, but I just tried it on Windows 7 and didn't
reproduce it using Emacs 24.3. I have never used Emacs 23.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#8237: keyboard translate occasionally fails
  2014-02-03  1:31   ` Le Wang
@ 2015-12-25 23:05     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2015-12-25 23:05 UTC (permalink / raw)
  To: Le Wang; +Cc: 8237

Le Wang <l26wang@gmail.com> writes:

> On Sun, Feb 2, 2014 at 6:53 PM, Lars Ingebrigtsen <larsi@gnus.org> wrote:
>> Is this problem still present in Emacs 24?
>
> I have not tried in 24.  I've had to avoid using keyboard-translate in
> this way due to the inconsistency.

More information was requested, but no response was given within a few
months, so I'm closing this bug report.  If the problem still exists,
please reopen this bug report.
-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-12-25 23:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-13  3:02 bug#8237: keyboard translate occasionally fails Le Wang
2014-02-02 23:53 ` Lars Ingebrigtsen
2014-02-03  1:31   ` Le Wang
2015-12-25 23:05     ` Lars Ingebrigtsen
2014-02-03  3:34 ` Barry OReilly

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).