-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add abbrev-mode support, plus an insert-symbol command
Intended to replace racket-unicode-input-method (which would remain but become deprecated), which I'd originally cargo-culted from haskell-mode. On a fresh look, ,I don't see why this kind of feature should be implemented as an input method. Instead these can be seen simply as abbreviations: When I type X, substitute it with Y. Although I haven't used abbrev-mode previously, and it seems like a fairly ancient Emacs feature, the basic functionality seems fine. A major mode can specify a set of "system" abbrevs, which is what we do here. Allow customization of: - the list of substitutions - an optional prefix (such as "\\"), which can avoid unintended substitutions Both of which should mean users don't need to open an issue about changing some particular substitution, as has happened a couple times recently. IOW this is an effort to solve this generally, not ad hoc, by making it super easy for users to self-help.
- Loading branch information
1 parent
ec8b514
commit 2f48990
Showing
9 changed files
with
452 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.