]> git.notmuchmail.org Git - notmuch/commit
emacs: Allow tuning of the tag/saved search layout.
authorDavid Edmondson <dme@dme.org>
Thu, 29 Apr 2010 08:28:23 +0000 (09:28 +0100)
committerCarl Worth <cworth@cworth.org>
Fri, 4 Jun 2010 00:04:11 +0000 (17:04 -0700)
commit251d57f56b2bf22771f2d8617151ef6b3d81d04f
tree008b614cf601590fa88755c74003474e00ecb3dd
parent55cef18f95fb2b570927df1cb629ad72089e10de
emacs: Allow tuning of the tag/saved search layout.

Add `notmuch-column-control', which has three potential sets of
values:

- t: automatically calculate the number of columns per line based on
  the tags to be shown and the window width,
- an integer: a lower bound on the number of characters that will be
  used to display each column,
- a float: 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'.
emacs/notmuch-hello.el