summaryrefslogtreecommitdiff
path: root/docs/source/configuration/index.rst
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-02-24 10:25:20 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2012-02-24 10:25:20 +0000
commit108df3df8571aea2164a5d3fc42655ac2bd06c17 (patch)
tree4c2c62ad9d82ac120e55f015717549bd4a69d148 /docs/source/configuration/index.rst
parent228cd62f7c32fba07f8b9bc9204dd1cd0dfd09f6 (diff)
tagstring translation via re.sub
this introduces a feature that lets you use regexps to match tagstrings in your [tags] subsections. Moreover, it introduces a config option "translation" for these sections that will take a pair of strings as value and, if no "translation" is given, will be used to substitute the matching tagstring to a translated string: tag: "notmuch::foo", section: "[[notmuch::.*]]" translation: "notmuch::(.*)", "nm:\1" will result in a translated tagstring "nm:foo"
Diffstat (limited to 'docs/source/configuration/index.rst')
0 files changed, 0 insertions, 0 deletions