mirror of https://github.com/djcb/mu.git
* mu4e-headers.el: give better feedback when changing sort-order/threading/full-search, document it.
This commit is contained in:
parent
1c8f12c25e
commit
d67f0f181b
|
@ -938,6 +938,11 @@ rerun the last search with the new parameters."
|
|||
(setq
|
||||
mu4e-headers-sortfield sortfield
|
||||
mu4e-headers-sort-revert revert) ;; "descending" means "revert"
|
||||
(mu4e-message "Sorting by %s (%s)%s"
|
||||
(symbol-name sortfield)
|
||||
(if revert "descending" "ascending")
|
||||
(if rerun
|
||||
"" " (press 'g' to refresh)"))
|
||||
(when rerun
|
||||
(mu4e-headers-rerun-search))))
|
||||
|
||||
|
@ -946,6 +951,9 @@ rerun the last search with the new parameters."
|
|||
rerun the last search with the new setting for threading."
|
||||
(interactive "P")
|
||||
(setq mu4e-headers-show-threads (not mu4e-headers-show-threads))
|
||||
(mu4e-message "Threading turned %s%s"
|
||||
(if mu4e-headers-show-threads "on" "off")
|
||||
(if rerun "" " (press 'g' to refresh)"))
|
||||
(when rerun
|
||||
(mu4e-headers-rerun-search)))
|
||||
|
||||
|
@ -954,7 +962,11 @@ rerun the last search with the new setting for threading."
|
|||
rerun the last search with the new setting for threading."
|
||||
(interactive "P")
|
||||
(setq mu4e-headers-full-search (not mu4e-headers-full-search))
|
||||
(when rerun (mu4e-headers-rerun-search)))
|
||||
(mu4e-message "Full search turned %s%s"
|
||||
(if mu4e-headers-full-search "on" "off")
|
||||
(if rerun "" " (press 'g' to refresh)"))
|
||||
(when rerun
|
||||
(mu4e-headers-rerun-search)))
|
||||
|
||||
|
||||
(defun mu4e-headers-view-message ()
|
||||
|
|
|
@ -544,6 +544,7 @@ M-right next query
|
|||
|
||||
O change sort order
|
||||
P toggle threading
|
||||
Q toggle full-search
|
||||
|
||||
a execute some action on header
|
||||
|
||||
|
@ -609,9 +610,10 @@ order.
|
|||
|
||||
You can change the sort order with @t{M-x mu4e-headers-change-sorting} or
|
||||
@key{O}, and you can toggle threading on/off using @t{M-x
|
||||
mu4e-headers-toggle-threading}. For both of these functions, if you provide a
|
||||
prefix argument (@key{C-u}), the current search is updated immediately using
|
||||
the new parameters.
|
||||
mu4e-headers-toggle-threading} or @key{P}. For both of these functions, if you
|
||||
provide a prefix argument (@key{C-u}), the current search is updated
|
||||
immediately using the new parameters. You can toggle full-search
|
||||
(@ref{Searching}) using @t{M-x mu4e-headers-toggle-full-search} or @key{Q}.
|
||||
|
||||
If you want to change the defaults for these settings, you can use the
|
||||
variables @code{mu4e-headers-sortfield} and @code{mu4e-headers-show-threads}.
|
||||
|
|
Loading…
Reference in New Issue