Add an example of filtering out spam.
This commit is contained in:
@ -3474,7 +3474,7 @@ or create a new one.
|
|||||||
@section Hydra
|
@section Hydra
|
||||||
|
|
||||||
People sometimes ask about having multi-character shortcuts for
|
People sometimes ask about having multi-character shortcuts for
|
||||||
bookmarks; and easy way to achieve this, is by using an emacs package
|
bookmarks; an easy way to achieve this, is by using an emacs package
|
||||||
called Hydra@footnote{@url{https://github.com/abo-abo/hydra}}.
|
called Hydra@footnote{@url{https://github.com/abo-abo/hydra}}.
|
||||||
|
|
||||||
With Hydra installed, we can add multi-character shortcuts, for instance:
|
With Hydra installed, we can add multi-character shortcuts, for instance:
|
||||||
@ -3893,6 +3893,13 @@ its docstring).
|
|||||||
@subsection How can I hide messages from the search results?
|
@subsection How can I hide messages from the search results?
|
||||||
See the variable @code{mu4e-headers-hide-predicate}.
|
See the variable @code{mu4e-headers-hide-predicate}.
|
||||||
|
|
||||||
|
For example, to filter out GMail's spam, set it to:
|
||||||
|
@lisp
|
||||||
|
(setq mu4e-headers-hide-predicate
|
||||||
|
(lambda (msg)
|
||||||
|
(string-suffix-p "Spam" (mu4e-message-field msg :maildir))))
|
||||||
|
@end lisp
|
||||||
|
|
||||||
@subsection I'm getting an error 'Variable binding depth exceeds max-specpdl-size' when using mu4e -- what can I do about it?
|
@subsection I'm getting an error 'Variable binding depth exceeds max-specpdl-size' when using mu4e -- what can I do about it?
|
||||||
The error occurs because @t{mu4e} is binding more variables than
|
The error occurs because @t{mu4e} is binding more variables than
|
||||||
@t{emacs} allows for, by default. You can avoid this by setting a
|
@t{emacs} allows for, by default. You can avoid this by setting a
|
||||||
|
|||||||
Reference in New Issue
Block a user