[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/devil 72ce585e59 42/49: Document devil-all-keys-repeatable
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/devil 72ce585e59 42/49: Document devil-all-keys-repeatable in the manual |
Date: |
Mon, 15 May 2023 12:59:34 -0400 (EDT) |
branch: elpa/devil
commit 72ce585e5919b1adab42cfb297ba4657b3fb345a
Author: Susam Pal <susam@susam.net>
Commit: Susam Pal <susam@susam.net>
Document devil-all-keys-repeatable in the manual
---
MANUAL.org | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/MANUAL.org b/MANUAL.org
index 2bdcc2b11d..bad0ed5f76 100644
--- a/MANUAL.org
+++ b/MANUAL.org
@@ -524,6 +524,41 @@ that key (like repeating =.= twice to insert a single =.=
in the above
example). Therefore, it is a good idea to keep the number of Devil
keys as small as possible.
+** Make All Keys Repeatable
+:PROPERTIES:
+:CUSTOM_ID: make-all-keys-repeatable
+:END:
+By default Devil has a small list of key sequences that are considered
+repeatable. This list is defined in the variable
+=devil-repeatable-keys=. Type =C-h v devil-repeatable-keys RET= to
+view this list. For example, consider the repeatable key sequence =%k
+p= in this list. Assuming that the default Devil and Emacs key
+bindings have not been changed, this means that after we type =C-p=
+and move the cursor to the previous line, we can repeat this operation
+by typing =p= over and over again. The repetition occurs as long as
+the last character of the repeatable key sequence is typed over and
+over again. Typing any other key stops the repetition and the default
+behaviour of the other key is then observed.
+
+It is possible to make all key sequences repeatable by setting the
+variable =devil-all-keys-repeatable= to =t=. Here is an example
+configuration:
+
+#+begin_src elisp
+ (require 'devil)
+ (setq devil-all-keys-repeatable t)
+ (global-devil-mode)
+#+end_src
+
+Now all every Devil key sequence that ends up executing an Emacs
+command can be repeated by merely repeating the last character of the
+key sequence. The list in =devil-repeatable-keys= is ignored.
+
+Note that only Devil key sequences that get translated to a regular
+Emacs key sequence and result in the execution of an Emacs command can
+be repeatable. The special keys defined in =devil-special-keys= are
+never repeatable.
+
* Why?
:PROPERTIES:
:CUSTOM_ID: why
- [nongnu] elpa/devil ef5449deda 16/49: Add kill-line and undo to repeatable keys, (continued)
- [nongnu] elpa/devil ef5449deda 16/49: Add kill-line and undo to repeatable keys, ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil 02464b7516 18/49: Explain why a single activation key is the default, ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil 4b1eba8a1c 24/49: Add stricter validation of translated key sequence, ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil 6943ff3e82 28/49: Remove custom version command., ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil 459ce032e4 32/49: * devil.el (devil--log-command-loop-info): Use a single 'format', ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil fa6eb0a319 33/49: Move tests to separate file using ERT, ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil 355bcc9c14 34/49: Extract most of the README into a separate manual, ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil 79fd50fe22 36/49: Set version to 0.3.0, ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil c60437c11b 39/49: Support making all key sequences repeatable, ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil f6ddd7cac1 38/49: Fix undefined error for RET, <f10>, etc., ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil 72ce585e59 42/49: Document devil-all-keys-repeatable in the manual,
ELPA Syncer <=
- [nongnu] elpa/devil 305a41dc55 45/49: Add MELPA badges, ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil 2fe542cbc6 46/49: Mention Emacs at the beginning of documentation, ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil b84cd61eec 40/49: Format .org files consistently, ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil a42a778ec3 43/49: Add devil-all-keys-repeatable to changelog, ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil 1ddc4dc2e3 44/49: Fix key translation for key vector as Devil key, ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil fbc422c666 20/49: Add steps to install Devil from MELPA, ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil 2090eb34f4 21/49: Move configuration examples to subsections, ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil 92b95191ca 25/49: Remove demo files, ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil ef7a7d4c74 29/49: Add 'devil' customisation group, ELPA Syncer, 2023/05/15
- [nongnu] elpa/devil b3ad615c76 30/49: Fix spacing in documentation strings, ELPA Syncer, 2023/05/15