Revert "Add support for empty and string maildir shortcuts"
This reverts commit be695579c6.
The change didn't look very nice (keynames are not aligned etc.), and in
hindsight we should probably implement this slightly differently.
This commit is contained in:
@ -92,12 +92,11 @@ This makes it possible to quickly go to a particular
|
|||||||
maildir (folder), or quickly moving messages to them (e.g., for
|
maildir (folder), or quickly moving messages to them (e.g., for
|
||||||
archiving or refiling).
|
archiving or refiling).
|
||||||
|
|
||||||
Each of the list elements is a plist with at least a
|
Each of the list elements is a plist with at least:
|
||||||
`:maildir' - the maildir for the shortcut (e.g. \"/archive\")
|
`:maildir' - the maildir for the shortcut (e.g. \"/archive\")
|
||||||
|
`:key' - the shortcut key.
|
||||||
|
|
||||||
Optionally, you can add the following:
|
Optionally, you can add the following:
|
||||||
`:key' - the shortcut key, can also be a string that gets
|
|
||||||
displayed in the main view.
|
|
||||||
`:name' - name of the maildir to be displayed in main-view.
|
`:name' - name of the maildir to be displayed in main-view.
|
||||||
`:hide' - if t, the shortcut is hidden from the main-view and
|
`:hide' - if t, the shortcut is hidden from the main-view and
|
||||||
speedbar.
|
speedbar.
|
||||||
|
|||||||
@ -210,7 +210,7 @@ clicked."
|
|||||||
with longest = (mu4e--longest-of-maildirs-and-bookmarks)
|
with longest = (mu4e--longest-of-maildirs-and-bookmarks)
|
||||||
with queries = (plist-get mu4e--server-props :queries)
|
with queries = (plist-get mu4e--server-props :queries)
|
||||||
for m in mds
|
for m in mds
|
||||||
for key = (plist-get m :key)
|
for key = (string (plist-get m :key))
|
||||||
for name = (plist-get m :name)
|
for name = (plist-get m :name)
|
||||||
for query = (plist-get m :query)
|
for query = (plist-get m :query)
|
||||||
for qcounts = (and (stringp query)
|
for qcounts = (and (stringp query)
|
||||||
|
|||||||
@ -2015,8 +2015,7 @@ quick access to, for example:
|
|||||||
(:maildir "/lists" :key ?l)
|
(:maildir "/lists" :key ?l)
|
||||||
(:maildir "/work" :key ?w)
|
(:maildir "/work" :key ?w)
|
||||||
(:maildir "/sent" :key ?s)
|
(:maildir "/sent" :key ?s)
|
||||||
(:maildir "/lists/project_a/list_b" :key "Lab")
|
(:maildir "/lists/project/project_X" :key ?x :name "Project X")))
|
||||||
(:maildir "/lists/project_c/list_x" :key ?x :name "Project X")))
|
|
||||||
@end lisp
|
@end lisp
|
||||||
|
|
||||||
This sets @key{i} as a shortcut for the @t{/inbox} folder --- effectively a
|
This sets @key{i} as a shortcut for the @t{/inbox} folder --- effectively a
|
||||||
@ -2026,8 +2025,7 @@ choose from @emph{all} maildirs that you have. There is support for
|
|||||||
autocompletion; note that the list of maildirs is determined when @t{mu4e}
|
autocompletion; note that the list of maildirs is determined when @t{mu4e}
|
||||||
starts; if there are changes in the maildirs while @t{mu4e} is running, you
|
starts; if there are changes in the maildirs while @t{mu4e} is running, you
|
||||||
need to restart @t{mu4e}. Optionally, you can specify a name to be displayed
|
need to restart @t{mu4e}. Optionally, you can specify a name to be displayed
|
||||||
in the main view. The key can also be a string, in that case the string gets
|
in the main view.
|
||||||
displayed in the main view. This is useful e.g. for calling custom Hydras.
|
|
||||||
|
|
||||||
Each of the folder names is relative to your top-level maildir directory; so
|
Each of the folder names is relative to your top-level maildir directory; so
|
||||||
if you keep your mail in @file{~/Maildir}, @file{/inbox} would refer to
|
if you keep your mail in @file{~/Maildir}, @file{/inbox} would refer to
|
||||||
|
|||||||
Reference in New Issue
Block a user