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
1 vote
3 answers
86 views

Increase font size in mini-buffer (for Japanese Kanji selection)

I'm using Emacs and Xubuntu, and my default input is English, but (in Emacs) I use Japanese input method as well. To enter Kanji (Chinese characters), I type some letters (usually from 2 to about half ...
Chris's user avatar
  • 57
1 vote
2 answers
46 views

How to implement a function in `quail-define-rules` (for `set-input-method`)?

I'm checking out quail (set-input-method) to write some LaTeX snippets (I felt it had some advantages over the others snippet options such as yas-snippets). According to the manual: quail-define-...
Garid's user avatar
  • 505
1 vote
1 answer
83 views

evil-insert-state disables the active input method

A recent update must have slipped my testing afterwords and now this hook mu4e-compose-mode-hook does not work anymore. On every new email I must set the input-method manually again. Any ideas about ...
jjk's user avatar
  • 663
3 votes
1 answer
403 views

What is the simplest way to type ん in Japanese input mode?

In order to type ん in Japanese input mode I have to type nnbackspace. On my screen, this sequence of keystrokes produces the following results (which explains why I need to type a backspace at the end)...
kjo's user avatar
  • 3,105
1 vote
1 answer
132 views

How to make a popup buffer like *Help* accept and return some input upon pressing RET?

What I need to capture some text which is then inserted at point without using the minibuffer (see "why" for why this is not entirely stupid). My idea was to just pop up a temporary window ...
Betta George's user avatar
0 votes
2 answers
54 views

How can I put some extra conditions to the rules of an input method?

Is there a way to put some extra conditions on the translation rules of an input method (quail defining rules)? For example consider the following input method of the answer https://emacs....
Name's user avatar
  • 7,644
0 votes
2 answers
55 views

Does enabling by default a custom input method have any side effect on the default method?

