all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* what mode?: double-quote yields nothing until next keystroke; how to turn off?
@ 2007-11-26 19:10 Daniel B.
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel B. @ 2007-11-26 19:10 UTC (permalink / raw)
  To: help-gnu-emacs

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?


(emacs-version reports:
"GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of
2007-06-02 on RELEASE")

Thanks,
Daniel


      ____________________________________________________________________________________
Be a better pen pal. 
Text or chat with friends inside Yahoo! Mail. See how.  http://overview.mail.yahoo.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what mode?: double-quote yields nothing until next keystroke; how to turn off?
       [not found] <mailman.4140.1196104238.18990.help-gnu-emacs@gnu.org>
@ 2007-11-26 19:27 ` David Kastrup
  2007-11-26 20:09   ` Daniel B.
  2007-11-26 19:42 ` Gordon Beaton
  1 sibling, 1 reply; 6+ messages in thread
From: David Kastrup @ 2007-11-26 19:27 UTC (permalink / raw)
  To: help-gnu-emacs

"Daniel B." <daniel76@yahoo.com> writes:

> 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?

C-\ runs the command toggle-input-method
  which is an interactive compiled Lisp function in `mule-cmds.el'.
It is bound to C-\, <menu-bar> <options> <mule> <toggle-input-method>.
(toggle-input-method &optional ARG INTERACTIVE)

Enable or disable multilingual text input method for the current buffer.
Only one input method can be enabled at any time in a given buffer.

The normal action is to enable an input method if none was
enabled, and disable the current one otherwise.  Which input method
to enable can be determined in various ways--either the one most
recently used, or the one specified by `default-input-method', or
as a last resort by reading the name of an input method in the
minibuffer.

With a prefix argument, read an input method name with the minibuffer
and enable that one.  The default is the most recent input method specified
(not including the currently active input method, if any).

When called interactively, the optional arg INTERACTIVE is non-nil,
which marks the variable `default-input-method' as set for Custom buffers.

[back]

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what mode?: double-quote yields nothing until next keystroke; how to turn off?
       [not found] <mailman.4140.1196104238.18990.help-gnu-emacs@gnu.org>
  2007-11-26 19:27 ` David Kastrup
@ 2007-11-26 19:42 ` Gordon Beaton
  1 sibling, 0 replies; 6+ messages in thread
From: Gordon Beaton @ 2007-11-26 19:42 UTC (permalink / raw)
  To: help-gnu-emacs

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

--

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what mode?: double-quote yields nothing until next keystroke; how to turn off?
  2007-11-26 19:27 ` David Kastrup
@ 2007-11-26 20:09   ` Daniel B.
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel B. @ 2007-11-26 20:09 UTC (permalink / raw)
  To: help-gnu-emacs


--- David Kastrup <dak@gnu.org> wrote:

> "Daniel B." <daniel76@yahoo.com> writes:
> 
> > 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?
> 
> C-\ runs the command toggle-input-method ...

That doesn't seem to be the mode I'm encountering.

1. Typing C-\ prompts me for an input method name.
I've never seen that before (and I don't _think_
I just missed seeing it by typing too fast).

2. Enabling an input method with C-\ adds characters 
(e.g., "U+" for method "ucs") to the mode line.   The 
symptoms I was experiencing did not include any change

to the mode line.

3. With an input method enabled by C-\ (at least using
the "ucs" and "spanish-prefix" methods), Emacs
displays
the first character (underlined) as soon as I type it.
The symptom I was experiencing is that the display 
doesn't change at all until I type the next character.


Any other ideas?  Is there some earlier layer of input
methods in Emacs?  

(It does not appear to be something in Windows.  When 
one Emacs instance is exhibiting those symptoms, I can

run another copy of Emacs and that second copy works
normally.)


Daniel



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what mode?: double-quote yields nothing until next keystroke; how to turn off?
       [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
  1 sibling, 0 replies; 6+ messages in thread
From: Joost Kremers @ 2007-11-26 20:24 UTC (permalink / raw)
  To: help-gnu-emacs

Daniel B. wrote:
> (It does not appear to be something in Windows.  When 
> one Emacs instance is exhibiting those symptoms, I can
>
> run another copy of Emacs and that second copy works
> normally.)

i suspect it *is* a feature of windows. in (modern versions of) windows,
keyboard settings are window-dependent. that is, you can have setting X for
one window, and setting Y for another.

check the internationalisation settings in windows, and see if a specific
key combo is set for switching keyboard layouts. my bet is there is, and i
suspect you're accidentally typing it. the default key combo is left
alt+left shift key, a combo that you may sometimes need for Emacs to type
e.g. M-< or M->.


-- 
Joost Kremers                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: what mode?: double-quote yields nothing until next keystroke; how to turn off?
       [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
  1 sibling, 0 replies; 6+ messages in thread
From: David Kastrup @ 2007-11-26 20:56 UTC (permalink / raw)
  To: help-gnu-emacs

"Daniel B." <daniel76@yahoo.com> writes:

> --- David Kastrup <dak@gnu.org> wrote:
>
>> "Daniel B." <daniel76@yahoo.com> writes:
>> 
>> > 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?
>> 
>> C-\ runs the command toggle-input-method ...
>
> That doesn't seem to be the mode I'm encountering.
>
> 1. Typing C-\ prompts me for an input method name.

Huh?  Doesn't here.  Not when called without prefix argument.

> 3. With an input method enabled by C-\ (at least using
> the "ucs" and "spanish-prefix" methods), Emacs
> displays
> the first character (underlined) as soon as I type it.
> The symptom I was experiencing is that the display 
> doesn't change at all until I type the next character.

The default would be latin-1-prefix usually, and that has exactly the
described behavior.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-11-26 20:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-26 19:10 what mode?: double-quote yields nothing until next keystroke; how to turn off? Daniel B.
     [not found] <mailman.4140.1196104238.18990.help-gnu-emacs@gnu.org>
2007-11-26 19:27 ` David Kastrup
2007-11-26 20:09   ` Daniel B.
2007-11-26 19:42 ` Gordon Beaton
     [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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.