unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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; 7+ 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] 7+ 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; 7+ 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] 7+ 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; 7+ 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] 7+ 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; 7+ 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] 7+ 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-28 15:54   ` what mode?: double-quote yields nothing until next keystroke; how to turn off? - SOLVED Daniel B.
  2007-11-26 20:56 ` what mode?: double-quote yields nothing until next keystroke; how to turn off? David Kastrup
  1 sibling, 1 reply; 7+ 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] 7+ 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 ` what mode?: double-quote yields nothing until next keystroke; how to turn off? Joost Kremers
@ 2007-11-26 20:56 ` David Kastrup
  1 sibling, 0 replies; 7+ 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] 7+ messages in thread

* Re: what mode?: double-quote yields nothing until next keystroke; how to turn off? - SOLVED
  2007-11-26 20:24 ` what mode?: double-quote yields nothing until next keystroke; how to turn off? Joost Kremers
@ 2007-11-28 15:54   ` Daniel B.
  0 siblings, 0 replies; 7+ messages in thread
From: Daniel B. @ 2007-11-28 15:54 UTC (permalink / raw)
  To: help-gnu-emacs


--- Joost Kremers <joostkremers@yahoo.com> wrote:

> 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. ...
> 
> ...see if a specific
> key combo is set for switching keyboard layouts. ...
i
> suspect you're accidentally typing it. the default
> key combo is left
> alt+left shift key, ...

Yes, is was that.  Thanks.

(I thought Windows gave some on-screen indication 
when one switched input modes.  Does that only apply
to languages/locales and not just keyboard layouts?)

Daniel



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

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

end of thread, other threads:[~2007-11-28 15:54 UTC | newest]

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

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).