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

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

Re: How to get default input method by set-input-method?


From: Eric S Fraga
Subject: Re: How to get default input method by set-input-method?
Date: Mon, 30 Dec 2024 13:12:12 +0000
User-agent: gnus (Emacs 31.0.50)

Response below/inline for email Eli Zaretskii wrote:
> (original email sent 27 Dec 2024 at 18:11)
> 
>> From: Eric S Fraga <e.fraga@ucl.ac.uk>
>> Date: Fri, 27 Dec 2024 15:57:11 +0000
>
>> 
>> Say I have a buffer in English with "the default input method" and then
>> change to, say, the TeX input method so I can type in some specific
>> characters easily, e.g. α by typing \alpha.  How do I get back to the
>> default using "M-x set-input-method"?  "nil" is not an option, is it?
>> The prompt indicates that hitting RET will keep the same input method.
>
> I think I answered that?

Maybe you did if the answer was to change the language environment.

But I think my issue was one of misunderstanding terminology.  The
meaning of "default" in this context is not what I thought it meant;
instead, I think what I wanted to know how to do is deactivate an input
method.  toggle-input-method does it by invoking deactivate-input-method
which unfortunately is not an interactive function (why not?).  But easy
enough to invoke with eval-expression should I wish to.

thank you,
eric

-- 
Eric S Fraga via gnus (Emacs 31.0.50 2024-12-17) on Debian 12.8




reply via email to

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