mirror of
https://github.com/djcb/mu.git
synced 2024-06-28 07:41:04 +02:00
commit
0b76ccc15c
|
@ -496,6 +496,7 @@ after the end of the search results."
|
||||||
(mu4e~headers-defun-mark-for read)
|
(mu4e~headers-defun-mark-for read)
|
||||||
(mu4e~headers-defun-mark-for trash)
|
(mu4e~headers-defun-mark-for trash)
|
||||||
(mu4e~headers-defun-mark-for unflag)
|
(mu4e~headers-defun-mark-for unflag)
|
||||||
|
(mu4e~headers-defun-mark-for untrash)
|
||||||
(mu4e~headers-defun-mark-for unmark)
|
(mu4e~headers-defun-mark-for unmark)
|
||||||
(mu4e~headers-defun-mark-for unread)
|
(mu4e~headers-defun-mark-for unread)
|
||||||
|
|
||||||
|
@ -571,6 +572,7 @@ after the end of the search results."
|
||||||
(define-key map (kbd "u") 'mu4e-headers-mark-for-unmark)
|
(define-key map (kbd "u") 'mu4e-headers-mark-for-unmark)
|
||||||
(define-key map (kbd "+") 'mu4e-headers-mark-for-flag)
|
(define-key map (kbd "+") 'mu4e-headers-mark-for-flag)
|
||||||
(define-key map (kbd "-") 'mu4e-headers-mark-for-unflag)
|
(define-key map (kbd "-") 'mu4e-headers-mark-for-unflag)
|
||||||
|
(define-key map (kbd "=") 'mu4e-headers-mark-for-untrash)
|
||||||
(define-key map (kbd "&") 'mu4e-headers-mark-custom)
|
(define-key map (kbd "&") 'mu4e-headers-mark-custom)
|
||||||
|
|
||||||
(define-key map (kbd "*") 'mu4e-headers-mark-for-something)
|
(define-key map (kbd "*") 'mu4e-headers-mark-for-something)
|
||||||
|
|
|
@ -119,6 +119,7 @@ The following marks are available, and the corresponding props:
|
||||||
`read' n mark the message as read
|
`read' n mark the message as read
|
||||||
`trash' y thrash the message to some folder
|
`trash' y thrash the message to some folder
|
||||||
`unflag' n mark this message for unflagging
|
`unflag' n mark this message for unflagging
|
||||||
|
`untrash' n remove the 'trashed' flag from a message
|
||||||
`unmark' n unmark this message
|
`unmark' n unmark this message
|
||||||
`unread' n mark the message as unread"
|
`unread' n mark the message as unread"
|
||||||
(interactive)
|
(interactive)
|
||||||
|
@ -137,6 +138,7 @@ The following marks are available, and the corresponding props:
|
||||||
(read '("!" . "read"))
|
(read '("!" . "read"))
|
||||||
(trash `("d" . ,target))
|
(trash `("d" . ,target))
|
||||||
(unflag '("-" . "unflag"))
|
(unflag '("-" . "unflag"))
|
||||||
|
(untrash '("=" . "untrash"))
|
||||||
(unmark '(" " . nil))
|
(unmark '(" " . nil))
|
||||||
(unread '("?" . "unread"))
|
(unread '("?" . "unread"))
|
||||||
(otherwise (mu4e-error "Invalid mark %S" mark))))
|
(otherwise (mu4e-error "Invalid mark %S" mark))))
|
||||||
|
@ -232,6 +234,7 @@ as well."
|
||||||
("!read" . read)
|
("!read" . read)
|
||||||
("+flag" . flag)
|
("+flag" . flag)
|
||||||
("-unflag" . unflag)
|
("-unflag" . unflag)
|
||||||
|
("=untrash" . untrash)
|
||||||
("unmark" . unmark)))
|
("unmark" . unmark)))
|
||||||
(marks
|
(marks
|
||||||
(if allow-something
|
(if allow-something
|
||||||
|
@ -304,6 +307,7 @@ If NO-CONFIRMATION is non-nil, don't ask user for confirmation."
|
||||||
(read (mu4e~proc-move docid nil "+S-u-N"))
|
(read (mu4e~proc-move docid nil "+S-u-N"))
|
||||||
(trash (mu4e~proc-move docid (mu4e~mark-check-target target) "+T-N"))
|
(trash (mu4e~proc-move docid (mu4e~mark-check-target target) "+T-N"))
|
||||||
(unflag (mu4e~proc-move docid nil "-F-N"))
|
(unflag (mu4e~proc-move docid nil "-F-N"))
|
||||||
|
(untrash (mu4e~proc-move docid nil "-T"))
|
||||||
(unread (mu4e~proc-move docid nil "-S+u-N"))
|
(unread (mu4e~proc-move docid nil "-S+u-N"))
|
||||||
(otherwise (mu4e-error "Unrecognized mark %S" mark)))))
|
(otherwise (mu4e-error "Unrecognized mark %S" mark)))))
|
||||||
mu4e~mark-map))
|
mu4e~mark-map))
|
||||||
|
|
|
@ -558,6 +558,7 @@ FUNC should be a function taking two arguments:
|
||||||
|
|
||||||
(define-key map (kbd "+") 'mu4e-view-mark-for-flag)
|
(define-key map (kbd "+") 'mu4e-view-mark-for-flag)
|
||||||
(define-key map (kbd "-") 'mu4e-view-mark-for-unflag)
|
(define-key map (kbd "-") 'mu4e-view-mark-for-unflag)
|
||||||
|
(define-key map (kbd "=") 'mu4e-view-mark-for-untrash)
|
||||||
|
|
||||||
(define-key map (kbd "*") 'mu4e-view-mark-for-something)
|
(define-key map (kbd "*") 'mu4e-view-mark-for-something)
|
||||||
(define-key map (kbd "<kp-multiply>") 'mu4e-view-mark-for-something)
|
(define-key map (kbd "<kp-multiply>") 'mu4e-view-mark-for-something)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user