Age | Commit message (Collapse) | Author |
|
This opens up the command namespace to support other protocols in the
future.
* thogai.el (thogai-connect): Rename to thogai-gemini-connect. Mention
the Gemini protocol in the docstring.
(Commentary): Update invocation of thogai-connect.
* README.org (Usage): Update invocation of thogai-connect.
|
|
We don't always "insert" a stroke. So, this is a better name.
* thogai.el (thogai-insert-stroke): Rename to thogai-process-stroke.
(thogai-inject-strokes, thogai-gemini-protocol-filter): Update
invocations of thogai-insert-stroke.
|
|
* thogai.el (thogai-dictionary-files): Expand docstring to explain
where to get Plover dictionaries.
|
|
* thogai.el (thogai-reverse-strokes): Delete space if present.
(thogai-insert-stroke): Depend on thogai-reverse-strokes to delete
space.
|
|
* thogai.el (thogai-insert-translation): Rename argument
subtranslation to non-first-part-p and carry it through when command
translations are processed.
|
|
* thogai.el (thogai-insert-translation): Implement infix translations.
|
|
* thogai.el (thogai-insert-translation): Insert space before glue
translations if it is the first part of the translation.
|
|
* thogai.el (thogai-insert-translation): Insert space before prefix
translations if it is the first part of the translation.
|
|
* thogai.el (thogai-insert-literal): Reset thogai-attach-next and
thogai-glue.
(thogai-insert-translation): Depend on thogai-insert-literal to reset
thogai-attach-next and thogai-glue.
|
|
* thogai.el (thogai-insert-translation): Insert prefix strings using
thogai-insert-literal.
|
|
Attached and glued strokes don't emit spaces. So, we cannot mindlessly
delete the last character without checking if it is a space.
* thogai.el (thogai-insert-stroke): When undoing, delete space only if
there actually is a space.
|
|
* thogai.el (thogai-insert-translation): Insert glue strings using
thogai-insert-literal.
|
|
* thogai.el (thogai-insert-translation): Abstract out literal
translation insertion logic into ...
(thogai-insert-literal): ... new function.
|
|
* thogai.el (thogai-glue): New variable.
(thogai-insert-translation): Implement glue operator.
|
|
* thogai.el (thogai-insert-translation): Abstract out space insertion
logic into ...
(thogai-insert-space): ... new function.
|
|
* README.org: New file.
|
|
|