help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs Bug: universal argument & key-translation-map disables undo.


From: Tassilo Horn
Subject: Re: Emacs Bug: universal argument & key-translation-map disables undo.
Date: Mon, 11 Apr 2011 08:36:27 +0200
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

Xah Lee <xahlee@gmail.com> writes:

Hi Xah,

> This seems like a bug. Steps to reproduce:
>
> • Start GNU Emacs 23.2 with “-Q”. (so it doesn't load any custome init
> files.)
>
> • Evaluate this: (define-key key-translation-map (kbd "M--") (kbd
> "─")) (it lets you press 【Alt+-】 to insert a unicode char “BOX
> DRAWINGS LIGHT HORIZONTAL” (U+2500).)
>
> • Open a new buffer.
>
> • Type 【C-u 30 M--】. (insert the char 30 times.)
>
> • You get this error: universal-argument-other-key: Args out of range:
> " ─", 0, 7

I can confirm that I get this error with Emacs 23.3.  However, it seems
to be already fixed in the current bzr trunk.  I'm not sure, but most
probably that fix has also been applied to the emacs-23 branch, so both
Emacs 24.1 and Emacs 23.5 should be ok when they are released.

Bye,
Tassilo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]