unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Juri Linkov <juri@jurta.org>
Cc: 10018@debbugs.gnu.org, Oleksandr Gavenko <gavenko@bifit.com.ua>
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	[thread overview]
Message-ID: <jwvaa7t4dt5.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87ehx9noz0.fsf@mail.jurta.org> (Juri Linkov's message of "Tue, 15 Nov 2011 21:51:47 +0200")

>> 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	other threads:[~2011-11-18 16:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-11 12:01 bug#10018: 24.0.91; C-x * Q not work if I switch input method (use C-\) Oleksandr Gavenko
2011-11-15 19:51 ` Juri Linkov
2011-11-18 16:07   ` Stefan Monnier [this message]
2011-11-19 22:30     ` Juri Linkov
2011-11-20 19:42       ` Stefan Monnier
2011-11-21 23:59         ` Juri Linkov
2011-11-22  0:07           ` Jay Belanger

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=jwvaa7t4dt5.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=10018@debbugs.gnu.org \
    --cc=gavenko@bifit.com.ua \
    --cc=juri@jurta.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).