[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-operandi-theme 9954f47 28/54: Major Review of fly
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-operandi-theme 9954f47 28/54: Major Review of fly{check, make, spell} for GUI/TUI |
Date: |
Thu, 4 Jun 2020 08:20:15 -0400 (EDT) |
branch: externals/modus-operandi-theme
commit 9954f4747fc88a3f8f427428a5032167aab1dd0a
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Major Review of fly{check,make,spell} for GUI/TUI
For GUI Emacs, all affected faces will now just use a colour-coded wavy
underline. We no longer change the foreground value of the offending
text. Whereas before the text would also get a colour, which was too
intrusive in most circumstances.
If support for wavy underlines is not available, we assume the presence
of a TUI, which generally is also more limited in its ability to
reproduce colours accurately. So for those cases we apply a straight
underline combined with a colour-coded foreground for the affected
text. This makes it more intense compared to the GUI equivalent, but is
the necessary course of action to overcome the constraints imposed by
the underlying terminal.
---
modus-operandi-theme.el | 28 ++++++++++++++--------------
modus-vivendi-theme.el | 28 ++++++++++++++--------------
2 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 4d8f77e..6bdd3e5 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -1590,8 +1590,8 @@ Also bind `class' to ((class color) (min-colors 89))."
;;;; flycheck
`(flycheck-error
((,(append '((supports :underline (:style wave))) class)
- (:foreground ,red-nuanced :underline (:color ,fg-lang-error :style
wave)))
- (,class (:foreground ,red-nuanced :underline (:color ,fg-lang-error
:style line)))))
+ (:underline (:color ,fg-lang-error :style wave)))
+ (,class (:foreground ,fg-lang-error :underline t))))
`(flycheck-error-list-checker-name ((,class (:foreground ,magenta-active))))
`(flycheck-error-list-column-number ((,class (:foreground
,fg-special-cold))))
`(flycheck-error-list-error ((,class (:foreground ,red :weight
,modus-theme-bold))))
@@ -1607,13 +1607,13 @@ Also bind `class' to ((class color) (min-colors 89))."
`(flycheck-fringe-warning ((,class (:inherit modus-theme-fringe-yellow))))
`(flycheck-info
((,(append '((supports :underline (:style wave))) class)
- (:foreground ,blue-nuanced :underline (:color ,fg-lang-note :style
wave)))
- (,class (:foreground ,blue-nuanced :underline (:color ,fg-lang-note
:style line)))))
+ (:underline (:color ,fg-lang-note :style wave)))
+ (,class (:foreground ,fg-lang-note :underline t))))
`(flycheck-verify-select-checker ((,class (:box (:line-width 1 :color nil
:style released-button)))))
`(flycheck-warning
((,(append '((supports :underline (:style wave))) class)
- (:foreground ,yellow-nuanced :underline (:color ,fg-lang-warning :style
wave)))
- (,class (:foreground ,yellow-nuanced :underline (:color ,fg-lang-warning
:style line)))))
+ (:underline (:color ,fg-lang-warning :style wave)))
+ (,class (:foreground ,fg-lang-warning :underline t))))
;;;; flycheck-indicator
`(flycheck-indicator-disabled ((,class (:foreground ,fg-inactive :slant
,modus-theme-slant))))
`(flycheck-indicator-error ((,class (:foreground ,red-active :weight
,modus-theme-bold))))
@@ -1631,24 +1631,24 @@ Also bind `class' to ((class color) (min-colors 89))."
;;;; flymake
`(flymake-error
((,(append '((supports :underline (:style wave))) class)
- (:foreground ,red-nuanced :underline (:color ,fg-lang-error :style
wave)))
- (,class (:foreground ,red-nuanced :underline (:color ,fg-lang-error
:style line)))))
+ (:underline (:color ,fg-lang-error :style wave)))
+ (,class (:foreground ,fg-lang-error :underline t))))
`(flymake-note
((,(append '((supports :underline (:style wave))) class)
- (:foreground ,blue-nuanced :underline (:color ,fg-lang-note :style
wave)))
- (,class (:foreground ,blue-nuanced :underline (:color ,fg-lang-note
:style line)))))
+ (:underline (:color ,fg-lang-note :style wave)))
+ (,class (:foreground ,fg-lang-note :underline t))))
`(flymake-warning
((,(append '((supports :underline (:style wave))) class)
- (:foreground ,yellow-nuanced :underline (:color ,fg-lang-warning :style
wave)))
- (,class (:foreground ,yellow-nuanced :underline (:color ,fg-lang-warning
:style line)))))
+ (:underline (:color ,fg-lang-warning :style wave)))
+ (,class (:foreground ,fg-lang-warning :underline t))))
;;;; flyspell
`(flyspell-duplicate
((,(append '((supports :underline (:style wave))) class)
- (:foreground ,fg-lang-warning :underline (:style wave)))
+ (:underline (:color ,fg-lang-warning :style wave)))
(,class (:foreground ,fg-lang-warning :underline t))))
`(flyspell-incorrect
((,(append '((supports :underline (:style wave))) class)
- (:foreground ,fg-lang-error :underline (:style wave)))
+ (:underline (:color ,fg-lang-error :style wave)))
(,class (:foreground ,fg-lang-error :underline t))))
;;;; flyspell-correct
`(flyspell-correct-highlight-face ((,class (:inherit
modus-theme-refine-green))))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index c3f59a2..58a59a2 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -1590,8 +1590,8 @@ Also bind `class' to ((class color) (min-colors 89))."
;;;; flycheck
`(flycheck-error
((,(append '((supports :underline (:style wave))) class)
- (:foreground ,red-nuanced :underline (:color ,fg-lang-error :style
wave)))
- (,class (:foreground ,red-nuanced :underline (:color ,fg-lang-error
:style line)))))
+ (:underline (:color ,fg-lang-error :style wave)))
+ (,class (:foreground ,fg-lang-error :underline t))))
`(flycheck-error-list-checker-name ((,class (:foreground ,magenta-active))))
`(flycheck-error-list-column-number ((,class (:foreground
,fg-special-cold))))
`(flycheck-error-list-error ((,class (:foreground ,red :weight
,modus-theme-bold))))
@@ -1607,13 +1607,13 @@ Also bind `class' to ((class color) (min-colors 89))."
`(flycheck-fringe-warning ((,class (:inherit modus-theme-fringe-yellow))))
`(flycheck-info
((,(append '((supports :underline (:style wave))) class)
- (:foreground ,blue-nuanced :underline (:color ,fg-lang-note :style
wave)))
- (,class (:foreground ,blue-nuanced :underline (:color ,fg-lang-note
:style line)))))
+ (:underline (:color ,fg-lang-note :style wave)))
+ (,class (:foreground ,fg-lang-note :underline t))))
`(flycheck-verify-select-checker ((,class (:box (:line-width 1 :color nil
:style released-button)))))
`(flycheck-warning
((,(append '((supports :underline (:style wave))) class)
- (:foreground ,yellow-nuanced :underline (:color ,fg-lang-warning :style
wave)))
- (,class (:foreground ,yellow-nuanced :underline (:color ,fg-lang-warning
:style line)))))
+ (:underline (:color ,fg-lang-warning :style wave)))
+ (,class (:foreground ,fg-lang-warning :underline t))))
;;;; flycheck-indicator
`(flycheck-indicator-disabled ((,class (:foreground ,fg-inactive :slant
,modus-theme-slant))))
`(flycheck-indicator-error ((,class (:foreground ,red-active :weight
,modus-theme-bold))))
@@ -1631,24 +1631,24 @@ Also bind `class' to ((class color) (min-colors 89))."
;;;; flymake
`(flymake-error
((,(append '((supports :underline (:style wave))) class)
- (:foreground ,red-nuanced :underline (:color ,fg-lang-error :style
wave)))
- (,class (:foreground ,red-nuanced :underline (:color ,fg-lang-error
:style line)))))
+ (:underline (:color ,fg-lang-error :style wave)))
+ (,class (:foreground ,fg-lang-error :underline t))))
`(flymake-note
((,(append '((supports :underline (:style wave))) class)
- (:foreground ,blue-nuanced :underline (:color ,fg-lang-note :style
wave)))
- (,class (:foreground ,blue-nuanced :underline (:color ,fg-lang-note
:style line)))))
+ (:underline (:color ,fg-lang-note :style wave)))
+ (,class (:foreground ,fg-lang-note :underline t))))
`(flymake-warning
((,(append '((supports :underline (:style wave))) class)
- (:foreground ,yellow-nuanced :underline (:color ,fg-lang-warning :style
wave)))
- (,class (:foreground ,yellow-nuanced :underline (:color ,fg-lang-warning
:style line)))))
+ (:underline (:color ,fg-lang-warning :style wave)))
+ (,class (:foreground ,fg-lang-warning :underline t))))
;;;; flyspell
`(flyspell-duplicate
((,(append '((supports :underline (:style wave))) class)
- (:foreground ,fg-lang-warning :underline (:style wave)))
+ (:underline (:color ,fg-lang-warning :style wave)))
(,class (:foreground ,fg-lang-warning :underline t))))
`(flyspell-incorrect
((,(append '((supports :underline (:style wave))) class)
- (:foreground ,fg-lang-error :underline (:style wave)))
+ (:underline (:color ,fg-lang-error :style wave)))
(,class (:foreground ,fg-lang-error :underline t))))
;;;; flyspell-correct
`(flyspell-correct-highlight-face ((,class (:inherit
modus-theme-refine-green))))
- [elpa] externals/modus-operandi-theme 7c67f73 50/54: Add support for EL-SEARCH, (continued)
- [elpa] externals/modus-operandi-theme 7c67f73 50/54: Add support for EL-SEARCH, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme f76c36a 13/54: Major review of colours for tabs. Tweak faces., Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme a937f90 14/54: Modus Vivendi: tweak colour for header lines, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 78a2baf 18/54: Clarify that Org #+TITLE does not scale in v0.8.1, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme a99bec3 20/54: Improve README section on font family settings, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 985675e 21/54: Allow byte compile with `eval-when-compile', Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme c05fbab 22/54: Do not `autoload' defcustom, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme ccc6d66 24/54: Minor refinements to some RCIRC faces, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 22444f9 23/54: Minor refinements to some ERC faces, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme a3d064d 26/54: Several refinements to the README, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 9954f47 28/54: Major Review of fly{check, make, spell} for GUI/TUI,
Stefan Monnier <=
- [elpa] externals/modus-operandi-theme e14182f 29/54: Tweak `minibuffer-prompt' colour for consistency, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme a9479f3 31/54: Add support for MINIMAP, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 0b8a919 32/54: Add support for HYPERLIST, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme dbe1c96 34/54: Minor tweaks for GNUS summary selected, ticked, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 51660bb 35/54: Add support for GOLDEN-RATIO-SCROLL-SCREEN, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 3bd7eac 36/54: Add support for JOURNALCTL-MODE, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme f4233e6 38/54: Minor refinements to JOURNALCTL-MODE, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 4a430b1 40/54: Review SELECTRUM faces (due to changes upstream), Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme 6e9c5a2 42/54: Modus Vivendi: tweak yellow-refine-{bg, fg} colours, Stefan Monnier, 2020/06/04
- [elpa] externals/modus-operandi-theme c8b29cc 44/54: Add support for HIGHLIGHT-INDENTATION, Stefan Monnier, 2020/06/04