aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2022-06-17Support mapping strokes to commands.•••* thogai.el (thogai-process-stroke): Support mapping strokes to commands. Arun Isaac
2022-06-16Implement capitalization carry prefix.•••* thogai.el (thogai-insert-translation): Implement capitalization carry prefix. Arun Isaac
2022-06-16Implement capitalization carry suffix.•••* thogai.el (thogai-insert-translation): Implement capitalization carry suffix. Arun Isaac
2022-06-16Implement capitalization carry.•••* thogai.el (thogai-insert-translation): Implement capitalization carry. Arun Isaac
2022-06-16Remove suffix check for the glue operator.•••The suffix is already guaranteed by the earlier regular expression match. * thogai.el (thogai-insert-translation): Remove suffix check for the glue operator. Arun Isaac
2022-06-16Implement prefixes in terms of the attach operator.•••* thogai.el (thogai-insert-translation): Implement prefixes in terms of the attach operator. Arun Isaac
2022-06-16Implement the glue operator in terms of the attach operator.•••* thogai.el (thogai-insert-translation): Implement glue operator in terms of the attach operator. Arun Isaac
2022-06-16Implement period, question mark and exclamation mark.•••* thogai.el (thogai-insert-translation): Implement period, question mark and exclamation mark. Arun Isaac
2022-06-16Implement infixes in terms of prefixes and the attach operator.•••* thogai.el (thogai-insert-translation): Implement infixes in terms of prefixes and the attach operator by calling thogai-insert-translation recursively. Arun Isaac
2022-06-14Rename thogai-connect to thogai-gemini-connect.•••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. Arun Isaac
2022-06-14Rename thogai-insert-stroke to thogai-process-stroke.•••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. Arun Isaac
2022-06-13Explain where to get Plover dictionaries.•••* thogai.el (thogai-dictionary-files): Expand docstring to explain where to get Plover dictionaries. Arun Isaac
2022-06-13Delete space when reversing strokes.•••* thogai.el (thogai-reverse-strokes): Delete space if present. (thogai-insert-stroke): Depend on thogai-reverse-strokes to delete space. Arun Isaac
2022-06-13Carry through non-first-part-p on command translations.•••* thogai.el (thogai-insert-translation): Rename argument subtranslation to non-first-part-p and carry it through when command translations are processed. Arun Isaac
2022-06-13Implement infix translations.•••* thogai.el (thogai-insert-translation): Implement infix translations. Arun Isaac
2022-06-13Insert space before glue translations.•••* thogai.el (thogai-insert-translation): Insert space before glue translations if it is the first part of the translation. Arun Isaac
2022-06-13Insert space before prefix translations.•••* thogai.el (thogai-insert-translation): Insert space before prefix translations if it is the first part of the translation. Arun Isaac
2022-06-13Reset attach and glue state when inserting literals.•••* 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. Arun Isaac
2022-06-13Respect capitalization in prefix strings.•••* thogai.el (thogai-insert-translation): Insert prefix strings using thogai-insert-literal. Arun Isaac
2022-06-12When undoing, delete space only if there is a space.•••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. Arun Isaac
2022-06-12Respect capitalization in glue strings.•••* thogai.el (thogai-insert-translation): Insert glue strings using thogai-insert-literal. Arun Isaac
2022-06-12Abstract out insertion of literal translations.•••* thogai.el (thogai-insert-translation): Abstract out literal translation insertion logic into ... (thogai-insert-literal): ... new function. Arun Isaac
2022-06-12Implement glue operator.•••* thogai.el (thogai-glue): New variable. (thogai-insert-translation): Implement glue operator. Arun Isaac
2022-06-12Abstract out insertion of space into a separate function.•••* thogai.el (thogai-insert-translation): Abstract out space insertion logic into ... (thogai-insert-space): ... new function. Arun Isaac
2022-06-12README: Add README.•••* README.org: New file. Arun Isaac
2022-06-12Initial commitArun Isaac