mu4e-mark: Add fancy characters for trash / delete
As threatened in my last commit. I found this via https://en.wikipedia.org/wiki/Miscellaneous_Symbols_and_Pictographs & http://www.unicode.org/charts/PDF/U1F300.pdf I could never remember which thing d and D were, this makes it easier to remember that. I split off this patch because maybe this doesn't belong in mu4e since some might not like the characters, but I just wanted to be able to have this customizable.
This commit is contained in:
@ -153,7 +153,7 @@ properties are:
|
|||||||
:dyn-target (lambda (target msg) (mu4e-get-refile-folder msg))
|
:dyn-target (lambda (target msg) (mu4e-get-refile-folder msg))
|
||||||
:action (lambda (docid msg target) (mu4e~proc-move docid (mu4e~mark-check-target target) "-N")))
|
:action (lambda (docid msg target) (mu4e~proc-move docid (mu4e~mark-check-target target) "-N")))
|
||||||
(delete
|
(delete
|
||||||
:char "D"
|
:char ("D" . "🗙")
|
||||||
:prompt "Delete"
|
:prompt "Delete"
|
||||||
:show-target (lambda (target) "delete")
|
:show-target (lambda (target) "delete")
|
||||||
:action (lambda (docid msg target) (mu4e~proc-remove docid)))
|
:action (lambda (docid msg target) (mu4e~proc-remove docid)))
|
||||||
@ -173,7 +173,7 @@ properties are:
|
|||||||
:show-target (lambda (target) "read")
|
:show-target (lambda (target) "read")
|
||||||
:action (lambda (docid msg target) (mu4e~proc-move docid nil "+S-u-N")))
|
:action (lambda (docid msg target) (mu4e~proc-move docid nil "+S-u-N")))
|
||||||
(trash
|
(trash
|
||||||
:char "d"
|
:char ("d" . "🗑")
|
||||||
:prompt "dtrash"
|
:prompt "dtrash"
|
||||||
:dyn-target (lambda (target msg) (mu4e-get-trash-folder msg))
|
:dyn-target (lambda (target msg) (mu4e-get-trash-folder msg))
|
||||||
:action (lambda (docid msg target) (mu4e~proc-move docid (mu4e~mark-check-target target) "+T-N")))
|
:action (lambda (docid msg target) (mu4e~proc-move docid (mu4e~mark-check-target target) "+T-N")))
|
||||||
|
|||||||
Reference in New Issue
Block a user