|
|
@ -507,7 +507,11 @@ Full *IDE* experience for Rust within Emacs. |
|
|
|
|
|
|
|
https://github.com/brotzeit/rustic |
|
|
|
+ Install via ~lsp-install-server~ |
|
|
|
|
|
|
|
|
|
|
|
#+begin_src shell :tangle no |
|
|
|
rustup default nightly |
|
|
|
#+end_src |
|
|
|
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
(use-package rustic) |
|
|
|
#+end_src |
|
|
@ -639,41 +643,51 @@ Configure the default capture template for daily entries. |
|
|
|
** Mail |
|
|
|
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
;; (use-package mu4e |
|
|
|
;; :ensure nil |
|
|
|
;; :config |
|
|
|
;; (setq mu4e-change-filenames-when-moving t |
|
|
|
;; mu4e-update-interval (* 5 60) ;; Every 5 minutes. |
|
|
|
;; mu4e-get-mail-command "mbsync -a" |
|
|
|
;; mu4e-maildir "~/.cache/mail") |
|
|
|
|
|
|
|
;; ;; Ensure plain text scales for all devices. |
|
|
|
;; (setq mu4e-compose-format-flowed t) |
|
|
|
|
|
|
|
;; ;; GPG signing key for outbound mail. |
|
|
|
;; (setq mml-secure-openpgp-signers '("37AB1CB72B741E478CA026D43025DCBD46F81C0F")) |
|
|
|
;; (add-hook 'message-send-hook 'mml-secure-message-sign-pgpmime) |
|
|
|
|
|
|
|
;; ;; Use SMTP to send messages. |
|
|
|
;; (setq message-send-mail-function 'smtpmail-send-it) |
|
|
|
|
|
|
|
;; ;; Configure mail account(s). |
|
|
|
;; (setq mu4e-contexts |
|
|
|
;; (list |
|
|
|
;; ;; Main |
|
|
|
;; ;; chris@chrishayward.xyz |
|
|
|
;; (make-mu4e-context |
|
|
|
;; :name "Main" |
|
|
|
;; :match-func |
|
|
|
;; (lambda (msg) |
|
|
|
;; (when msg |
|
|
|
;; (string-prefix-p "/Main" (mu4e-message-field msg :maildir)))) |
|
|
|
;; :vars |
|
|
|
;; '((user-full-name . "Christopher James Hayward") |
|
|
|
;; (user-mail-address . "chris@chrishayward.xyz") |
|
|
|
;; (smtpmail-smtp-server . "mail.chrishayward.xyz") |
|
|
|
;; (smtpmail-smtp-service . 587) |
|
|
|
;; (smtpmail-stream-type . startls)))))) |
|
|
|
(add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e") |
|
|
|
#+end_src |
|
|
|
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
(use-package mu4e |
|
|
|
:config |
|
|
|
(setq mu4e-change-filenames-when-moving t |
|
|
|
mu4e-update-interval (* 5 60) ;; Every 5 minutes. |
|
|
|
mu4e-get-mail-command "mbsync -a" |
|
|
|
mu4e-maildir "~/.cache/mail" |
|
|
|
mu4e-compose-signature |
|
|
|
(concat "Chris Hayward\n" |
|
|
|
"https://chrishayward.xyz\n")) |
|
|
|
|
|
|
|
;; Ensure plain text scales for all devices. |
|
|
|
(setq mu4e-compose-format-flowed t) |
|
|
|
|
|
|
|
;; GPG signing key for outbound mail. |
|
|
|
(setq mml-secure-openpgp-signers '("37AB1CB72B741E478CA026D43025DCBD46F81C0F")) |
|
|
|
(add-hook 'message-send-hook 'mml-secure-message-sign-pgpmime) |
|
|
|
|
|
|
|
(setq message-send-mail-function 'smtpmail-send-it) |
|
|
|
|
|
|
|
;; Configure mail account(s). |
|
|
|
(setq mu4e-contexts |
|
|
|
(list |
|
|
|
;; Main |
|
|
|
;; chris@chrishayward.xyz |
|
|
|
(make-mu4e-context |
|
|
|
:name "Main" |
|
|
|
:match-func |
|
|
|
(lambda (msg) |
|
|
|
(when msg |
|
|
|
(string-prefix-p "/Main" (mu4e-message-field msg :maildir)))) |
|
|
|
:vars |
|
|
|
'((user-full-name . "Christopher James Hayward") |
|
|
|
(user-mail-address . "chris@chrishayward.xyz") |
|
|
|
(smtpmail-smtp-server . "mail.chrishayward.xyz") |
|
|
|
(smtpmail-smtp-service . 587) |
|
|
|
(smtpmail-stream-type . starttls)))))) |
|
|
|
#+end_src |
|
|
|
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
(dotfiles/leader |
|
|
|
"m" '(mu4e :which-key "Mail")) |
|
|
|
#+end_src |
|
|
|
|
|
|
|
** Agenda |
|
|
@ -700,7 +714,7 @@ https://github.com/kaushalmodi/ox-hugo |
|
|
|
+ Configure for =one-post-per-file= |
|
|
|
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
(use-package ox-hugo |
|
|
|
(use-package ox-hugo |
|
|
|
:after ox) |
|
|
|
#+end_src |
|
|
|
|
|
|
|