mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
emacs: Expand default saved searches and add shortcut keys
This should help new users off to a better start with the addition of more sensible saved searches and default shortcut keys. Most existing users have probably customized this variable and won't be affected.
This commit is contained in:
parent
3c1ad5bfa0
commit
e501a16e71
3 changed files with 9 additions and 4 deletions
|
@ -93,8 +93,13 @@ searches so they still work in customize."
|
|||
(const :tag "Oldest-first" oldest-first)
|
||||
(const :tag "Newest-first" newest-first))))))
|
||||
|
||||
(defcustom notmuch-saved-searches '((:name "inbox" :query "tag:inbox")
|
||||
(:name "unread" :query "tag:unread"))
|
||||
(defcustom notmuch-saved-searches
|
||||
`((:name "inbox" :query "tag:inbox" :key ,(kbd "i"))
|
||||
(:name "unread" :query "tag:unread" :key ,(kbd "u"))
|
||||
(:name "flagged" :query "tag:flagged" :key ,(kbd "f"))
|
||||
(:name "sent" :query "tag:sent" :key ,(kbd "t"))
|
||||
(:name "drafts" :query "tag:draft" :key ,(kbd "d"))
|
||||
(:name "all mail" :query "*" :key ,(kbd "a")))
|
||||
"A list of saved searches to display.
|
||||
|
||||
The saved search can be given in 3 forms. The preferred way is as
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Saved searches: [edit]
|
||||
|
||||
52 inbox 52 unread
|
||||
52 inbox 52 unread 52 all mail
|
||||
|
||||
Search: .
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Saved searches: [edit]
|
||||
|
||||
52 inbox 52 unread
|
||||
52 inbox 52 unread 52 all mail
|
||||
|
||||
Search: .
|
||||
|
||||
|
|
Loading…
Reference in a new issue