[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/devil 655cd02e6a 3/3: Consistently use double space to end
|
From: |
ELPA Syncer |
|
Subject: |
[nongnu] elpa/devil 655cd02e6a 3/3: Consistently use double space to end sentences |
|
Date: |
Wed, 24 May 2023 08:01:31 -0400 (EDT) |
branch: elpa/devil
commit 655cd02e6a764e23651607ef52303d589e95b3e8
Author: Susam Pal <susam@susam.net>
Commit: Susam Pal <susam@susam.net>
Consistently use double space to end sentences
---
CHANGES.org | 2 +-
LICENSE.org | 12 ++++++------
Makefile | 7 +++++++
README.org | 22 +++++++++++-----------
devil.el | 10 +++++-----
5 files changed, 30 insertions(+), 23 deletions(-)
diff --git a/CHANGES.org b/CHANGES.org
index b2bcadfec1..bdfb7c7c9f 100644
--- a/CHANGES.org
+++ b/CHANGES.org
@@ -63,7 +63,7 @@
- Remove a stray =message= call.
- Make the function =dev--tests= non-interactive.
- Translation issue that caused invalid Emacs key sequences on mapping
- =-=. For example, mapping =-= to =C-x= and typing =- C-f= produced
+ =-=. For example, mapping =-= to =C-x= and typing =- C-f= produced
=C-x CC-xf=. This has been fixed so that =- C-f= is now translated
to =C-x C-f=.
diff --git a/LICENSE.org b/LICENSE.org
index baa8cf143f..256a131816 100644
--- a/LICENSE.org
+++ b/LICENSE.org
@@ -4,19 +4,19 @@
:END:
Copyright (c) 2022-2023 Susam Pal
-Permission is hereby granted, free of charge, to any person obtaining a
-copy of this software and associated documentation files (the
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
-The above copyright notice and this permission notice shall be included
-in all copies or substantial portions of the Software.
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
diff --git a/Makefile b/Makefile
index ae1fa4f149..e54a6e007b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,9 @@
+checks: test check-sentence-ends
+
+check-sentence-ends:
+ errors=$$(grep -n '[^0-9]\. [^ lsx."(]' MANUAL.org); echo "$$errors"; [
-z "$$errors" ]
+ errors=$$(grep -n '\. [^ a]' README.org CHANGES.org LICENSE.org); echo
"$$errors"; [ -z "$$errors" ]
+ errors=$$(grep -n '\. [^ ]' *.el); echo "$$errors"; [ -z "$$errors" ]
+
test:
emacs --batch -l devil.el -l devil-tests.el -f
ert-run-tests-batch-and-exit
diff --git a/README.org b/README.org
index d2d5ad67d5..1751fcebd9 100644
--- a/README.org
+++ b/README.org
@@ -22,20 +22,20 @@ that whispers wicked secrets into your fingertips!
:CUSTOM_ID: get-started
:END:
-By default, Devil mode rebinds the comma key to activate Devil. Once
-activated, Devil reads a so-called Devil key sequence from you. As you
-type your Devil key sequence, Emacs translates the key sequence to a
-regular Emacs key sequence. If any command is bound to the translated
-Emacs key sequence, Devil runs that command and then deactivates
-itself.
+By default, Devil mode rebinds the comma key to activate Devil. Once
+activated, Devil reads a so-called Devil key sequence from you. As
+you type your Devil key sequence, Emacs translates the key sequence to
+a regular Emacs key sequence. If any command is bound to the
+translated Emacs key sequence, Devil runs that command and then
+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
+"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.
+with Emacs while avoiding modifier keys. Further, the Devil
+activation key, translation rules, etc. are customisable.
Read the [[https://susam.github.io/devil/][manual]] to learn how to install,
use, and customise Devil.
diff --git a/devil.el b/devil.el
index a76caf1c73..27338ff7ce 100644
--- a/devil.el
+++ b/devil.el
@@ -25,11 +25,11 @@
;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
;; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-;; NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
-;; BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-;; ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-;; CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-;; SOFTWARE.
+;; NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+;; HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+;; WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+;; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+;; DEALINGS IN THE SOFTWARE.
;;; Commentary: