[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get default input method by set-input-method?
From: |
Jean Louis |
Subject: |
Re: How to get default input method by set-input-method? |
Date: |
Thu, 26 Dec 2024 14:17:28 +0300 |
User-agent: |
Mutt/2.2.12 (2023-09-09) |
* Eli Zaretskii <eliz@gnu.org> [2024-12-26 12:42]:
> > Date: Thu, 26 Dec 2024 11:37:51 +0300
> > From: Jean Louis <bugs@gnu.support>
> >
> > For long time I have no idea how to go to the default input method by
> > using M-x set-input-method
> >
> > I am using several input methods, mixing them and I use the M-x
> > set-input-method, not the keybinding.
> >
> > How to get default input method by set-input-method?
>
> M-: (get-language-info current-language-environment 'input-method) RET
(get-language-info current-language-environment 'input-method) ➜ nil
current-language-environment ➜ "English"
I get nil, and then M-x set-input-method cannot go to nil
in fact there is no standard input method that I can find. I see here:
2 possible completions:
english-colemak
english-dvorak
I hope you understand the problem:
- I choose German postfix
- I may choose other input method, those are 2
- after that there is no function or possibility to get interactively
into that nil
If you confirm that above is true, that there is no way to go back to
NIL for example, then I will use this function:
(defun rcd-input-method-nil ()
"Reset `input-method' back to NIL."
(interactive)
(set-input-method nil))
Jean Louis
- How to get default input method by set-input-method?, Jean Louis, 2024/12/26
- Re: How to get default input method by set-input-method?, Eli Zaretskii, 2024/12/26
- Re: How to get default input method by set-input-method?,
Jean Louis <=
- Re: How to get default input method by set-input-method?, Eli Zaretskii, 2024/12/26
- SOLVED - Re: How to get default input method by set-input-method?, Jean Louis, 2024/12/26
- Re: How to get default input method by set-input-method?, Eric S Fraga, 2024/12/27
- Re: How to get default input method by set-input-method?, Eli Zaretskii, 2024/12/27
- Re: How to get default input method by set-input-method?, Eric S Fraga, 2024/12/30