mu4e: support showing 'baseline' query-results
Add the concept of a query results baseline, i.e., the result for bookmark-queries at some particular point in time. Later, we can compare the results with the then-current query-results. Show the delta in the main view. Add mu4e-reset-baseline-query-results to reset the baseline to 'now'. By default, we automatically reset when explicitly (interactively) going to the main-view, i.e., M-x mu4e.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
;;; mu4e-update.el -- part of mu4e, -*- lexical-binding: t -*-
|
||||
|
||||
;; Copyright (C) 2011-2021 Dirk-Jan C. Binnema
|
||||
;; Copyright (C) 2011-2022 Dirk-Jan C. Binnema
|
||||
|
||||
;; Author: Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
;; Maintainer: Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
@ -311,6 +311,7 @@ run in the background; otherwise, pop up a window."
|
||||
:lighter ""
|
||||
:keymap
|
||||
(let ((map (make-sparse-keymap)))
|
||||
(define-key map (kbd "C-c C-r") #'mu4e-reset-baseline-query-results)
|
||||
(define-key map (kbd "C-S-u") #'mu4e-update-mail-and-index)
|
||||
;; for terminal users
|
||||
(define-key map (kbd "C-c C-u") #'mu4e-update-mail-and-index)
|
||||
|
||||
Reference in New Issue
Block a user