-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Translate ", m" to "M-" and ", m m" to "C-M-"
- Loading branch information
Showing
6 changed files
with
141 additions
and
119 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
checks: tests test-sentence-ends | ||
|
||
test-sentence-ends: | ||
grep -n '[^0-9]\. [^ lswxz.,"(]' MANUAL.org; [ $$? = 1 ] | ||
grep -n '\. [^ a]' README.org CHANGES.org LICENSE.org; [ $$? = 1 ] | ||
grep -n '\. [^ m]' *.el; [ $$? = 1 ] | ||
grep -n '[?!] [^ ]' *.org *.el; [ $$? = 1 ] | ||
grep -n '[^0-9][.?=)] [A-Z]' *.org *.el; [ $$? = 1 ] | ||
|
||
tests: | ||
emacs --batch -l devil.el -l devil-tests.el -f ert-run-tests-batch-and-exit |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ here. Welcome, instead, to the realm of the Devil! You will be | |
granted the occasional use of the comma key for punctuation, but only | ||
if you can charm the Devil. But beware, for in this sinister domain, | ||
you must relinquish your comma key and embrace an editing experience | ||
that whispers wicked secrets into your fingertips. | ||
that whispers wicked secrets into your fingertips! | ||
|
||
** Introduction | ||
:PROPERTIES: | ||
|
@@ -38,11 +38,14 @@ deactivates itself. | |
|
||
By default, each comma in the Devil key sequence is translated to | ||
"C-". For example, if you type ", x , f", Devil translates it to "C-x | ||
C-f". Similarly, "m" is translated to "M-", so if you type ", m s", | ||
Devil translates it to "C-M-s". There are several other translations | ||
available in the default translation rules that let you enjoy working | ||
with Emacs while avoiding modifier keys. Further, the Devil | ||
activation key, translation rules, etc. are customisable. | ||
C-f". Similarly ", m" is translated to "M-". If you type ", m x", | ||
Devil translates it to "M-x". Further ", m m" is translated to | ||
"C-M-". If you type ", m m f" Devil translates it to "C-M-f". There | ||
are several other translations available in the default translation | ||
rules that let you enjoy working with Emacs while avoiding modifier | ||
keys. Further, the Devil activation key, translation rules, etc. are | ||
customisable. Thus if you do not like the default choices made in | ||
this package, you can customise it easily to suit your preferences. | ||
|
||
Read the [[https://susam.github.io/devil/][manual]] to learn how to install, use, and customise Devil. | ||
|
||
|
@@ -55,7 +58,6 @@ The author of this project hangs out at the following places online: | |
|
||
- Website: [[https://susam.net][susam.net]] | ||
- Mastodon: [[https://mastodon.social/@susam][@[email protected]]] | ||
- Twitter: [[https://twitter.com/susam][@susam]] | ||
- GitHub: [[https://github.com/susam][@susam]] | ||
|
||
You are welcome to subscribe to, follow, or join one or more of the | ||
|
Oops, something went wrong.