diff options
-rw-r--r-- | config.org | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/config.org b/config.org index 4e2515a..d970335 100644 --- a/config.org +++ b/config.org | |||
@@ -1987,18 +1987,18 @@ from [[https://github.com/mpereira/.emacs.d#align-all-tags-in-the-buffer-on-tag- | |||
1987 | 1987 | ||
1988 | (cuss mu4e-bookmarks | 1988 | (cuss mu4e-bookmarks |
1989 | '((:name "Unread" | 1989 | '((:name "Unread" |
1990 | :query | 1990 | :query |
1991 | "flag:unread AND NOT flag:trashed AND NOT maildir:/Spam" | 1991 | "flag:unread AND NOT flag:trashed AND NOT maildir:/Spam" |
1992 | :key ?u) | 1992 | :key ?u) |
1993 | (:name "Today" | 1993 | (:name "Today" |
1994 | :query | 1994 | :query |
1995 | "date:today..now and not flag:trashed and not maildir:/Spam" | 1995 | "date:today..now and not flag:trashed and not maildir:/Spam" |
1996 | :key ?t) | 1996 | :key ?t) |
1997 | (:name "This week" | 1997 | (:name "This week" |
1998 | :query | 1998 | :query |
1999 | "date:7d..now and not maildir:/Spam and not flag:trashed" | 1999 | "date:7d..now and not maildir:/Spam and not flag:trashed" |
2000 | :hide-unread t | 2000 | :hide-unread t |
2001 | :key ?w))) | 2001 | :key ?w))) |
2002 | 2002 | ||
2003 | (cuss mu4e-headers-fields | 2003 | (cuss mu4e-headers-fields |
2004 | '((:human-date . 12) | 2004 | '((:human-date . 12) |
@@ -2014,23 +2014,23 @@ from [[https://github.com/mpereira/.emacs.d#align-all-tags-in-the-buffer-on-tag- | |||
2014 | (,mu4e-drafts-folder . ?d) | 2014 | (,mu4e-drafts-folder . ?d) |
2015 | (,mu4e-trash-folder . ?t))) | 2015 | (,mu4e-trash-folder . ?t))) |
2016 | 2016 | ||
2017 | (cuss mu4e-get-mail-command (cond ((executable-find "mbsync") | ||
2018 | "mbsync -a")) | ||
2019 | "The command to update mail with.") | ||
2020 | (cuss mu4e-update-interval 300 | ||
2021 | "Update automatically every 5 minutes.") | ||
2022 | |||
2017 | (defun acdw/setup-mu4e-headers-mode () | 2023 | (defun acdw/setup-mu4e-headers-mode () |
2018 | (visual-line-mode -1)) | 2024 | (visual-line-mode -1)) |
2019 | |||
2020 | (add-hook 'mu4e-headers-mode #'acdw/setup-mu4e-headers-mode) | 2025 | (add-hook 'mu4e-headers-mode #'acdw/setup-mu4e-headers-mode) |
2021 | 2026 | ||
2022 | (defun acdw/setup-mu4e-view-mode () | 2027 | (defun acdw/setup-mu4e-view-mode () |
2023 | (setq visual-fill-column-center-text t) | 2028 | (setq visual-fill-column-center-text t) |
2024 | (visual-fill-column-mode +1)) | 2029 | (visual-fill-column-mode +1)) |
2025 | |||
2026 | (add-hook 'mu4e-view-mode-hook #'acdw/setup-mu4e-view-mode) | 2030 | (add-hook 'mu4e-view-mode-hook #'acdw/setup-mu4e-view-mode) |
2027 | (add-hook 'mu4e-compose-mode-hook #'acdw/setup-mu4e-view-mode) | 2031 | (add-hook 'mu4e-compose-mode-hook #'acdw/setup-mu4e-view-mode) |
2028 | 2032 | ||
2029 | (cuss mu4e-get-mail-command (cond ((executable-find "mbsync") | 2033 | (declare-function mu4e "mu4e") |
2030 | "mbsync -a")) | ||
2031 | "The command to update mail with.") | ||
2032 | (cuss mu4e-update-interval 300 | ||
2033 | "Update automatically every 5 minutes.") | ||
2034 | (mu4e +1)) | 2034 | (mu4e +1)) |
2035 | #+end_src | 2035 | #+end_src |
2036 | 2036 | ||