mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
doc/emacs: document a few notmuch-hello customizable variables.
A user asked about the thousands separator on IRC, and I had to check the source.
This commit is contained in:
parent
aec72e5806
commit
ae1fc657ef
2 changed files with 41 additions and 2 deletions
|
@ -45,7 +45,7 @@ if tags.has('WITH_EMACS'):
|
||||||
# Hacky reimplementation of include to workaround limitations of
|
# Hacky reimplementation of include to workaround limitations of
|
||||||
# sphinx-doc
|
# sphinx-doc
|
||||||
lines = ['.. include:: /../emacs/rstdoc.rsti\n\n'] # in the source tree
|
lines = ['.. include:: /../emacs/rstdoc.rsti\n\n'] # in the source tree
|
||||||
for file in ('notmuch.rsti', 'notmuch-lib.rsti', 'notmuch-show.rsti', 'notmuch-tag.rsti', 'notmuch-tree.rsti'):
|
for file in ('notmuch.rsti', 'notmuch-lib.rsti', 'notmuch-hello.rsti', 'notmuch-show.rsti', 'notmuch-tag.rsti', 'notmuch-tree.rsti'):
|
||||||
lines.extend(open(rsti_dir+'/'+file))
|
lines.extend(open(rsti_dir+'/'+file))
|
||||||
rst_epilog = ''.join(lines)
|
rst_epilog = ''.join(lines)
|
||||||
del lines
|
del lines
|
||||||
|
|
|
@ -46,8 +46,47 @@ a mouse or by positioning the cursor and pressing ``<return>``
|
||||||
| Customize Notmuch or this page.
|
| Customize Notmuch or this page.
|
||||||
|
|
||||||
You can change the overall appearance of the notmuch-hello screen by
|
You can change the overall appearance of the notmuch-hello screen by
|
||||||
customizing the variable :index:`notmuch-hello-sections`.
|
customizing the variables
|
||||||
|
|
||||||
|
:index:`notmuch-hello-sections`
|
||||||
|
|docstring::notmuch-hello-sections|
|
||||||
|
|
||||||
|
:index:`notmuch-hello-thousands-separator`
|
||||||
|
|docstring::notmuch-hello-thousands-separator|
|
||||||
|
|
||||||
|
:index:`notmuch-show-logo`
|
||||||
|
|docstring::notmuch-show-logo|
|
||||||
|
|
||||||
|
:index:`!notmuch-column-control`
|
||||||
|
Controls the number of columns for saved searches/tags in notmuch view.
|
||||||
|
|
||||||
|
This variable has three potential types of values:
|
||||||
|
|
||||||
|
.. describe:: t
|
||||||
|
|
||||||
|
Automatically calculate the number of columns possible based
|
||||||
|
on the tags to be shown and the window width.
|
||||||
|
|
||||||
|
.. describe:: integer <n>
|
||||||
|
|
||||||
|
A lower bound on the number of characters that will
|
||||||
|
be used to display each column.
|
||||||
|
|
||||||
|
.. describe:: float <f>
|
||||||
|
|
||||||
|
A fraction of the window width that is the lower bound on the
|
||||||
|
number of characters that should be used for each column.
|
||||||
|
|
||||||
|
So:
|
||||||
|
|
||||||
|
- if you would like two columns of tags, set this to 0.5.
|
||||||
|
|
||||||
|
- if you would like a single column of tags, set this to 1.0.
|
||||||
|
|
||||||
|
- if you would like tags to be 30 characters wide, set this to 30.
|
||||||
|
|
||||||
|
- if you don't want to worry about all of this nonsense, leave
|
||||||
|
this set to `t`.
|
||||||
|
|
||||||
|
|
||||||
notmuch-hello key bindings
|
notmuch-hello key bindings
|
||||||
|
|
Loading…
Reference in a new issue