mu4e: minor doc fixes

Update bookmarks example
This commit is contained in:
djcb 2015-12-24 16:03:21 +02:00
parent 113c024632
commit 20c849390d
1 changed files with 7 additions and 8 deletions

View File

@ -25,7 +25,7 @@ Documentation License.''
@end copying
@titlepage
@title @t{mu4e} - an e-mail client for Emacs
@title @t{Mu4e} - an e-mail client for Emacs
@subtitle version @value{mu-version}
@author Dirk-Jan C. Binnema
@ -1888,15 +1888,14 @@ type is @kbd{bb}.
Instead of using strings, it is also possible to use Lisp expressions as
bookmarks. The only requirement is that they evaluate to a query string.
For example, to get all the messages that are at least a week old in
your inbox:
For example, to get all the messages that are at most a week old in your
inbox:
@lisp
(add-to-list 'mu4e-bookmarks '(
(concat "maildir:/inbox date:.."
(format-time-string "%Y%m%d"
(subtract-time (current-time) (days-to-time 7))))
"Messages older than a week" ?O) t)
(add-to-list 'mu4e-bookmarks
'((concat "maildir:/inbox AND date:"
(format-time-string "%Y%m%d" (subtract-time (current-time) (days-to-time 7))))
"Inbox messages in the last 7 days" ?W) t)
@end lisp