From 20c849390db2c63673790aea035e04d8a92bb6b2 Mon Sep 17 00:00:00 2001 From: djcb Date: Thu, 24 Dec 2015 16:03:21 +0200 Subject: [PATCH] mu4e: minor doc fixes Update bookmarks example --- mu4e/mu4e.texi | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/mu4e/mu4e.texi b/mu4e/mu4e.texi index 85b4f674..ef30da7c 100644 --- a/mu4e/mu4e.texi +++ b/mu4e/mu4e.texi @@ -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