Age | Commit message (Expand) | Author |
2023-07-09 | Make repository a guix channel.•••* .guix-authorizations, .guix-channel, .guix/emacs-thogai-package.scm,
guix.scm: New files.
HEADmain | Arun Isaac |
2022-06-22 | Add Makefile.•••* Makefile: New file.
| Arun Isaac |
2022-06-22 | Indicate unused variable with _.•••* thogai.el (thogai-process-stroke): Rename unused loop counter
variable i to _.
| Arun Isaac |
2022-06-22 | Define thogai-english-stenography-rules variable.•••* english-orthography.py: Define thogai-english-stenography-rules
variable using defvar.
| Arun Isaac |
2022-06-22 | Use Plover source instead of the built Plover package.•••* english-orthography.py: Accept the path to the Plover source as
argument and import english_stenotype from that path.
| Arun Isaac |
2022-06-20 | Implement comma and colon commands.•••* thogai.el (thogai-insert-translation): Implement comma and colon
commands.
| Arun Isaac |
2022-06-20 | Scroll to end of paper tape buffer after insertion.•••* thogai.el (thogai-gemini-protocol-filter): Scroll all relevant
windows to the end of paper tape buffer after insertion.
| Arun Isaac |
2022-06-20 | Always append to paper tape buffer.•••* thogai.el (thogai-gemini-protocol-filter): ALways append to paper
tape buffer.
| Arun Isaac |
2022-06-20 | Implement stroke suggestions.•••* thogai.el (thogai-suggest): New function.
(thogai-process-stroke): Use thogai-suggest.
| Arun Isaac |
2022-06-20 | Implement orthography aware suffixes.•••At build time, we import orthography rules from Plover source code. It
is the easiest way to keep up with Plover.
* english-orthography.py: New file.
* thogai.el: Require thogai-english-orthography.
(thogai-insert-orthography-aware-suffix): New function.
(thogai-insert-translation): Use
thogai-insert-orthography-aware-suffix.
| Arun Isaac |
2022-06-19 | Protect gemini protocol filter from interruption.•••* thogai.el (thogai-gemini-decode-stroke): Protect gemini protocol
filter from interruption.
| Arun Isaac |
2022-06-19 | Hook undo stroke into Emacs' undo system.•••* thogai.el (thogai-process-stroke): Hook undo stroke into Emacs' undo
system.
| Arun Isaac |
2022-06-19 | Implement formatting cancellation operator.•••* thogai.el (thogai-insert-translation): Implement formatting
cancellation operator.
| Arun Isaac |
2022-06-19 | Introduce mode-specific maps.•••* thogai.el (thogai-mode-map, thogai-current-map): New functions.
(thogai-lookup, thogai-reverse-lookup): Use thogai-mode-map.
| Arun Isaac |
2022-06-18 | Rename thogai-user-dictionary-alist to thogai-global-map.•••* thogai.el (thogai-user-dictionary-alist): Rename to
thogai-global-map.
(thogai-lookup, thogai-reverse-lookup): Update reference of
thogai-user-dictionary-alist.
| Arun Isaac |
2022-06-18 | Implement translations that simulate keypresses.•••* thogai.el (thogai-insert-translation): Implement translations that
simulate keypresses.
| Arun Isaac |
2022-06-18 | Implement reverse lookup of dictionary.•••* thogai.el (thogai-reverse-dictionary): New variable.
(thogai-load-dictionaries): Initialize reverse dictionary.
(thogai-filter-map, thogai-reverse-lookup): New functions.
| Arun Isaac |
2022-06-17 | Support mapping strokes to commands.•••* thogai.el (thogai-process-stroke): Support mapping strokes to
commands.
| Arun Isaac |
2022-06-16 | Implement capitalization carry prefix.•••* thogai.el (thogai-insert-translation): Implement capitalization
carry prefix.
| Arun Isaac |
2022-06-16 | Implement capitalization carry suffix.•••* thogai.el (thogai-insert-translation): Implement capitalization
carry suffix.
| Arun Isaac |
2022-06-16 | Implement capitalization carry.•••* thogai.el (thogai-insert-translation): Implement capitalization
carry.
| Arun Isaac |
2022-06-16 | Remove 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-16 | Implement prefixes in terms of the attach operator.•••* thogai.el (thogai-insert-translation): Implement prefixes in terms
of the attach operator.
| Arun Isaac |
2022-06-16 | Implement 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-16 | Implement period, question mark and exclamation mark.•••* thogai.el (thogai-insert-translation): Implement period, question
mark and exclamation mark.
| Arun Isaac |
2022-06-16 | Implement 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-14 | Rename 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-14 | Rename 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-13 | Explain where to get Plover dictionaries.•••* thogai.el (thogai-dictionary-files): Expand docstring to explain
where to get Plover dictionaries.
| Arun Isaac |
2022-06-13 | Delete 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-13 | Carry 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-13 | Implement infix translations.•••* thogai.el (thogai-insert-translation): Implement infix translations.
| Arun Isaac |
2022-06-13 | Insert 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-13 | Insert 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-13 | Reset 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-13 | Respect capitalization in prefix strings.•••* thogai.el (thogai-insert-translation): Insert prefix strings using
thogai-insert-literal.
| Arun Isaac |
2022-06-12 | When 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-12 | Respect capitalization in glue strings.•••* thogai.el (thogai-insert-translation): Insert glue strings using
thogai-insert-literal.
| Arun Isaac |
2022-06-12 | Abstract 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-12 | Implement glue operator.•••* thogai.el (thogai-glue): New variable.
(thogai-insert-translation): Implement glue operator.
| Arun Isaac |
2022-06-12 | Abstract 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-12 | README: Add README.•••* README.org: New file.
| Arun Isaac |
2022-06-12 | Initial commit | Arun Isaac |