[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/adoc-mode 838684c227 068/199: comment improvements
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/adoc-mode 838684c227 068/199: comment improvements |
Date: |
Sun, 3 Sep 2023 06:59:35 -0400 (EDT) |
branch: elpa/adoc-mode
commit 838684c227af0db59e44adae46cc4b3b17b2eb6d
Author: Florian Kaufmann <sensorflo@gmail.com>
Commit: Florian Kaufmann <sensorflo@gmail.com>
comment improvements
---
adoc-mode.el | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/adoc-mode.el b/adoc-mode.el
index 87383d4199..03c4cecb46 100644
--- a/adoc-mode.el
+++ b/adoc-mode.el
@@ -982,7 +982,8 @@ Intendent to be called from font lock keyword functions.
END is
the limit of the search. REXEXP the regexp to be searched.
MUST-FREE-GROUPS a list of regexp group numbers which may not
match text that has an adoc-reserved text-property with a non-nil
-value."
+value. Likewise, groups in NO-BLOCK-DEL-GROUPS may not contain
+text having adoc-reserved set to 'block-del."
(let ((found t) (prevented t) saved-point)
(while (and found prevented (<= (point) end) (not (eobp)))
(setq saved-point (point))
@@ -1184,12 +1185,20 @@ When LITERAL-P is non-nil, the contained text is
literal text."
`(4 '(face ,(or del-face markup-meta-hide-face) adoc-reserved t) t)));
close del
(defun adoc-kw-inline-macro (&optional cmd-name cmd-face target-faces
target-meta-p attribute-list)
+ "Returns a kewyword which highlights an inline macro.
+For CMD-NAME see `adoc-re-inline-macro'. CMD-FACE determines face
+for the command text. If nil, `markup-command-face' is used.
+TARGET-FACES determines face for the target text. If nil
+`markup-meta-face' is used. If a list, the first is used if the
+attribute list is the empty string, the second is used if its not
+the empty string. If TARGET-META-P is non-nil, the target text is
+considered to be meta characters."
(list
`(lambda (end) (adoc-kwf-std end ,(adoc-re-inline-macro cmd-name) '(1 2 4
5) '(0)))
- `(1 '(face ,(or cmd-face markup-command-face) adoc-reserved t) t)
- '(2 '(face markup-meta-face adoc-reserved t) t) ; :
- `(3 ,(cond ((not target-faces) markup-meta-face)
- ((listp target-faces) `(if (string= (match-string 5) "")
+ `(1 '(face ,(or cmd-face markup-command-face) adoc-reserved t) t) ; cmd-name
+ '(2 '(face markup-meta-face adoc-reserved t) t) ; :
+ `(3 ,(cond ((not target-faces) markup-meta-face) ; target
+ ((listp target-faces) `(if (string= (match-string 5) "") ;
5=attribute-list
,(car target-faces)
,(cadr target-faces)))
(t target-faces))
- [nongnu] elpa/adoc-mode 0ac95247d4 116/199: refactoring so regexp's for one- and two line titles have group 2 for title's text, (continued)
- [nongnu] elpa/adoc-mode 0ac95247d4 116/199: refactoring so regexp's for one- and two line titles have group 2 for title's text, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 411eb48ce9 120/199: Sensorflo/pr35 (#3), ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 69569ee920 105/199: improved fontifying for footnoteref, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 6dc82593f0 162/199: Document the mode's history, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 4415af4a53 036/199: fixed typo in identifier, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode fdc42c818a 044/199: removed TAGS file, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 47fc7143a3 048/199: test, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 30176c0f3c 054/199: added skelleton for generig promote / denote, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 303019657d 060/199: many things with xref and anchor, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 6cb42436d2 067/199: test: running the test is now more smoothly, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 838684c227 068/199: comment improvements,
ELPA Syncer <=
- [nongnu] elpa/adoc-mode 950223b614 070/199: reworked highlighting of urls, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode d80b29ebc9 072/199: test: bugfix: point was wronly positioned in adoctest-trans, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 63abada690 074/199: test: adoctest-trans learned setting mark using <>, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 0a35871ac3 083/199: edited (doc-)comments to make it fit package format guidelines, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 2bbd6a36ac 088/199: bumped version to 0.6.2, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode b6d54d9007 097/199: bumped version to 0.6.4, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode b508984663 106/199: id attribute of footnoteref now uses markup-internal-reference-face if it's used as reference opposed to anchor, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode ab42f4909a 107/199: (un)constrained quotes can now spawn more than two lines, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 61974788b4 109/199: small reformatting, ELPA Syncer, 2023/09/03
- [nongnu] elpa/adoc-mode 2bcfcea743 112/199: improved comments, ELPA Syncer, 2023/09/03