[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-vivendi-theme e4ff240 16/73: Add explicit styles
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-vivendi-theme e4ff240 16/73: Add explicit styles for comint prompts |
Date: |
Wed, 26 Aug 2020 09:20:53 -0400 (EDT) |
branch: externals/modus-vivendi-theme
commit e4ff240a20e69abddcfe6798a1b858a6c3259b91
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Add explicit styles for comint prompts
1. Makes the prompt itself subject to the customisation option for "bold
constructs".
2. Using ':inherit bold' instead of ':weight bold' guarantees that the
user can apply an alternative weight across all faces. This was
originally done in commit 426578fdc.
---
README.org | 1 -
modus-operandi-theme.el | 2 ++
modus-vivendi-theme.el | 2 ++
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/README.org b/README.org
index 7c8d16e..3e8c24f 100644
--- a/README.org
+++ b/README.org
@@ -1226,7 +1226,6 @@ GNU Emacs distribution.
These do not require any extra styles because they are configured to
inherit from some basic faces. Please confirm.
-+ comint
+ edit-indirect
+ swift-mode
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index e816ade..c6d2b83 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -1076,6 +1076,8 @@ Also bind `class' to ((class color) (min-colors 89))."
;;
;; (set-face-attribute 'bold nil :weight 'semibold)
`(bold ((,class :weight bold)))
+ `(comint-highlight-input ((,class :inherit bold)))
+ `(comint-highlight-prompt ((,class ,@(modus-operandi-theme-bold-weight)
:foreground ,cyan-alt-other)))
`(error ((,class :inherit bold :foreground ,red)))
`(escape-glyph ((,class :foreground ,fg-escape-char-construct)))
`(header-line ((,class :background ,bg-header :foreground ,fg-header)))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index ad843f6..e963f18 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -1076,6 +1076,8 @@ Also bind `class' to ((class color) (min-colors 89))."
;;
;; (set-face-attribute 'bold nil :weight 'semibold)
`(bold ((,class :weight bold)))
+ `(comint-highlight-input ((,class :inherit bold)))
+ `(comint-highlight-prompt ((,class ,@(modus-vivendi-theme-bold-weight)
:foreground ,cyan-alt-other)))
`(error ((,class :inherit bold :foreground ,red)))
`(escape-glyph ((,class :foreground ,fg-escape-char-construct)))
`(header-line ((,class :background ,bg-header :foreground ,fg-header)))
- [elpa] externals/modus-vivendi-theme updated (43ece5e -> b94329f), Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 071eee6 04/73: Tweak README example with custom options, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme d35509a 03/73: Fix incorrect docstring for internal fring defun, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme c5c7675 01/73: Use yellow for diff-hl-change, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme c6ca88c 05/73: Internal: indentation adjustment, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 0ca31f3 08/73: Refine a few MU4E faces, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 3709b5b 02/73: New CUSTOM OPTION to choose fringe visibility, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme a5e1325 06/73: TENTATIVE review of Magit blame faces, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme f66e923 09/73: Tentative review of intense paren match, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 91a5bfe 10/73: Review paren match colours (amend f66e923d7), Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme e4ff240 16/73: Add explicit styles for comint prompts,
Stefan Monnier <=
- [elpa] externals/modus-vivendi-theme da83a06 15/73: Internal: adjust trashed sort to match A-Z, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 3c60a60 11/73: Avoid setting a foreground in generic italic face, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 97d757a 14/73: Add support for table-cell (built-in table.el), Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 3729979 19/73: Note that php-mode is supported indirectly, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 3dd3bba 25/73: Refine Magit log and section heading faces, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 8c67612 23/73: Review built-in VC log faces, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme eff5a4a 24/73: Tweak git commit buffer faces (Magit commit edit), Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 7debb3e 26/73: Minor doc update on "git" being "git-commit", Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme dbfffe9 27/73: Add explicit support for git-rebase (Magit), Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 03a1e5d 20/73: Update sample package declaration, Stefan Monnier, 2020/08/26