[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ef-themes 1ffe877fae: Add node to the manual about goto
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ef-themes 1ffe877fae: Add node to the manual about goto-address-mode |
Date: |
Sat, 3 Sep 2022 01:57:40 -0400 (EDT) |
branch: externals/ef-themes
commit 1ffe877faed2cee9e08b7f1ea90da1210fcabc97
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Add node to the manual about goto-address-mode
---
README.org | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/README.org b/README.org
index 56d894ac7b..e42d794ce2 100644
--- a/README.org
+++ b/README.org
@@ -755,6 +755,32 @@ The exact color values are taken from the active Ef theme."
To find the names of the color variables, the user can rely on the
commands for previewing the palette
([[#h:8dd67bf5-879e-46e5-b277-5bac141f53d1][Preview theme colors]]).
+** Tweak goto-address-mode faces
+:PROPERTIES:
+:CUSTOM_ID: h:d42f726c-44e5-4dd6-b77e-e6ca0bab3189
+:END:
+
+The built-in ~goto-address-mode~ uses heuristics to identify URLs and
+email addresses in the current buffer. It then applies a face to them
+to change their style. Some packages, such as =notmuch=, use this
+minor-mode automatically.
+
+The faces are not declared with ~defface~, meaning that it is better
+that the theme does not modify them. The user is thus encouraged to
+consider including this in their setup:
+
+#+begin_src emacs-lisp
+(setq goto-address-url-face 'link
+ goto-address-url-mouse-face 'highlight
+ goto-address-mail-face 'link
+ goto-address-mail-mouse-face 'highlight)
+#+end_src
+
+My personal preference is to set ~goto-address-mail-face~ to nil,
+because it otherwise adds too much visual noise to the buffer (email
+addresses stand out more, due to the use of the uncommon =@= caharacter
+but also because they are often enclosed in angled brackets).
+
* Supported packages or face groups
:PROPERTIES:
:CUSTOM_ID: h:c8d80daf-d039-40c4-bb74-e7814a9b4c79
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/ef-themes 1ffe877fae: Add node to the manual about goto-address-mode,
ELPA Syncer <=