Questions tagged [input-method]

input-method is the translation of one or more keystrokes into a language character. Most languages have their own input method; some input methods are shared by several languages, and some languages have more than one input method.

Filter by
Sorted by
Tagged with
16
votes
4answers
9k views

How to input special character, such as Celsius symbol, and common greek letters?

I want to input: Celsius degree symbol Common Greek letter: Alpha, Theta, Omega
16
votes
2answers
1k views

How can I add characters to an input method?

I often use the TeX input method to type Unicode characters like λ, which is quite handy. However, some of the characters I want to type are not supported like various subscripts (say ᵢ), script ...
12
votes
4answers
2k views

Problem “<dead-acute> is undefined” appearing when typing Greek stress ( ' )

I started using Emacs and I wrote a text in Greek. The problem is that the stress that is used upon some letters (ό, ύ, ί, ύ) doesn't work! It is usually inserted by pressing the ; (I mean by ...
11
votes
2answers
16k views

emacs on terminal does not recognise option as alt-key on mac

I am on a mac and I am running emacs 24.4.1, but I have the same problem also with 22.1.1. When I open mac on a terminal on the remote host, it does not recognise option key (alt) like the meta key. I ...
11
votes
2answers
4k views

How to switch keyboard layouts for different languages?

Q: how do I switch between input methods for different languages when using a non-standard keyboard layout? I have to edit text in two different languages. I would like to be able to use my ...
9
votes
1answer
552 views

How to get human language-specific numerals?

TL;DR: how can I use Hindi digits (١٢٣...) when writing in Arabic? Emacs is arguably hailed as the best editor, but when it comes to using numerals in the context of writing there are no satisfactory ...
8
votes
0answers
341 views

How would one configure emacs to interpret holding the space bar plus a rapid CPU temperature rise as holding down the Control key?

I'm surprised this question hasn't been asked here already. Is such configuration possible in emacs?
7
votes
3answers
509 views

Translate ae to ä on non-German keyboard

If for some reason I am stuck to a keyboard with English layout and I often have to enter text in German - can emacs translate ae to ä (or ue to ü) for me? I do have a not-working solution like this: ...
7
votes
1answer
228 views

How can I disable quail input methods in LaTeX formulas?

If you set an input method (for example via M-x set-input-method RET cyrillic-translit RET) you can type Cyrillic characters using a US keyboard: Emacs will use transliteration rules to convert Roman ...
6
votes
1answer
242 views

How do I find out which input modes include a specified uft-8 character?

Using the input mode latin-1-prefix I can enter "~a" which gives me "ã". I am looking for a similar way to enter the characters "āēīōū" (vocals with bars). So my question is: What input mode does ...
5
votes
1answer
2k views

Setting and activating the default input method

How can I configure Emacs to set the default input method for all new buffers? I'd like to use polish-slash everywhere. I use Emacs 24.3.1. I am interested in a solution which could be pasted into ...
5
votes
0answers
460 views

How can i make Emacs use the System input method and Language?

Problem : I am using Emacs for general text typing and editing outside my Programming. This requires me to type in local languages of India ( specifically Hindi, Malayalam and Tamil ). I am on ...
5
votes
0answers
219 views

Where can I see the character mapping of an input method?

Because of some difficulties in getting Emacs interact correctly with the fcitx input framework on my Ubuntu, I have to use built-in input methods in Emacs. However, I haven't been able to find a way ...
4
votes
2answers
1k views

Using Emacs with Swedish keyboard

I am running GNU Emacs on Ubuntu, using a Swedish PC-keyboard. When I use swedish-keyboard as my input method, shift-key combinations work fine (e.g. S-7 gives the '/' character). But I have found a ...
4
votes
2answers
709 views

How to assign a certain font for each input method/language in Emacs 24?

C-x RET \ or M-x set-input-method to select the text input method; e.g. I use greek and hebrew. I must say C-\ is genius, because it brings you back to the default input which you use the most. ...
4
votes
1answer
93 views

Add TeX input method shortcuts to C-x 8 map

I really like the TeX input method. It makes typing symbols a breeze, since years of LaTeX have worked the symbols into my muscle memory. However, input methods have their quirks (like not working ...
4
votes
0answers
196 views

How to make Emacs not intercept Command-Ctrl-Space, used for Special Characters on macOS?

On macOS the CommandCtrlSpace shortcut opens an Emoji picker which can be expanded into a Special Characters picker. But when I type this shortcut on Emacs in order to input a character, instead of ...
3
votes
3answers
248 views

Quickly inserting a single Greek letter

How can I make it so that H-g followed by a gives an alpha etc.?
3
votes
2answers
397 views

TeX input method is fine — except for underscore

Most(?) programming languages permit to use Unicode in comments, strings and, partially, variable names. It is handy to be able to write comments like # DETERMINATION OF CONSTANTS OF INTEGRATION, ...
3
votes
1answer
116 views

Cursor colour based on input method

How can I let the cursor colour depend on the current input method?
3
votes
1answer
208 views

How to make minibuffer always use the input method of the main buffer?

I use different input methods in different buffers. I would like to have M-x and generally any minibuffer input automatically use the input method of the buffer I am currently working in. How can I ...
3
votes
1answer
630 views

How to add a key-chord escape in Evil for input in other languages?

How do I get key-chords to work with evil and alternate input-methods? I enabled Korean input by M-x set-input-method and chose korean-hangul, which I found from following the first few instructions ...
3
votes
1answer
51 views

How to “swap” only the numerical row of a keyboard inside Emacs?

My question is: when I am editing (La)TeX code, regularly I need to type the famous dollar signs in order to put mathematical code ($x^2+y^2=z^2$), a very frequent thing indeed. Therefore, I would ...
3
votes
1answer
87 views

Can't switch input sources in the minibuffer during Isearch

Incremental search doesn't allow me to switch between different input sources, e.g. US English to French, when I'm typing my search string into the minibuffer. Is there a way to fix this? It happens ...
3
votes
0answers
59 views

Some ligatures of the 'Devanagari Script' are not displayed correctly

I want to enter the following line in Devanagari script. In Emacs, I set the input mode to "Devanagari Inscript" and typed it in. And this is what is displayed: The font in the above example is Noto ...
2
votes
2answers
291 views

Making Keys Pass Completely Through Emacs

An Autohotkey remapping script I'm using uses the function keys F13-F24 to keep track of layers. This means that {F13 Down}, for example, may get sent as a virtual key code. This works fine for most ...
2
votes
1answer
73 views

Abbreviation expansion without spaces

I would like to set up things so that when I type Iuulius, the sequence uu is seamlessly replaced by ū (and a few more such pairs), as soon as I type the second u. I.e. the keystrokes and buffer text ...
2
votes
1answer
72 views

I want to type special Spanish characters in Emacs on a MacBook Pro keyboard … but I have no clue where to start

I am using Emacs 26.3 with macos Catalina and I would like to type the inverted exclamation point and question mark characters. Can someone point me to a link that will get me started towards ...
2
votes
1answer
314 views

Using quail input-method to insert a string

The standard way to define an abbreviation using quail is as follows: (quail-define-rules ("a" ?s )) Inserting "a" gives "s". I am wondering if one can insert an arbitrary string using quail, I ...
2
votes
2answers
163 views

Names of all the keymaps for multilanguage remapping purposes

How do I extract the names for all of the keymaps in Emacs? I use English layout for programming. However I sometimes have to use a Hungarian layout, and I want preserve my keybindings in a ...
2
votes
1answer
258 views

Quail Rules UTF8 behaviour

I had inserted the following code in .emacs: (quail-define-package "LaTeX-UTF-8" "TeX" "TeX") (quail-defrule "α" ["\\alpha"]) what I want to do is the following: when I insert the character "α" (I ...
2
votes
1answer
80 views

Input-methods in the insert eval expressions

I can activate the input method french-azerty by M-x set-input-method RET french-azerty. Then by a qwerty keyboard I can type like an azerty one. Thus typying q in the buffer gives a. But when I do M-:...
2
votes
1answer
24 views

Translations of self-inserting keys

What exactly determines what is inserted by self-insert-command? If I change the input-method to greek, p will insert π, but will still be bound to self-insert-command, though it patently does not ...
2
votes
2answers
173 views

Greek typing & spell-checking with hunspell: encoding issue?

hunspell-checking Greek text I create in Emacs is not working. Notes: I am aware of this post: Spell check with multiple dictionaries Eventually, I want to use ispell with hunspell in Emacs, which ...
2
votes
1answer
1k views

How to disable input method

By using toggle-input-method, I can disable input method when that is active. But sometimes I just want to disable it regardless the input method status. I couldn't find the function for it. How can ...
2
votes
3answers
1k views

how to teach emacs that `'` (dead acute) + c = ç?

I've set up my keyboard layout in arch with localectl set-x11-keymap us pc104 intl By default, in this layout, the ' is a dead character. It is called a dead acute. In Portuguese, we are used to ...
2
votes
0answers
320 views

Dead keys not working in Emacs-Lisp mode *only*

I've been having a really annoying bug when editing elisp files recently: dead keys do not work, but only when I am in Emacs-Lisp mode. If I type a key that is configured as a dead key (say, '), I get ...
1
vote
1answer
272 views

Text is shown as bounding boxes when I switch to Arabic input method and use a certain font

I use this function in init.el file so that I can switch to Arabic language when writing code in Arabic and select an Arabic font for that: (defun arabic-input-font () "changes the set-input-method ...
1
vote
1answer
305 views

How to alias a function with argument by defalias

I want to chnage input method by M-x ru. But I couldn't figure out how to alias a function with argument. This is what I tried: (defalias 'ru '(set-input-method russian-computer)) How can I alias a ...
1
vote
1answer
57 views

With “japanese” input method, unmap kanji selection via the spacebar?

In emacs-26.1, I am enabling the Japanese input method as follows ... (toggle-enable-multibyte-characters 1) (set-language-environment "Japanese") (set-input-method "japanese") (setq coding-system-...
1
vote
1answer
52 views

Use Roman numbers while typing Devanagari

I use Emacs devanagari-itrans input method to type in Devanagari. But I prefer using the usual Arabic symbols for numbers (1..9) rather than the Devanagari symbols. It is cumbersome to keep switching ...
1
vote
1answer
89 views

Enabling Devanagari ITRANS mode automatically

To enter Devanagari ITRANS input mode for a specific file, I need to type the following command in Emacs. C-x RET C-\ devanagari-itrans RET Is there something I could add to my file that would ...
1
vote
1answer
467 views

How to use input methods in minibuffer?

I am writing some xelatex code with both English and Farsi (right to left direction) characters in it. Also I am using Emacs' input method (changing with key Ctrl + \) for changing between English and ...
1
vote
1answer
494 views

How to toggle input methods with just ctrl-shift?

I would like to toggle input method in emacs with OS key binding, i.e. ctrl-shift, so it behaves like a normal desktop application. In other words I want to rebind C-\ to just C-S without any extra ...
1
vote
1answer
299 views

Problem with meta key in Emacs

I use Emacs in command-line always on my Ubuntu 14.04 machine. And I use two languages frequently. Bengali/Bangla and English. Problem is when I use Bangla, commands with Ctrl as modifier work fine (e....
1
vote
0answers
9 views

How to embed Ibus preedit text into Emacs?

I'd like to ask is it possible to totally embed Ibus preedit text into the Emacs windows? In my Ibus Preferences, I did tick the option "Embed preedit text in application window", however, ...
1
vote
0answers
16 views

keyboard macro with input-method inserts characters twice

When I define keyboard macro with some input method enabled (lets say, english-dvorak), self-insert commands are repeated twice. For example, if I define macro like this: F3insert chars asdfF4 and ...
1
vote
0answers
40 views

Specify the input method for a file

Using Doom Emacs 2.0.9 on Emacs 26.3 on Manjaro. I am writing some devanagari text in a file. Every time I edit the file, I need to toggle-input-method and select 'devanagari'. Is there a way to ...
1
vote
0answers
41 views

ibus-libpinyin input not working in fullscreen emacs

I'm using GTK emacs 26.3 on GNOME 3.34 using X. When emacs is fullscreen, ibus-libpinyin is unable to render the pinyin suggestions. Input seems to still be working (i.e when I press a number a ...
1
vote
0answers
61 views

Org-capture prompt input method

Can I make it so that an org-capture prompt "%^{greek}" automatically switches the minibuffer input method to Greek?