aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgxlin <[email protected]>2021-06-24 13:27:08 +0800
committergxlin <[email protected]>2021-06-24 21:43:13 +0800
commit9a3426d99baf85d4f61e0e9e0c3dd1295d62cbdc (patch)
tree65cac335fbdc5c914f3a5ed4f840725882da8fc4
parent5c1f37c2e6cdb94d6b0c15939c357a551a6e8593 (diff)
downloaddotfiles-9a3426d99baf85d4f61e0e9e0c3dd1295d62cbdc.tar.gz
dotfiles-9a3426d99baf85d4f61e0e9e0c3dd1295d62cbdc.tar.bz2
dotfiles-9a3426d99baf85d4f61e0e9e0c3dd1295d62cbdc.zip
Add more mail config
-rw-r--r--.authinfobin0 -> 95 bytes
-rw-r--r--.emacs.d/init-mu4e.elbin1675 -> 1996 bytes
-rw-r--r--.emacs.d/init.el7
-rw-r--r--.gitattributes1
-rw-r--r--.offlineimap.py9
-rw-r--r--.offlineimaprcbin886 -> 995 bytes
6 files changed, 11 insertions, 6 deletions
diff --git a/.authinfo b/.authinfo
new file mode 100644
index 0000000..0da1a79
--- /dev/null
+++ b/.authinfo
Binary files differ
diff --git a/.emacs.d/init-mu4e.el b/.emacs.d/init-mu4e.el
index 513a9bf..02835a5 100644
--- a/.emacs.d/init-mu4e.el
+++ b/.emacs.d/init-mu4e.el
Binary files differ
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index d37cb3b..bac98b0 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -38,7 +38,7 @@
(require 'init-evil-mode)
(require 'init-org-mode)
(require 'init-lsp-mode)
-(require 'init-mu4e nil 'noerror)
+(require 'init-mu4e)
;; ledger-mode
(use-package ledger-mode
@@ -106,8 +106,3 @@
:hook ((go-mode . (lambda () (setq tab-width 4)))))
(use-package avy)
-
-(use-package paredit
- :hook ((emacs-lisp-mode . enable-paredit-mode)
- (lisp-mode . enable-paredit-mode)
- (scheme-mode . enable-paredit-mode)))
diff --git a/.gitattributes b/.gitattributes
index 3753a88..25a9039 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,4 @@
.emacs.d/init-mu4e.el filter=git-crypt diff=git-crypt
.offlineimaprc filter=git-crypt diff=git-crypt
.muttrc filter=git-crypt diff=git-crypt
+.authinfo filter=git-crypt diff=git-crypt
diff --git a/.offlineimap.py b/.offlineimap.py
new file mode 100644
index 0000000..e868861
--- /dev/null
+++ b/.offlineimap.py
@@ -0,0 +1,9 @@
+import re
+
+def gmail_nametrans(foldername):
+ return re.sub('^\[gmail\].', '',
+ re.sub('all_mail', 'archive',
+ re.sub('sent_mail', 'sent',
+ re.sub('starred', 'flagged',
+ re.sub('bin', 'trash',
+ re.sub(' ', '_', foldername.lower()))))))
diff --git a/.offlineimaprc b/.offlineimaprc
index eaa225a..dc1f623 100644
--- a/.offlineimaprc
+++ b/.offlineimaprc
Binary files differ