From: Frederik Vanrenterghem Date: Tue, 23 Apr 2024 13:41:34 +0000 (+0800) Subject: Auto refresh emails and change theming options. X-Git-Url: http://git.vanrenterghem.biz/Dotty.git/commitdiff_plain/c706ed750a21e7e8b6bd8929079615e1aceed62d?hp=ca2c01d9f2131e5158c7fdf3ac96b62ca4de63ad Auto refresh emails and change theming options. * Load new emails every 10 minutes when mu4e is active. * Use variable width font in org-mode. --- diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 8b56c18..4d58dfe 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -11,7 +11,9 @@ ;; Use light theme ;;(load-theme 'leuven t) +(require 'modus-themes) (load-theme 'modus-operandi t) +(setq modus-themes-mixed-fonts t) ;; ESS - for working in R (autoload 'R-mode "ess-site.el" "Major mode for editing R source." t) @@ -24,6 +26,11 @@ (require 'org) +;; Automatically flow lines based on window width and use +;; variable width fonts in org-mode. +(add-hook 'org-mode-hook 'visual-line-mode) +(add-hook 'org-mode-hook 'variable-pitch-mode) + ;; Auctex (load "auctex.el" nil t t) (load "preview-latex.el" nil t t) @@ -122,6 +129,7 @@ (require 'mu4e) (setq mail-user-agent 'mu4e-user-agent) (setq mu4e-get-mail-command "mbsync io") +(setq mu4e-update-interval 600) (setq mu4e-use-fancy-chars t) (setq mu4e-view-show-images t) (setq mu4e-sent-folder "/Sent"