From c1e42760ab73d109632cd98deb05eaa7b77263e7 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 6 Feb 2017 14:33:14 +0800 Subject: Minor tweaks --- _spacemacs.d/config/aly-mu4e-config.el | 7 ++++++- _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' -- cgit v1.2.2