[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/telephone-line 2cfe86ee8e 155/195: Merge pull request #76
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/telephone-line 2cfe86ee8e 155/195: Merge pull request #76 from ogdenwebb/master |
Date: |
Wed, 5 Jan 2022 02:59:42 -0500 (EST) |
branch: elpa/telephone-line
commit 2cfe86ee8e1fcfa46a8e843f6722689724020763
Merge: c4cab5a5dc 1c154b7fd0
Author: Daniel Bordak <dbordak@fastmail.fm>
Commit: GitHub <noreply@github.com>
Merge pull request #76 from ogdenwebb/master
Use built-in faces 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 398a30573f..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 '(:foreground
"orange"))
+ 'face
'telephone-line-warning)
""))
(propertize ":)" 'face
'telephone-line-unimportant)))
('running "*")
('no-checker (propertize "-" 'face
'telephone-line-unimportant))
('not-checked "=")
- ('errored (propertize "!" 'face '(:foreground
"tomato")))
- ('interrupted (propertize "." 'face '(:foreground
"tomato")))
+ ('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..537697c195 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 error :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 warnings 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 deda33317b 187/195: Fix formatting, (continued)
- [nongnu] elpa/telephone-line deda33317b 187/195: Fix formatting, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line c5e08d268d 007/195: Move screenshots into subdir, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 0762bae37a 079/195: Corrected indentation, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 96030b4c98 026/195: Further clean up start of readme, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 2e7ba0bfc2 015/195: Make utf-8 separators a part of pbm separators, rather than separate entities altogether, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 3e66e72d9c 075/195: add telephone-line-workgroups2-segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 85d25085ef 106/195: Trig Separators!, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line d0428bbd5c 108/195: Lighter color images, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 7fd38cce0c 093/195: Clarify config again, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 01a2be2798 129/195: Fix right separators on console, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 2cfe86ee8e 155/195: Merge pull request #76 from ogdenwebb/master,
ELPA Syncer <=
- [nongnu] elpa/telephone-line a8cb383957 168/195: 2 new segments: show just the file's name & show path AND file name, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line cce570e581 178/195: Provide TUI fallback for all separators, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line bfe7b189d7 177/195: Merge branch 'master' of github.com:dbordak/telephone-line, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 110c578ccf 184/195: Merge pull request #113 from gagbo/patch-2, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line eb178dda26 188/195: Merge pull request #116 from fdeitylink/patch-1, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line aebac4658e 190/195: Fix for Emacs 27.1 scaling, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 408e05e105 172/195: Merge branch 'master' of github.com:dbordak/telephone-line, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 67a28e8267 182/195: Add telephone-line-flymake-segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 44f296e6a1 076/195: Merge pull request #24 from myTerminal/master, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 3ede7e6ff3 122/195: Merge branch 'master' of github.com:dbordak/telephone-line, ELPA Syncer, 2022/01/05