David Bremner <[email protected]> writes:
Michael Graham <[email protected]> writes:
I have a bunch of saved searches, which I configure like this:
(push '(:name "Personal Unscreened"
:query "tag:inbox AND tag:unread AND (NOT
query:screened-addresses)" :key "u" :search-type 'tree)
notmuch-saved-searches)
But when I run the search, it always the results in search view
(notmuch-search-mode).
I think it's just a problem with too much quoting (try tree
without ', since you already quoted the outside expression).
Thank you, David! This fixed it:
(push '(:name "Personal Unscreened"
:query "tag:inbox AND tag:unread AND (NOT
query:screened-addresses) :key "u" :search-type tree)
notmuch-saved-searches)
I had actually tried 'tree and "tree" but not just the unquoted:
tree
Even for people that prefer not to use customize, inspecting the
expression that M-x customize-variable generates can help debug
these kind of problems (that's what I did to see what was wrong
with your example).
Thank you, that's good advice. I think it's probably time for me
to spend some time understanding elisp quoting. I'm always a
little confused by it.
Michael
_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]