From ae4a6f6b4e6eac58fc9283f692dd2e8d5b58ae99 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 29 Sep 2017 11:25:03 +0200 Subject: Emacs: Add contextual shortcuts for mu4e --- emacs/.emacs.d/main.el | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'emacs/.emacs.d/main.el') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 177eefbb..93fe418f 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -1254,6 +1254,12 @@ With two prefix arguments, write out the day and month name." (mu4e-drafts-folder . "/personal/alanpearce/Drafts") (mu4e-refile-folder . "/personal/alanpearce/Archive") (mu4e-trash-folder . "/personal/alanpearce/Trash") + (mu4e-maildir-shortcuts . (("/personal/alanpearce/INBOX" . ?i) + ("/personal/alanpearce/Archive" . ?s) + ("/personal/alanpearce/Sent" . ?s) + ("/personal/alanpearce/Spam" . ?p) + ("/personal/alanpearce/Orders" . ?o))) + )) (make-mu4e-context :name "Riseup" :match-func (lambda (msg) @@ -1266,6 +1272,10 @@ With two prefix arguments, write out the day and month name." (mu4e-drafts-folder . "/riseup/Drafts") (mu4e-refile-folder . "/riseup/Archive") (mu4e-trash-folder . "/riseup/Trash") + (mu4e-maildir-shortcuts . (("/personal/riseup/INBOX" . ?i) + ("/personal/riseup/Archive" . ?r) + ("/personal/riseup/Sent" . ?s) + ("/personal/riseup/Spam" . ?p))))) (make-mu4e-context :name "Satoshipay" :match-func (lambda (msg) @@ -1278,6 +1288,10 @@ With two prefix arguments, write out the day and month name." (mu4e-sent-folder . "/satoshipay/[Gmail]/.Sent Mail") (mu4e-refile-folder . "/satoshipay/[Gmail]/.All Mail") (mu4e-trash-folder . "/satoshipay/[Gmail]/.Bin") + (mu4e-maildir-shortcuts . (("/satoshipay/INBOX" . ?i) + ("/satoshipay/[Gmail]/.All Mail" . ?r) + ("/satoshipay/[Gmail]/.Sent Mail" . ?s) + ("/satoshipay/[Gmail]/.Spam" . ?p)))))) mu4e-user-mail-address-list (append (delq nil (mapcar (lambda (context) -- cgit 1.4.1