summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2026-04-21 21:19:57 +0300
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2026-04-21 21:19:57 +0300
commit9e7daaa495a618d2671dd3da03d64307530a3f11 (patch)
tree247f3b7acd0dde8911aaf51ab73e8c9912c17f1e
parent5e026c41afe0343f739c3d4fcd8783e75a022d9e (diff)
README.org: extend example configurationHEADmaster
-rw-r--r--README.org13
1 files changed, 11 insertions, 2 deletions
diff --git a/README.org b/README.org
index 41daad5..f3d2a87 100644
--- a/README.org
+++ b/README.org
@@ -170,6 +170,7 @@ see the manual for a deeper dive.
#+begin_src elisp
(use-package mu4e
:ensure nil
+ ;; :load-path "path/to/mu4e"
:config
;;;; Basics
@@ -191,8 +192,8 @@ see the manual for a deeper dive.
;; The command depends on your local setup, e.g.:
;; "offlineimap", "mbsync", "fetchmail", ... or some shell script
(setq mu4e-get-mail-command "/bin/true" ;;
+ mu4e-index-lazy-check t ;; quick check
mu4e-update-interval 180) ;; check every 3 minutes
-
;;
;;;; Reading mail
;;
@@ -255,7 +256,7 @@ see the manual for a deeper dive.
(setq mu4e-use-fancy-chars t) ;; allow for unicode emojis
;;
- ;;;; Custom bookmarks / queries
+;;;; Custom bookmarks / queries
;; e.g.:
;; (add-to-list 'mu4e-bookmarks
;; '( :name "Inbox messages in the last 7 days"
@@ -322,6 +323,14 @@ see the manual for a deeper dive.
;; "User McUserFace\n"
;; "http://www.example.com\n"))
+ (setq mu4e-attachment-dir "~/Desktop")
+ ;; this can also be function that takes a filename and mime-type
+ ;; and returns a string (path)
+
+ ;; add an 'action' (press 'a', then 'V' when in the message-view, to show
+ ;; current message in an external web-browsser
+ (add-to-list 'mu4e-view-actions '("ViewBrowser" . mu4e-action-view-in-browser) t)
+
:hook
;; tweak the composer
((mu4e-compose-mode . (lambda ()