From b88cc400e74ed0f8924fe60e5d86eb5c7e7e9c7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Tue, 8 Dec 2015 20:40:41 +0100 Subject: [PATCH] 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. --- mu4e/mu4e-mark.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mu4e/mu4e-mark.el b/mu4e/mu4e-mark.el index 94bbf981..30fa2fed 100644 --- a/mu4e/mu4e-mark.el +++ b/mu4e/mu4e-mark.el @@ -153,7 +153,7 @@ properties are: :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"))) (delete - :char "D" + :char ("D" . "🗙") :prompt "Delete" :show-target (lambda (target) "delete") :action (lambda (docid msg target) (mu4e~proc-remove docid))) @@ -173,7 +173,7 @@ properties are: :show-target (lambda (target) "read") :action (lambda (docid msg target) (mu4e~proc-move docid nil "+S-u-N"))) (trash - :char "d" + :char ("d" . "🗑") :prompt "dtrash" :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")))