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

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

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


From: Jean Louis
Subject: SOLVED - Re: How to get default input method by set-input-method?
Date: Thu, 26 Dec 2024 15:18:43 +0300
User-agent: Mutt/2.2.12 (2023-09-09)

* Eli Zaretskii <eliz@gnu.org> [2024-12-26 15:07]:
> > Date: Thu, 26 Dec 2024 14:17:28 +0300
> > From: Jean Louis <bugs@gnu.support>
> > Cc: help-gnu-emacs@gnu.org
> > 
> > * 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
> 
> Which is correct for "English".  If you type C-\, Emacs will ask you
> what input method to turn on.  If there's a default input method,
> Emacs doesn't ask.  Try:
> 
>   M-x set-language-environment RET French RET
> 
> Then type C-\ and Emacs will turn on the default input method without
> asking.

Thanks! That fully solved the problem. Now I remember that I used in
past C-\ -- and then for long time I used other keyboards where C-\
was not accessible so easy, as \ required different modifiers.

Now I am using again US keyboard and that is basically the answer to
my practicel miniscule issue 😊. Thanks much! 👍

Jean Louis



reply via email to

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