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

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

bug#10018: 24.0.91; C-x * Q not work if I switch input method (use C-\).


From: Stefan Monnier
Subject: bug#10018: 24.0.91; C-x * Q not work if I switch input method (use C-\)...
Date: Fri, 18 Nov 2011 11:07:06 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

>> When I switch to russian-input method I can not invoke quick calc by
>> C-x * Q (nothing happen) because as I think calc prompt for key and get
>> Russian 'Й'...
>> 
>> I think that any user expect with "C-x * Q" get calc instead nothing
>> regardless activated current input method ...

> This is due to this code in `calc-read-key-sequence':

>       (calc-unread-command (cdr key))
>       (unwind-protect
>         (progn
>           (use-global-map map)
>           (use-local-map nil)
>           (read-key-sequence nil))
>       (use-global-map glob)
>       (use-local-map loc))

> that intentionally rereads key sequences to translate `Q' to `Й'.

Is translating Q to Й really its intention, really?
I suspect the real intention is to obey function-key-map and friends.
So I think this code should temporarily disable input-method processing.


        Stefan





reply via email to

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