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

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

Re: Setting input method automatically whenever text is to be entered.


From: Emanuel Berg
Subject: Re: Setting input method automatically whenever text is to be entered.
Date: Tue, 20 Apr 2021 17:24:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

max.brieiev wrote:

> I am quite new Emacs user. I prefer to type text using
> Dvorak layout. Each time I visit new buffer or interact with
> minibuffer I have to press C-\, which is rather
> inconvenient. So I added the following to my .emacs file:
>
> (defun set-dvp-input-method (mode-hook)
>   (add-hook mode-hook
>             (lambda ()
>               (if (not (string= current-input-method "programmer-dvorak"))
>                   (set-input-method "programmer-dvorak")))))

Okay, you need to set the keyboard layout in Emacs?

Did you check out `default-input-method'?

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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