[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master a898176 14/50: defface on-screen-shadow: make slightly mor
From: |
Michael Heerdegen |
Subject: |
[elpa] master a898176 14/50: defface on-screen-shadow: make slightly more colorful |
Date: |
Mon, 09 Nov 2015 03:35:43 +0000 |
branch: master
commit a8981766bd7e087bd4a63b28c68f4740696098fc
Author: Michael Heerdegen <address@hidden>
Commit: Michael Heerdegen <address@hidden>
defface on-screen-shadow: make slightly more colorful
Just grey is too common, e.g. used by "stripe-buffer". Using a bit
color makes it more distinguishable form other faces.
---
on-screen.el | 44 ++++++++++++++++++++++++++++----------------
1 files changed, 28 insertions(+), 16 deletions(-)
diff --git a/on-screen.el b/on-screen.el
index 00d5450..5013d95 100644
--- a/on-screen.el
+++ b/on-screen.el
@@ -49,19 +49,30 @@
;; to enable it in all Info buffers.
;;
;; By default, fringe markers are used for highlighting - see
-;; `on-screen-highlight-method' to change that.
+;; `on-screen-highlight-method' to change that. Type M-x
+;; customize-group RET on-screen RET to see what else can be
+;; configured. If you use a configuration file (.emacs), you may also
+;; want to define mode specific settings by using buffer local
+;; variables. For example, to use non intrusive fringe markers by
+;; default, but transparent overlays in w3m, you would add
;;
-;; Type M-x customize-group RET on-screen RET to see what else can be
-;; configured.
+;; (add-hook
+;; 'w3m-mode-hook
+;; (lambda ()
+;; (set (make-local-variable 'on-screen-highlight-method)
+;; 'shadow)))
;;
-;; If you want to use transparent overlays for highlighting, and there
-;; is the library "hexrgb.el" in your `load-path', it will be used to
-;; compute highlighting colors dynamically instead of using constant
-;; faces. I.e. if you use non-default background colors (e.g. from
-;; custom themes), on-screen will try to perform highlighting with a
+;; to your .emacs.
+;;
+;; If you use transparent overlays for highlighting and there is the
+;; library "hexrgb.el" in your `load-path', it will be used to compute
+;; highlighting colors dynamically instead of using constant faces.
+;; I.e. if you use non-default background colors (e.g. from custom
+;; themes), on-screen will try to perform highlighting with a
;; suitable, slightly different color. See
;; `on-screen-highlighting-to-background-delta' to control this.
;;
+;;
;; Implementation notes (mainly for myself):
;;
;; Implementing this functionality is not as straightforward as one
@@ -152,13 +163,14 @@ Ignored if highlighting doesn't use the fringe."
:group 'on-screen)
(defface on-screen-shadow
- '((((class color grayscale) (min-colors 88) (background light))
- :background "gray95")
- (((class color grayscale) (min-colors 88) (background dark))
- :background "gray10")
- (((class color) (min-colors 8) (background light))
+ '((((class color) (min-colors 88) (background light))
+ :background "#f2efcb" ;; "#f5f4ff" is a bit less intrusive
+ )
+ (((class color) (min-colors 88) (background dark))
+ :background "#272620")
+ (((class color) (min-colors 8) (background light))
:background "green")
- (((class color) (min-colors 8) (background dark))
+ (((class color) (min-colors 8) (background dark))
:background "blue"))
"Face used for displaying a transparent overlay."
:group 'on-screen)
- [elpa] master updated (872014e -> 65bbd8d), Michael Heerdegen, 2015/11/08
- [elpa] master d43980c 05/50: wrapped on-screen-record-data in condition-case, Michael Heerdegen, 2015/11/08
- [elpa] master 00b25ac 06/50: minor correction, Michael Heerdegen, 2015/11/08
- [elpa] master 0caf472 02/50: increased def value of on-screen-delay, Michael Heerdegen, 2015/11/08
- [elpa] master 5120be6 04/50: mc, Michael Heerdegen, 2015/11/08
- [elpa] master 6316701 03/50: Doc and name cleanups, Michael Heerdegen, 2015/11/08
- [elpa] master 1d46de7 07/50: removed lexical-binding: t (confusing because not necessary), Michael Heerdegen, 2015/11/08
- [elpa] master 1606351 12/50: new-var on-screen-overlay-priority, Michael Heerdegen, 2015/11/08
- [elpa] master 83dd4f5 13/50: comment in on-screen-make-narrow-line-overlay, Michael Heerdegen, 2015/11/08
- [elpa] master 6b88eaa 10/50: on-screen-treat-cut-lines, default nil (faster), Michael Heerdegen, 2015/11/08
- [elpa] master a898176 14/50: defface on-screen-shadow: make slightly more colorful,
Michael Heerdegen <=
- [elpa] master cdf787a 08/50: removed optional arg of on-screen-record-ranges (not used), Michael Heerdegen, 2015/11/08
- [elpa] master be07506 01/50: Initial commit, Michael Heerdegen, 2015/11/08
- [elpa] master 6aaa211 11/50: remove visual line stuff, Michael Heerdegen, 2015/11/08
- [elpa] master c083518 09/50: added homepage to header, Michael Heerdegen, 2015/11/08
- [elpa] master dd6de11 15/50: minor change, Michael Heerdegen, 2015/11/08
- [elpa] master 38b4a11 19/50: add missing autoload for global-on-screen-mode alias, Michael Heerdegen, 2015/11/08
- [elpa] master 4f4c320 20/50: Update copyright, Michael Heerdegen, 2015/11/08
- [elpa] master 350a979 23/50: add workaround for bug#16796, Michael Heerdegen, 2015/11/08
- [elpa] master 03ddd52 16/50: after-scroll: don't remove highlighting when called in succession, Michael Heerdegen, 2015/11/08
- [elpa] master 5134a22 21/50: minor change (rename two functions), Michael Heerdegen, 2015/11/08