I added these to my init.el: (use-package org :ensure nil :hook (org-mode . (lambda () (org-indent-mode) (variable-pitch-mode -1) (...
Zoli's user avatar
  • 307
0 votes
3 answers
245 views

Why can't I type things such as "?" and "/" in Emacs with my macOS running Brazilian Portuguese input but they do work outside of Emacs?

I have been using Emacs on a NixOS (Linux) machine running GNOME as a Desktop Environment. The hardware interface of this system is an American keyboard. Since I am Brazilian, it was necessary for me ...
Pedro Delfino's user avatar
1 vote
2 answers
589 views

How to write in Mongolian language? (couldn't find it in set-input-method)

I sometimes write in my native language (Mongolian). There seems no entry for it in set-input-method. Should add it from other place / or install some packages?
Garid's user avatar
  • 505
0 votes
1 answer
80 views

With LSP, how to get an "input()" in python that works when entering data using the keyboard

Here is a minimal example: I created and activate a virtual environment: ~/BacSable/bac2 $ mkvirtualenv minimal_env created virtual environment CPython3.10.5.final.0-64 in 651ms creator ...
Raoul HATTERER's user avatar
0 votes
5 answers
141 views

Devanagari script in org-table

Org-table works as expected when it comes to English characters. | a | b | c | d | e | | f | g | h | i | j | | k | l | m | n | o | | p | q | r | s | t | | u | v | w | x | y | | z | | | | | ...
jimmu's user avatar
  • 375
0 votes
0 answers
32 views

How to convert greek text to unicode using matching input method?

Good evening, I have a large TeX-file with Greek inclusions in traditional babel way: \textgreek{sunj'hkh|}. I would like to convert it to unicode for further work. Emacs has greek-babel input method,...
Vadim Radionov's user avatar
1 vote
1 answer
56 views

How to use a certain keyboard layout from emacs as Ubuntu keyboard layout

Good day, I would like to use a certain keyboard layout outside of emacs, namely french-keyboard yet unfortunately I am not able to locate the definition of the keyboard layout. My question is as ...
Rareform's user avatar
  • 197
2 votes
1 answer
336 views

How to add a new keyboard layout to Emacs input methods?

I've downloaded a new layout from https://qwerty-lafayette.org/ which I would like to use. However I am struggling to understand how I can use it inside Emacs. Usually I set languages by using (set-...
Rareform's user avatar
  • 197
1 vote
1 answer
221 views

How to make set-input-method buffer-local

I'm using Emacs 26.3. How do I set-input-method to latin-alt-postfix at the top of the buffer using the -*- ... -*- local-variables method? There are only certain files that I want to do this for. I ...
Mike Gass's user avatar
1 vote
1 answer
157 views

Emacs client doesn't recognize non-ascii input

The problem: When I type a non-ascii character, the character is not wrote and instead a weird key combination is performed, depending on which character I have typed, as if it didn't support utf-8. ...
jthulhu's user avatar
  • 185
1 vote
0 answers
74 views

Dvorak input mode wrong letters when typing fast, correct, when typing slow

I have dvorak keyboard layout set as input when I am in evil-input mode. However, when I type relatively fast when typing the I get thd. This is just an example, some other "typos" occur as ...
denis631's user avatar
1 vote
1 answer
291 views

How to type superscript Roman numeral in Emacs, e.g., by using TeX input method?

One can type normal Roman numerals by using C-x 8 RET. For example, to type Ⅲ one use C-x 8 RET 2162 RET. Furthermore, one can type superscript numbers, English letters and Greek ones by using the TeX ...
SOUser's user avatar
  • 111
0 votes
1 answer
79 views

How to disable the / character prefix in Cyrillic input mode?

When I switch to Cyrillic input method (by pressing C-\), the / key starts to act as a prefix to enter extended characters. For example: /o -> њ /a -> ќ /y -> ї etc... Is there a way to ...
Max Arnold's user avatar
0 votes
0 answers
55 views

Compose key method fails when the sequence following <Multi_key> is just a single character

I have noticed Emacs does not produce the desired key unsing the compose key input method when the sequence defining the key to be input is only a single character. The desired key is inserted ...
Tera's user avatar
  • 31
0 votes
0 answers
354 views

How to set English as the default input method?

For some reason I cannot set english, only british as the input method. I am writing a function to switch language from spanish-postfix to english, but english is not working, only british. I have ...
HenryBwoii's user avatar
3 votes
3 answers
357 views

How to add a new input method for Syriac script in Emacs?

I want to write an article in English mingled with Syriac script in emacs, when I hit list-input-methods the script is not shown, or at least I couldn't identify this language in the displayed list. ...
doctorate's user avatar
  • 1,759
1 vote
0 answers
137 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, ...
Trung Ta's user avatar
  • 291
1 vote
1 answer
93 views

Tamil input not working in emacs after version 25

I have been using emacs for almost 7 years now. Started with emacs 23. I have used to read and write tamil language text inside emacs with both scim-input and ibus under gnome without any additional ...
vanangamudi's user avatar
1 vote
2 answers
379 views

compose key stopped working

im running emacs 26.1 on debian with xfce, and have no alternative input methods installed. my compose key recently stopped working in emacs. i get the dreaded <Multi_key> is undefined error. ...
user27075's user avatar
  • 458
1 vote
0 answers
71 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 ...
Sergey's user avatar
  • 249
1 vote
0 answers
63 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 ...
deshmukh's user avatar
  • 1,842
2 votes
1 answer
63 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 ...
Toothrot's user avatar
  • 3,114
1 vote
0 answers
98 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 ...
extremeaxe5's user avatar
0 votes
1 answer
86 views

Commenting out/disabling file local variable for input method in AUCTeX

I have the following local variables defined in a XeTeX file. As you can see, the input method is currently set to Devanagari. This is inconvenient when I want to type Roman letters. I'd like a way to ...
Faheem Mitha's user avatar
2 votes
2 answers
277 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 ...
pajato0's user avatar
  • 399
0 votes
0 answers
63 views

How to terminate ambiguous multi-key input in input-method?

(I’ve titled this question as I have because I imagine the answer would apply to any input method that has multikey character inputs, such as rfc1345, not just ipa-x-sampa). If it turns out this is ...
Trey's user avatar
  • 845
1 vote
1 answer
141 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-...
HippoMan's user avatar
  • 582
0 votes
1 answer
79 views

How to disable some rules of an input method?

I use purescript-unicode-input-method in Purescript. However, I want the input method not to translate ->, ~> and => because their Unicode characters look very similar. Is there a way to ...
Zhu Jinxuan's user avatar
0 votes
1 answer
226 views

Changing input method in term mode

If I try to change input method in emacs and send to some text. buffer is read only message is shown in minibuffer. How can I use other input method in emacs term mode? I'm using emacs multi-term.
Jay Lee's user avatar
  • 323
1 vote
1 answer
118 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 ...
len71's user avatar
  • 113
0 votes
1 answer
524 views

How to input Chinese on CentOS7 using system input method?

I would like to be able to type in Chinese. I've tried to set it as system input Chinese (Intelligent Pinyin) without success. I am running Emacs on CentOS7. I can input Chinese on anywhere except ...
xueshumeng's user avatar
2 votes
2 answers
367 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 ...
foobar's user avatar
  • 31
3 votes
1 answer
132 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 ...
stacko's user avatar
  • 1,557
1 vote
1 answer
179 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 ...
Faheem Mitha's user avatar
6 votes
1 answer
782 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 ...
dreaswar's user avatar
  • 161
0 votes
1 answer
426 views

Unable to use Microsoft Japanese IME in Emacs under Windows

For some reason I can't seem to use the Microsoft Japanese IME in Emacs, even though I can apparently use the Microsoft Chinese IME to input Chinese without problems. Even if I've switched to the ...
xji's user avatar
  • 2,525
0 votes
0 answers
427 views

TeX input mode and subscript

I'm a bit lost on what I can use the TeX input mode for. What I'd like to achieve is a mathematical notation like ∑ᵢ₌₁ᴺ ∑ⱼ₌₁ᴹ in pure UTF text and it seems to mostly work, i.e. \sum _ i _ = _ 1 works, ...
kakk11's user avatar
  • 101
2 votes
1 answer
395 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 ...
MaPo's user avatar
  • 93
4 votes
1 answer
373 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 ...
Ralf Jung's user avatar
  • 143
2 votes
2 answers
599 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 ...
Steven Tammen's user avatar
4 votes
0 answers
272 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 ...
kbdluv's user avatar
  • 360
3 votes
1 answer
65 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 ...
Anderson Torres's user avatar
1 vote
0 answers
84 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?
Toothrot's user avatar
  • 3,114
3 votes
0 answers
77 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 ...
Harsh Vardhan's user avatar