Questions tagged [quail]
Input method minor mode for multilingual text
14
questions
0
votes
2
answers
68
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....
1
vote
1
answer
36
views
Quail-based Japanese conversion error
The following error that I am reporting appears both in emacs-27.2 and emacs-28.2.
This question is written under the assumption that the reader is familiar with Quail and with Japanese syllabary.
...
0
votes
1
answer
87
views
Passing a string translation to quail-defrule
I don't understand how this is to be used:
(quail-defrule ",q" "abcd")
After evaluating this, and typing ,q, I get an underscored a: but
how am I supposed to select one of the other characters? ...
1
vote
2
answers
74
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-...
0
votes
1
answer
27
views
How to get small versions of hiragana and katakana Japanese characters rendered in quail?
I'm running GNU Emacs 27.2 under linux (xubuntu).
I'm using the quail package to render Japanese characters. When I enable Japanese mode, I can type romaji, and it properly converts what I type to ...
0
votes
1
answer
89
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 ...
0
votes
1
answer
83
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
0
answers
161
views
Increase minubuffer font size for quail mode completion
I am trying to increase the font size of the text overlay displayed in the minibuffer when using quail completion without success so far.
Does anyone have any idea how to achieve this?
EDIT:
I was ...
3
votes
1
answer
422
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 ...
1
vote
0
answers
76
views
Macro expansion inside quail-define-rules
Why can't I expand a macro inside (quail-define-rules)?
(defmacro quail-test ()
`("c" ["success!"]))
(quail-define-package "experiment" "Experiment" "X" t
...
2
votes
1
answer
602
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 ...
1
vote
1
answer
99
views
Can't use the diacritic character d̤?
I am running Emacs mac ports (24.5) on a Macbook Air. I have the following code as an .el file to setup my own multilingual environment:
(require 'quail)
(quail-define-package "maatra"
...
9
votes
1
answer
588
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 ...
7
votes
1
answer
358
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 ...