X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/26172d919a15dceda1b2b2d22c1568d718fbc236..ddb0b1d4b4fe7bdf9efdda2eaed9a872849acc26:/init.org diff --git a/init.org b/init.org index 4cfe1fa..b1c70dd 100644 --- a/init.org +++ b/init.org @@ -659,6 +659,8 @@ In short, my favourite way of life. org-html-postamble nil) (add-hook 'org-mode-hook 'org-indent-mode) (use-package htmlize) +(use-package org-notmuch + :after (:any org notmuch)) #+end_src *** [[https://magit.vc/][Magit]] @@ -1094,15 +1096,23 @@ Emacs package that displays available keybindings in popup ** [[https://github.com/11111000000/tao-theme-emacs][tao-theme]] -#+begin_src emacs-lisp +#+begin_src emacs-lisp :tangle no (use-package tao-theme :demand t :config (load-theme 'tao-yang t)) #+end_src +** [[https://github.com/maio/eink-emacs][eink-theme]] + +#+begin_src emacs-lisp +(load-theme 'eink t) +#+end_src + * Email ** [[https://notmuchmail.org][notmuch]] +See [[notmuch:id:87muuqsvci.fsf@fencepost.gnu.org][bug follow-up]]. + #+begin_src emacs-lisp (defun ab/notmuch () "Delete other windows, then launch `notmuch'." @@ -1148,12 +1158,12 @@ Emacs package that displays available keybindings in popup #'flyspell-mode) ;; (add-hook 'notmuch-message-mode-hook #'+doom-modeline|set-special-modeline) ;; TODO: is there a way to only run this when replying and not composing? - (add-hook 'notmuch-message-mode-hook - (lambda () (progn - (newline) - (newline) - (forward-line -1) - (forward-line -1)))) + ;; (add-hook 'notmuch-message-mode-hook + ;; (lambda () (progn + ;; (newline) + ;; (newline) + ;; (forward-line -1) + ;; (forward-line -1)))) ;; (add-hook 'message-setup-hook ;; #'mml-secure-message-sign-pgpmime) ) @@ -1172,6 +1182,8 @@ Emacs package that displays available keybindings in popup notmuch-hello-insert-alltags) notmuch-search-oldest-first nil notmuch-show-all-tags-list t + notmuch-message-headers ; see bug follow-up above + '("Subject" "To" "Cc" "Date" "List-Id" "X-RT-Originator") notmuch-hello-thousands-separator "," notmuch-fcc-dirs '(("amin@aminb.org" . "amin/Sent") @@ -1203,6 +1215,10 @@ Emacs package that displays available keybindings in popup "Search for `unread' tagged messages" (interactive) (notmuch-hello-search "tag:unread"))) + ("l" . (lambda () + "Search for `latest tagged messages" + (interactive) + (notmuch-hello-search "tag:latest"))) ("M" . (lambda () "Compose new mail and prompt for sender" (interactive) @@ -1306,6 +1322,14 @@ variables. This is useful for a regi `begin' frame-entry." nil)) #+end_src +* Blogging +** [[https://ox-hugo.scripter.co][ox-hugo]] + +#+begin_src emacs-lisp +(use-package ox-hugo + :after ox) +#+end_src + * Post initialization :PROPERTIES: :CUSTOM_ID: post-initialization