unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Gordon Beaton <n.o.t@for.email>
To: help-gnu-emacs@gnu.org
Subject: Re: what mode?: double-quote yields nothing until next keystroke; how to turn off?
Date: 26 Nov 2007 19:42:25 GMT	[thread overview]
Message-ID: <474b21a1$0$27813$8404b019@news.wineasy.se> (raw)
In-Reply-To: mailman.4140.1196104238.18990.help-gnu-emacs@gnu.org

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

--

  parent reply	other threads:[~2007-11-26 19:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4140.1196104238.18990.help-gnu-emacs@gnu.org>
2007-11-26 19:27 ` what mode?: double-quote yields nothing until next keystroke; how to turn off? David Kastrup
2007-11-26 20:09   ` Daniel B.
2007-11-26 19:42 ` Gordon Beaton [this message]
     [not found] <mailman.4144.1196107757.18990.help-gnu-emacs@gnu.org>
2007-11-26 20:24 ` Joost Kremers
2007-11-26 20:56 ` David Kastrup
2007-11-26 19:10 Daniel B.

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='474b21a1$0$27813$8404b019@news.wineasy.se' \
    --to=n.o.t@for.email \
    --cc=help-gnu-emacs@gnu.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.
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).