Update mu4e to use octicons symbols instead of material design
Remove flags from mu4e listing view
This commit is contained in:
parent
fca17fc37a
commit
fefca04bfb
|
@ -46,8 +46,7 @@
|
|||
(mu4e-headers-fields
|
||||
'((:human-date . 8)
|
||||
(:from . 24)
|
||||
(:subject . 64)
|
||||
(:flags)))
|
||||
(:subject)))
|
||||
(mu4e-headers-visible-flags
|
||||
'(draft
|
||||
flagged
|
||||
|
@ -113,35 +112,35 @@
|
|||
#+begin_src emacs-lisp
|
||||
(with-eval-after-load 'mu4e
|
||||
(require 'mu4e-modeline)
|
||||
(setq mu4e-modeline-all-read '("R:" . " ")
|
||||
mu4e-modeline-all-clear '("C:" . " ")
|
||||
mu4e-modeline-new-items '("N:" . " ")
|
||||
mu4e-modeline-unread-items '("U:" . " "))
|
||||
(setq mu4e-modeline-all-read '("R:" . " ")
|
||||
mu4e-modeline-all-clear '("C:" . " ")
|
||||
mu4e-modeline-new-items '("N:" . " ")
|
||||
mu4e-modeline-unread-items '("U:" . " "))
|
||||
(mu4e-modeline-mode +1))
|
||||
#+end_src
|
||||
|
||||
** Headers mode glyphs
|
||||
#+begin_src emacs-lisp
|
||||
(with-eval-after-load 'mu4e
|
||||
(setq mu4e-search-full-label '("F" . " ")
|
||||
mu4e-search-hide-label '("H" . " ")
|
||||
mu4e-search-related-label '("R" . " ")
|
||||
mu4e-search-skip-duplicates-label '("D" . " ")
|
||||
mu4e-search-threaded-label'("T" . " ")
|
||||
mu4e-headers-draft-mark '("D" . " ")
|
||||
mu4e-headers-flagged-mark '("F" . " ")
|
||||
mu4e-headers-unread-mark '("u" . " ")
|
||||
mu4e-headers-passed-mark '("P" . " ")
|
||||
mu4e-headers-replied-mark '("R" . " ")
|
||||
mu4e-headers-trashed-mark '("T" . " ")
|
||||
mu4e-headers-attach-mark '("a" . " ")
|
||||
mu4e-headers-calendar-mark '("c" . " ")
|
||||
mu4e-headers-encrypted-mark '("x" . " ")
|
||||
mu4e-headers-signed-mark '("s" . " ")
|
||||
mu4e-headers-list-mark '("l" . " ")
|
||||
mu4e-headers-personal-mark '("p" . " ")
|
||||
mu4e-headers-seen-mark '("S" . " ")
|
||||
mu4e-headers-new-mark '("N" . " ")
|
||||
(setq mu4e-search-full-label '("F" . " ")
|
||||
mu4e-search-hide-label '("H" . " ")
|
||||
mu4e-search-related-label '("R" . " ")
|
||||
mu4e-search-skip-duplicates-label '("D" . " ")
|
||||
mu4e-search-threaded-label'("T" . " ")
|
||||
mu4e-headers-draft-mark '("D" . " ")
|
||||
mu4e-headers-flagged-mark '("F" . " ")
|
||||
mu4e-headers-unread-mark '("u" . " ")
|
||||
mu4e-headers-passed-mark '("P" . " ")
|
||||
mu4e-headers-replied-mark '("R" . " ")
|
||||
mu4e-headers-trashed-mark '("T" . " ")
|
||||
mu4e-headers-attach-mark '("a" . " ")
|
||||
mu4e-headers-calendar-mark '("c" . " ")
|
||||
mu4e-headers-encrypted-mark '("x" . " ")
|
||||
mu4e-headers-signed-mark '("s" . " ")
|
||||
mu4e-headers-list-mark '("l" . " ")
|
||||
mu4e-headers-personal-mark '("p" . " ")
|
||||
mu4e-headers-seen-mark '("S" . " ")
|
||||
mu4e-headers-new-mark '("N" . " ")
|
||||
mu4e-headers-from-or-to-prefix '(" " . "To ")
|
||||
mu4e-headers-thread-root-prefix '("* " . "* ")
|
||||
mu4e-headers-thread-duplicate-prefix '("= " . "= ")
|
||||
|
@ -158,7 +157,7 @@
|
|||
#+begin_src emacs-lisp
|
||||
(with-eval-after-load 'mu4e
|
||||
(setq mu4e-marks '((refile :char
|
||||
("r" . " ")
|
||||
("r" . " ")
|
||||
:prompt "refile" :dyn-target
|
||||
(lambda
|
||||
(target msg)
|
||||
|
@ -170,7 +169,7 @@
|
|||
(mu4e--mark-check-target target)
|
||||
"-N")))
|
||||
(delete :char
|
||||
("D" . " ")
|
||||
("D" . " ")
|
||||
:prompt "Delete" :show-target
|
||||
(lambda
|
||||
(target)
|
||||
|
@ -180,7 +179,7 @@
|
|||
(docid msg target)
|
||||
(mu4e--server-remove docid)))
|
||||
(flag :char
|
||||
("+" . " ")
|
||||
("+" . " ")
|
||||
:prompt "+flag" :show-target
|
||||
(lambda
|
||||
(target)
|
||||
|
@ -190,7 +189,7 @@
|
|||
(docid msg target)
|
||||
(mu4e--server-move docid nil "+F-u-N")))
|
||||
(move :char
|
||||
("m" . " ")
|
||||
("m" . " ")
|
||||
:prompt "move" :ask-target mu4e--mark-get-move-target :action
|
||||
(lambda
|
||||
(docid msg target)
|
||||
|
@ -198,7 +197,7 @@
|
|||
(mu4e--mark-check-target target)
|
||||
"-N")))
|
||||
(read :char
|
||||
("!" . " ")
|
||||
("!" . " ")
|
||||
:prompt "!read" :show-target
|
||||
(lambda
|
||||
(target)
|
||||
|
@ -208,7 +207,7 @@
|
|||
(docid msg target)
|
||||
(mu4e--server-move docid nil "+S-u-N")))
|
||||
(trash :char
|
||||
("d" . " ")
|
||||
("d" . " ")
|
||||
:prompt "dtrash" :dyn-target
|
||||
(lambda
|
||||
(target msg)
|
||||
|
@ -220,7 +219,7 @@
|
|||
(mu4e--mark-check-target target)
|
||||
"+T-N")))
|
||||
(unflag :char
|
||||
("-" . " ")
|
||||
("-" . " ")
|
||||
:prompt "-unflag" :show-target
|
||||
(lambda
|
||||
(target)
|
||||
|
@ -230,7 +229,7 @@
|
|||
(docid msg target)
|
||||
(mu4e--server-move docid nil "-F-N")))
|
||||
(untrash :char
|
||||
("=" . " ")
|
||||
("=" . " ")
|
||||
:prompt "=untrash" :show-target
|
||||
(lambda
|
||||
(target)
|
||||
|
@ -240,7 +239,7 @@
|
|||
(docid msg target)
|
||||
(mu4e--server-move docid nil "-T")))
|
||||
(unread :char
|
||||
("?" . " ")
|
||||
("?" . " ")
|
||||
:prompt "?unread" :show-target
|
||||
(lambda
|
||||
(target)
|
||||
|
@ -252,7 +251,7 @@
|
|||
(unmark :char " " :prompt "unmark" :action
|
||||
(mu4e-error "No action for unmarking"))
|
||||
(action :char
|
||||
("a" . " ")
|
||||
("a" . " ")
|
||||
:prompt "action" :ask-target
|
||||
(lambda nil
|
||||
(mu4e-read-option "Action: " mu4e-headers-actions))
|
||||
|
@ -264,7 +263,7 @@
|
|||
(mu4e~headers-goto-docid docid)
|
||||
(mu4e-headers-action actionfunc)))))
|
||||
(something :char
|
||||
("*" . " ")
|
||||
("*" . " ")
|
||||
:prompt "*something" :action
|
||||
(mu4e-error "No action for deferred mark")))))
|
||||
#+end_src
|
||||
|
|
Loading…
Reference in a new issue