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

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

Re: what mode?: double-quote yields nothing until next keystroke; how to


From: Gordon Beaton
Subject: Re: what mode?: double-quote yields nothing until next keystroke; how to turn off?
Date: 26 Nov 2007 19:42:25 GMT
User-agent: slrn/0.9.8.1 (Linux)

On Mon, 26 Nov 2007 11:10:34 -0800 (PST), Daniel B. wrote:
> Somehow I keep accidentally getting Emacs into a mode in which a
> double-quote keystroke yields nothing until
>
> I press another key, at which time Emacs inserts the two characters
> I meant (or one character composed from them).
>
> What mode is this? (Where is its documentation? I haven't had any
> luck googling and otherwise looking for it.)
>
> How do I control that mode?
>
> Mainly, how do I turn it back off (or disable it entirely)?
>
> Also, how did I probably activate it?

That used to happen to me quite often, until I wrote this:

(defadvice toggle-input-method (around confirm-toggle-input-method activate)
  "Prevents user from accidently enabling
    mule-input-method by requiring confirmation"
  (if (or current-input-method
          (ad-get-arg 0)
          (y-or-n-p "Turn on mule-input-method [C-\\]? "))
      ad-do-it)
  (message nil))

/gordon

--


reply via email to

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