[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/telephone-line dd1afefa00 152/195: Add telephone-line-erro
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/telephone-line dd1afefa00 152/195: Add telephone-line-error and warning faces. |
Date: |
Wed, 5 Jan 2022 02:59:41 -0500 (EST) |
branch: elpa/telephone-line
commit dd1afefa00856b3ea25d58dcc9f75dd4e8e5d48d
Author: ogdenwebb <ogdenwebb@gmail.com>
Commit: ogdenwebb <ogdenwebb@gmail.com>
Add telephone-line-error and warning faces.
Use them in flycheck-segment.
---
telephone-line-segments.el | 6 +++---
telephone-line.el | 10 ++++++++++
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/telephone-line-segments.el b/telephone-line-segments.el
index a913e1ed39..76bc73eaed 100644
--- a/telephone-line-segments.el
+++ b/telephone-line-segments.el
@@ -241,14 +241,14 @@ Inspired by doom-modeline."
(if (or .error .warning)
(propertize (format "Problems: %s/%s"
(or .error 0) (or
.warning 0))
- 'face 'warning))
+ 'face
'telephone-line-warning)
""))
(propertize ":)" 'face
'telephone-line-unimportant)))
('running "*")
('no-checker (propertize "-" 'face
'telephone-line-unimportant))
('not-checked "=")
- ('errored (propertize "!" 'face 'error))
- ('interrupted (propertize "." 'face 'error))
+ ('errored (propertize "!" 'face 'telephone-line-error))
+ ('interrupted (propertize "." 'face 'telephone-line-error))
('suspicious "?"))))
(propertize text
'help-echo (pcase flycheck-last-status-change
diff --git a/telephone-line.el b/telephone-line.el
index c9cc278a52..c07fb0e478 100644
--- a/telephone-line.el
+++ b/telephone-line.el
@@ -60,6 +60,16 @@
"Hightlight face for the projectile segment"
:group 'telephone-line)
+(defface telephone-line-error
+ '((t (:inherit warning :underline nil :strike-through nil)))
+ "Face to higlight errors in telephone-line. "
+ :group 'telephone-line)
+
+(defface telephone-line-warning
+ '((t (:inherit warning :underline nil :strike-through nil)))
+ "Face to higlight errors in telephone-line."
+ :group 'telephone-line)
+
(defface telephone-line-evil
'((t (:foreground "white" :weight bold :inherit mode-line)))
"Meta-face used for property inheritance on all telephone-line-evil faces."
- [nongnu] elpa/telephone-line dd5a939edd 035/195: Fix error in erc segment when erc is not loaded, (continued)
- [nongnu] elpa/telephone-line dd5a939edd 035/195: Fix error in erc segment when erc is not loaded, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 5638edc4fa 032/195: Fix title typo, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line b58e3d1e43 030/195: Probably improve Unicode separators., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 54850e413d 105/195: Switch to create-trig-axis all the timeNow that the algorithm works properly, we can assume a trig axis -- no rounding errors means it'll still be clear for everything else., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line a5c7225dad 088/195: Link to examples in readme, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 0b92b759f7 102/195: Added narrow segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 4adfbf02bb 092/195: Shorten readme, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line aa746faab1 149/195: Add doomy filename segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 743614f372 128/195: Force nil's width to 0; fixes clipping issue., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 1cc28a7811 146/195: Forgot the else clause, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line dd1afefa00 152/195: Add telephone-line-error and warning faces.,
ELPA Syncer <=
- [nongnu] elpa/telephone-line dde8805867 142/195: Remove brackets from projectile segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line b3eaf4b825 134/195: Use center-lhs and center-rhs instead of keyword, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line f7014a0cc5 004/195: Add Readme, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 324da1bbb6 111/195: Add ryo-modal support, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 64a1f079f5 090/195: Update copyrights, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line c9aca6ce03 143/195: Add flycheck segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 6e1ecf51a2 147/195: Add doom/atom encoding segments, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line cbaf1b8134 138/195: Switch guards to boundp checks rather than eval-after-load, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line e8e2078b43 131/195: Less bad name for unicode separators, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 212b3df07a 166/195: Merge pull request #92 from sebasmonia/master, ELPA Syncer, 2022/01/05