[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transient 71d16d86f1 25/26: Improve looks of debugging
|
From: |
Jonas Bernoulli |
|
Subject: |
[elpa] externals/transient 71d16d86f1 25/26: Improve looks of debugging faces |
|
Date: |
Sun, 26 Nov 2023 19:42:12 -0500 (EST) |
branch: externals/transient
commit 71d16d86f138a6f25f4c0cb703e5e9e0fb532431
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Improve looks of debugging faces
Most importantly give them distinct looks, and use colors appropriate
to the severity of the potential issue. I.e., mismatched keys should
be avoided if at all possible, while adding a shorthand-like binding
for an argument that doesn't exist as a shorthand, cannot be avoided,
and hiding come suffixes from users is also something that is often
done intentionally.
---
lisp/transient.el | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/lisp/transient.el b/lisp/transient.el
index 87fea41bb1..d33d5d7b75 100644
--- a/lisp/transient.el
+++ b/lisp/transient.el
@@ -483,7 +483,9 @@ See info node `(transient)Enabling and Disabling Suffixes'."
See info node `(transient)Enabling and Disabling Suffixes'."
:group 'transient-faces)
-(defface transient-higher-level '((t :underline t))
+(defface transient-higher-level
+ `((t (:box ( :line-width -1
+ :color ,(face-attribute 'shadow :foreground nil t)))))
"Face optionally used to highlight suffixes on higher levels.
Also see option `transient-highlight-higher-levels'."
:group 'transient-faces)
@@ -543,12 +545,14 @@ character used to separate possible values from each
other."
"Face used for keys unreachable from the current prefix sequence."
:group 'transient-faces)
-(defface transient-nonstandard-key '((t :underline t))
+(defface transient-nonstandard-key
+ '((t (:box (:line-width -1 :color "cyan"))))
"Face optionally used to highlight keys conflicting with short-argument.
Also see option `transient-highlight-mismatched-keys'."
:group 'transient-faces)
-(defface transient-mismatched-key '((t :underline t))
+(defface transient-mismatched-key
+ '((t (:box (:line-width -1 :color "magenta"))))
"Face optionally used to highlight keys without a short-argument.
Also see option `transient-highlight-mismatched-keys'."
:group 'transient-faces)
- [elpa] externals/transient 9a21467706 12/26: transient--separator-line: New function, (continued)
- [elpa] externals/transient 9a21467706 12/26: transient--separator-line: New function, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient 47d3f01d9f 17/26: Fix/improve some faces, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient ad7a098349 16/26: Rearrange face definitions, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient c8a9ac5124 18/26: Simplify how colors are used to indicate transient behavior, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient 9f3afe94a9 19/26: transient-format(around:suffix): Reformat docstring, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient 48a1aa2bea 24/26: transient-highlight-mismatched-keys: Fix docstring typos, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient 46813a03f6 23/26: In support of the lovely pcase, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient 307695d2df 21/26: transient-format-description(around:suffix): Combine faces, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient 7f0215c4df 22/26: transient-format-value(option, value): Use argument faces, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient d834f76492 20/26: transient-format(around:suffix): Don't attempt to highlight full line, Jonas Bernoulli, 2023/11/26
- [elpa] externals/transient 71d16d86f1 25/26: Improve looks of debugging faces,
Jonas Bernoulli <=
- [elpa] externals/transient af6eb31054 26/26: transient-format: Only highlight infix if minibuffer is used, Jonas Bernoulli, 2023/11/26