summaryrefslogtreecommitdiff
path: root/alot/defaults
diff options
context:
space:
mode:
authordtk <dtk@gmx.de>2012-01-10 22:26:01 +0100
committerdtk <dtk@gmx.de>2012-01-11 11:08:36 +0100
commitee4b65a9aceba3cd8335fb2648300355e83ce986 (patch)
treeae9592ee164d3bd2bfe69a5bff7b2c386b61c669 /alot/defaults
parent075fd10c7844ecb5c05b275fb3b1a56a114a7142 (diff)
Create `[highlighting]` section in default config
Move options concerned with thread highlighting into their own section in the config file. This makes the `[general]` section less cluttered and deskews the name space. Closes #25.
Diffstat (limited to 'alot/defaults')
-rw-r--r--alot/defaults/alot.rc38
1 files changed, 18 insertions, 20 deletions
diff --git a/alot/defaults/alot.rc b/alot/defaults/alot.rc
index 61fd14e0..6e031b84 100644
--- a/alot/defaults/alot.rc
+++ b/alot/defaults/alot.rc
@@ -32,26 +32,6 @@ envelope_headers_blacklist = In-Reply-To,References
# set terminal command used for spawning shell commands
terminal_cmd = x-terminal-emulator -e
-######################
-# HIGHLIGHT settings #
-######################
-# Thread lines in the search buffer can be highlighted if they match a query
-# by theming their components.
-
-# dictionary of highlighting rules. The keys are queries you want highlighting
-# for; values are chosen designators that identify themeing options in the
-# colour scheme:
-# search_thread_<component>_<id>_[focus_][fg|bg]
-# Note that the sequence of the list defines the search order. The first
-# specified query that matches selects the themeing.
-thread_highlight_rules = { "tag:unread AND tag:flagged":"isunread+flagged",
- "tag:unread":"isunread", "tag:flagged":"isflagged" }
-
-# comma separated list of the components of a thread line you want highlighted
-# if a query matches.
-# Possible components are [date|mailcount|tags|authors|subject|content].
-thread_highlight_components = subject
-
####################
# EDITOR settings #
####################
@@ -195,6 +175,24 @@ clo = close
bp = bprevious
ls = bufferlist
+[highlighting]
+# Thread lines in the search buffer can be highlighted if they match a query
+# by theming their components.
+
+# dictionary of highlighting rules. The keys are queries you want highlighting
+# for; values are chosen designators that identify themeing options in the
+# colour scheme:
+# search_thread_<component>_<id>_[focus_][fg|bg]
+# Note that the sequence of the list defines the search order. The first
+# specified query that matches selects the themeing.
+rules = { "tag:unread AND tag:flagged":"isunread+flagged",
+ "tag:unread":"isunread",
+ "tag:flagged":"isflagged" }
+
+# comma separated list of the components of a thread line you want highlighted
+# if a query matches.
+# Possible components are [date|mailcount|tags|authors|subject|content].
+components = subject
[256c-theme]