unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: How to get default input method by set-input-method?
Date: Mon, 30 Dec 2024 13:12:12 +0000	[thread overview]
Message-ID: <87zfkd71sj.fsf@ucl.ac.uk> (raw)
In-Reply-To: 868qs1w1fy.fsf@gnu.org

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	other threads:[~2024-12-30 13:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-26  8:37 How to get default input method by set-input-method? Jean Louis
2024-12-26  9:40 ` Eli Zaretskii
2024-12-26 11:17   ` Jean Louis
2024-12-26 12:05     ` Eli Zaretskii
2024-12-26 12:18       ` SOLVED - " Jean Louis
2024-12-27 15:57       ` Eric S Fraga
2024-12-27 16:11         ` Eli Zaretskii
2024-12-30 13:12           ` Eric S Fraga [this message]

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=87zfkd71sj.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --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).