diff options
author | Aaron LI <aaronly.me@outlook.com> | 2017-02-06 14:33:14 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2017-02-06 14:33:14 +0800 |
commit | c1e42760ab73d109632cd98deb05eaa7b77263e7 (patch) | |
tree | aeb5abbff25080b75224521819960a710fd53106 | |
parent | f68035808bebef832d4736f2875e4dd80428f94a (diff) | |
download | dotfiles-c1e42760ab73d109632cd98deb05eaa7b77263e7.tar.bz2 |
Minor tweaks
-rw-r--r-- | _spacemacs.d/config/aly-mu4e-config.el | 7 | ||||
-rw-r--r-- | _zsh/80-emacs.zsh | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/_spacemacs.d/config/aly-mu4e-config.el b/_spacemacs.d/config/aly-mu4e-config.el index 0112172..ced778e 100644 --- a/_spacemacs.d/config/aly-mu4e-config.el +++ b/_spacemacs.d/config/aly-mu4e-config.el @@ -19,6 +19,10 @@ (setq mu4e-debug t) (setq mu4e-maildir "~/mail") + ;; speed up indexing + (setq mu4e-index-cleanup nil) ; don't do a full cleanup check + (setq mu4e-index-lazy-check t) ; don't consider up-to-date directories + ;; multiple email accounts: contexts (require mu4e >= 0.9.16) (setq mu4e-contexts `( ,(make-mu4e-context @@ -216,8 +220,9 @@ '(("flag:unread AND NOT flag:trashed" "Unread messages" ?u) ("date:today..now" "Today's messages" ?T) ("date:7d..now" "Last 7 days" ?w) + ("date:1m..now" "Last month" ?m) ("flag:flagged" "Flagged messages" ?f) - ("tag:todo OR tag:task" "TODO & Task" ?t) + ("tag:todo OR tag:task" "TODO / Task" ?t) ("tag:work" "Work" ?W) ("tag:astro" "Astro" ?a) ("tag:arxiv OR from:arxiv.org" "arXiv" ?x) diff --git a/_zsh/80-emacs.zsh b/_zsh/80-emacs.zsh index 5114cc8..88a4b90 100644 --- a/_zsh/80-emacs.zsh +++ b/_zsh/80-emacs.zsh @@ -28,7 +28,8 @@ if exists emacsclient; then local create_frame="" fi - command env LC_CTYPE=zh_CN.UTF-8 emacsclient --alternate-editor "" $create_frame "$@" + command env LC_CTYPE=zh_CN.UTF-8 \ + emacsclient --alternate-editor "" $create_frame "$@" } alias emacs='_emacsclient -t' |