[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pulsar 486645f81b 16/28: Always ':extend t' the generic
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pulsar 486645f81b 16/28: Always ':extend t' the generic pulse face |
Date: |
Tue, 22 Mar 2022 06:58:03 -0400 (EDT) |
branch: externals/pulsar
commit 486645f81bcafdb3a2e0acc4975b359b7ba8780f
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Always ':extend t' the generic pulse face
This is to ensure that the highlight extends to the edge of the window
as some themes do not necessarily have that set up.
Thanks to Petter Storvik for reporting the problem in the discussion
around issue 1: <https://gitlab.com/protesilaos/pulsar/-/issues/1>.
---
pulsar.el | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/pulsar.el b/pulsar.el
index d84a2ff2c8..94ccbd7643 100644
--- a/pulsar.el
+++ b/pulsar.el
@@ -101,13 +101,14 @@ such as `customize-set-variable' do that automatically."
(pulsar-setup)))
:group 'pulsar)
-(defcustom pulsar-face 'pulse-highlight-start-face
+(defcustom pulsar-face 'pulsar-generic
"Face to use for the pulse line.
-The default is `pulse-highlight-start-face', though users can
-select one among `pulsar-red', `pulsar-green', `pulsar-yellow',
-`pulsar-blue', `pulsar-magenta', `pulsar-cyan', or any other face
-that has a background attribute."
- :type '(radio (face :tag "Standard pulse.el face" pulse-highlight-start-face)
+The default is `pulsar-generic' which reuses the standard face
+from the underlying pulse library. Users can select one among
+`pulsar-red', `pulsar-green', `pulsar-yellow', `pulsar-blue',
+`pulsar-magenta', `pulsar-cyan', or any other face that has a
+background attribute."
+ :type '(radio (face :tag "Generic pulse.el face" pulsar-generic)
(face :tag "Red style" pulsar-red)
(face :tag "Green style" pulsar-green)
(face :tag "Yellow style" pulsar-yellow)
@@ -140,6 +141,11 @@ command is invoked."
"Faces for `pulsar.el'."
:group 'pulsar)
+(defface pulsar-generic
+ '((t :inherit pulse-highlight-start-face :extend t))
+ "Default value of `pulsar-face'."
+ :group 'pulsar-faces)
+
(defface pulsar-red
'((default :extend t)
(((class color) (min-colors 88) (background light))
- [elpa] externals/pulsar 0cc2f4af56 02/28: Make outline structure more detailed, (continued)
- [elpa] externals/pulsar 0cc2f4af56 02/28: Make outline structure more detailed, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar de1fa21ae3 05/28: Refine pulsar-reveal-entry, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 4748f55eee 08/28: Expand the pulsar-pulse-functions, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar a84b2d86f1 10/28: Document integration with other packages, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar a7b7ac4f7e 11/28: Document pulse-setup, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 23a8ef7fbf 13/28: Release version 0.1.0, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 54702c9e1f 12/28: Add package keywords, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar bc084499c4 04/28: Add function to reveal Org or Outline entry, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 98d970dcdf 09/28: Add minor rewording, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar fca0e53815 15/28: Exert control over the pulse effect, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 486645f81b 16/28: Always ':extend t' the generic pulse face,
ELPA Syncer <=
- [elpa] externals/pulsar dcc94662a9 07/28: Stop pulsing during pulsar-reveal-entry, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 82946880b5 14/28: Add missing function to sample package setup, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 42f8a03b8a 18/28: Fix typo, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar d654e552f0 19/28: Clarify doc strings of user options, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 4cfc18a009 22/28: Update to version 0.2.0, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar d2174307b0 23/28: Simple fix for highlight behavior on last line, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 2d666c7061 25/28: Update "Acknowledgements" in the manual, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 1535551ac0 27/28: Use post-command-hook instead of an advice, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 1b73a123f1 21/28: Reword Commentary and package description, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar b469abdd94 17/28: Abstract pulse effect; add pulsar-highlight-line, ELPA Syncer, 2022/03/22