Age | Commit message (Collapse) | Author |
|
* input-conf.el (quail, durand-convert-string-by-input-method): This
function converts the string to its equivalent under the chosen
input method. This way one does not have to change the input
method, and later change the typed mess into the desired language
directly, which sometimes occured to me.
|
|
* input-conf.el ("durand-fr"): I use a French layout, where the
arrangements of the keys are quite different than the "standard"
layout, so previously it was quite inconvenient to use the quail
packages, as I had to translate in my mind to the standard layout,
so that the quail package can understand and input the correct keys.
Today I discovered that the quail package actually provides a
solution to this problem by the variable `quail-keyboard-layout`,
which defines how to translate from a keyboard layout to the
standard one. By defining my current French layout, I am now
finally able to smoothly use the quail packages.
One caveat is that the Chinese quail packages are generated from
some dictionary files automatically, and the converter missed this
functionality, so that by default the Chinese quail packages do not
respect this keyboard layout translation. Currently I am
overwriting the generated package, but clearly this is not a good
practice. I might consider saving the generated and overwritten
file to a special file, so that I can continue using that
overwritten version in the future.
|
|
* input-conf.el (durand-input-method-list): This is a list of my
frequently used input methods.
(durand-toggle-input): A function to choose amongst the above list
of input methods. This function reads a method in the "headlong"
manner, so that oft one only needs to press a letter to select an
input method, making it behave sort of like a more flexible keymap.
(global-map): Replace the binding of the function
`toggle-input-method` by the above function.
|
|
* input-conf.el (default-input-method): Use the Kyoto-Harvard
transliteration scheme as the default input method.
|
|
|