[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-operandi-theme 786a990 134/153: Add support for I
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-operandi-theme 786a990 134/153: Add support for Isearch regexp groups (Emacs >=28) |
Date: |
Thu, 18 Mar 2021 13:47:57 -0400 (EDT) |
branch: externals/modus-operandi-theme
commit 786a990c0417ba2199a11a751e44631aa27837c4
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Add support for Isearch regexp groups (Emacs >=28)
---
modus-operandi-theme.el | 15 ++++++++++++++-
modus-vivendi-theme.el | 15 ++++++++++++++-
2 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index ed9da08..a51e2b5 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -4499,7 +4499,6 @@ Also bind `class' to ((class color) (min-colors 89))."
`(ztreep-node-count-children-face ((,class :foreground ,fg-special-warm)))
`(ztreep-node-face ((,class :foreground ,fg-main))))
;;;; Emacs 27+
- ;; EXPERIMENTAL this form is subject to review
(when (>= emacs-major-version 27)
(custom-theme-set-faces
'modus-operandi
@@ -4524,6 +4523,20 @@ Also bind `class' to ((class color) (min-colors 89))."
`(tab-line-tab-current ((,class :inherit tab-line-tab)))
`(tab-line-tab-inactive ((,class :box (:line-width 2 :color
,bg-tab-inactive)
:background ,bg-tab-inactive :foreground
,fg-dim)))))
+;;;; Emacs 28+
+ (when (>= emacs-major-version 28)
+ (custom-theme-set-faces
+ 'modus-operandi
+;;;;; isearch regexp groups
+ `(isearch-group-1 ((,class :inherit modus-theme-refine-green)))
+ `(isearch-group-2 ((,class :inherit modus-theme-subtle-green)))
+ `(isearch-group-3 ((,class :inherit modus-theme-refine-blue)))
+ `(isearch-group-4 ((,class :inherit modus-theme-subtle-blue)))
+ `(isearch-group-5 ((,class :inherit modus-theme-refine-magenta)))
+ `(isearch-group-6 ((,class :inherit modus-theme-subtle-magenta)))
+ `(isearch-group-7 ((,class :inherit modus-theme-refine-red)))
+ `(isearch-group-8 ((,class :inherit modus-theme-subtle-red)))
+ `(isearch-group-9 ((,class :inherit modus-theme-refine-yellow)))))
;;; variables
(custom-theme-set-variables
'modus-operandi
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 8b24bb7..03077b5 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -4499,7 +4499,6 @@ Also bind `class' to ((class color) (min-colors 89))."
`(ztreep-node-count-children-face ((,class :foreground ,fg-special-warm)))
`(ztreep-node-face ((,class :foreground ,fg-main))))
;;;; Emacs 27+
- ;; EXPERIMENTAL this form is subject to review
(when (>= emacs-major-version 27)
(custom-theme-set-faces
'modus-vivendi
@@ -4524,6 +4523,20 @@ Also bind `class' to ((class color) (min-colors 89))."
`(tab-line-tab-current ((,class :inherit tab-line-tab)))
`(tab-line-tab-inactive ((,class :box (:line-width 2 :color
,bg-tab-inactive)
:background ,bg-tab-inactive :foreground
,fg-dim)))))
+;;;; Emacs 28+
+ (when (>= emacs-major-version 28)
+ (custom-theme-set-faces
+ 'modus-vivendi
+;;;;; isearch regexp groups
+ `(isearch-group-1 ((,class :inherit modus-theme-refine-green)))
+ `(isearch-group-2 ((,class :inherit modus-theme-subtle-green)))
+ `(isearch-group-3 ((,class :inherit modus-theme-refine-blue)))
+ `(isearch-group-4 ((,class :inherit modus-theme-subtle-blue)))
+ `(isearch-group-5 ((,class :inherit modus-theme-refine-magenta)))
+ `(isearch-group-6 ((,class :inherit modus-theme-subtle-magenta)))
+ `(isearch-group-7 ((,class :inherit modus-theme-refine-red)))
+ `(isearch-group-8 ((,class :inherit modus-theme-subtle-red)))
+ `(isearch-group-9 ((,class :inherit modus-theme-refine-yellow)))))
;;; variables
(custom-theme-set-variables
'modus-vivendi
- [elpa] externals/modus-operandi-theme 2fb8276 146/153: Update org-roam faces, (continued)
- [elpa] externals/modus-operandi-theme 2fb8276 146/153: Update org-roam faces, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme fb1b6ec 124/153: Recompile manual, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 19779c3 153/153: Deprecate modus-operandi-theme; add modus-themes, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme f8cbba6 136/153: Tweak colour of intense current line, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 29d8a81 147/153: Refine Org agenda faces, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 7316e33 139/153: Refine fringe-specific accented backgrounds, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme eff2eb6 121/153: Minor review of some Elfeed faces, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme ec56992 137/153: Refine line-number-{major, minor}-tick (Emacs27+), Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme a5832c9 151/153: Update to version 0.13.0, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 5b0cb43 118/153: Add note in manual about company-mode popup, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 786a990 134/153: Add support for Isearch regexp groups (Emacs >=28),
Stefan Monnier <=
- [elpa] externals/modus-operandi-theme 942eba3 142/153: Note that rjsx-mode is indirectly supported, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 27b98ff 140/153: Refine magit file and hunk selection colours, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 0528e94 144/153: Tweak Markdown and Org quote text colour, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 8268ccc 125/153: Make org-meta-line less prominent, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme c82a754 152/153: Merge tag '0.13.0' into elpa/modus-operandi-theme, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme b23f4e7 035/153: Review mu4e-replied-face for more colour distance, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 79ab5b5 150/153: Refine support for Emacs28 isearch regexp groups, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 77e94fc 131/153: Tweak colour of gnus-header-from, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme 1ce7b8a 077/153: Tone down optional border of Org agenda headings, Stefan Monnier, 2021/03/18
- [elpa] externals/modus-operandi-theme d6a6826 078/153: Tweak difference between Elfeed read/unread titles, Stefan Monnier, 2021/03/18