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
1answer
37 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 ...
0
votes
0answers
17 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 ...
1
vote
1answer
19 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-...
0
votes
1answer
26 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 ...
0
votes
0answers
14 views

Changing the input method during evil search

When, in evil normal state, I have pressed / to perform a search and the echo area shows /, can I change the input method; if so, how?
0
votes
1answer
57 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.
1
vote
1answer
37 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 ...
0
votes
1answer
294 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 ...
2
votes
2answers
122 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
75 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 ...
1
vote
1answer
70 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 ...
5
votes
0answers
366 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 ...
-1
votes
1answer
261 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 ...
0
votes
0answers
155 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, ...
2
votes
1answer
205 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
140 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 ...
2
votes
2answers
207 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 ...
4
votes
0answers
168 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
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 ...
1
vote
0answers
53 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?
3
votes
0answers
48 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 ...
1
vote
0answers
103 views

Bolnagri (Devanagiri/Hindi) Input method

There is a particular input method for Hindi language (or Devanagiri script), known as Bolnagri. It is very convenient to type using this method and it comes by default on Ubuntu. However, in Emacs, ...
2
votes
2answers
830 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 ...
0
votes
0answers
53 views

Setting the input-method for read-string minibuffer

This function prompts for a string and stores it in a variable. (defun get-greek-word () "Get a Greek word from the user and put it into a variable." (interactive) (set-input-method '...
3
votes
2answers
326 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, ...
1
vote
1answer
67 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
267 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 ...
6
votes
3answers
386 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: ...
3
votes
1answer
101 views

Cursor colour based on input method

How can I let the cursor colour depend on the current input method?
2
votes
2answers
205 views

Quickly inserting a single Greek letter

How can I make it so that H-g followed by a gives an alpha etc.?
1
vote
0answers
524 views

Ubuntu Emacs Meta Key problem related to keys

I'm using emacs 24.5.1 on ubuntu 16.04 on a Vaio x64 pc. earlier I ran the emacs tutorial and got through it completely no problem. Then I started playing with the "replace-string" command and now my ...
8
votes
0answers
256 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?
1
vote
1answer
333 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 ...
2
votes
1answer
931 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 ...
1
vote
1answer
224 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 ...
2
votes
2answers
151 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 ...
1
vote
1answer
450 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 ...
5
votes
0answers
200 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
1answer
90 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
2answers
850 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 ...
6
votes
1answer
214 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 ...
1
vote
0answers
752 views

How do I edit text in Cyrillic / Russian on OpenBSD?

I'm trying to make it possible to easily edit text in Cyrillic / Russian on a remote OpenBSD 5.2 amd64. I'm using emacs-21.4p18-no_x11, which doesn't show any Cyrillic characters whatsoever when I ...
1
vote
1answer
235 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
250 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
80 views

Read string at current cursor position instead of in minibuffer

I am trying to simplify user input of Pod formatting sequences in cperl-mode. For example, if you type C<hello>, C<> is a Pod formatting sequence for entering code, similar to the use of ...
8
votes
2answers
12k 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 ...
2
votes
1answer
76 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-:...
9
votes
1answer
526 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 ...
14
votes
4answers
7k 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
4
votes
2answers
600 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. ...