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: Juri Linkov
Subject: bug#10018: 24.0.91; C-x * Q not work if I switch input method (use C-\)...
Date: Tue, 15 Nov 2011 21:51:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (x86_64-pc-linux-gnu)

> 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 `Й'.
Without jumping through such hoops, it should work as you expect.





reply via email to

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