From 476028d5114de399528e69bdbd12ad664f8c60db Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 6 Oct 2022 06:15:14 +0100 Subject: nits --- attic/elisp/misc.el | 2 +- custom/jao-custom-notmuch.el | 13 ++++++------- init.el | 5 ++--- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/attic/elisp/misc.el b/attic/elisp/misc.el index 8ae7ab8..a74349c 100644 --- a/attic/elisp/misc.el +++ b/attic/elisp/misc.el @@ -446,7 +446,7 @@ (use-package company :ensure t :custom ((company-backends '(company-capf - ;; company-bbdb + company-bbdb company-files company-dabbrev company-keywords)) diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el index 29497ce..27b8465 100644 --- a/custom/jao-custom-notmuch.el +++ b/custom/jao-custom-notmuch.el @@ -194,16 +194,15 @@ notmuch-show-mark-read-tags '("-new" "-unread") notmuch-tag-formats (let ((d `(:foreground ,(face-attribute 'jao-themes-dimm :foreground))) - (e `(:foreground ,(face-attribute 'jao-themes-error :foreground) - :weight bold))) + (e `(:foreground ,(face-attribute 'jao-themes-error :foreground)))) `(("unread") ("signed") ("new" "N") ("replied" "↩" (propertize tag 'face '(:family "Fira Code"))) - ("sent" "S") + ("sent" "🛪") ("attachment" "📎") ("deleted" "🗙" (propertize tag 'face '(:underline nil ,@e))) - ("flagged" "✓" (propertize tag 'face '(:weight bold ,e))) + ("flagged" "✓") ("jao" "j") ("bigml" "b") ("feeds" "f") @@ -256,10 +255,10 @@ (use-package jao-notmuch :demand t) ;;; hello -(defun jao-notmuch-hello--header () (insert " ")) +;; (defun jao-notmuch-hello--header () (insert " ")) +;; (when (display-graphic-p) +;; (add-to-list 'notmuch-hello-sections 'jao-notmuch-hello--header)) -(when (display-graphic-p) - (add-to-list 'notmuch-hello-sections 'jao-notmuch-hello--header)) (add-to-list 'notmuch-hello-sections 'notmuch-hello-insert-alltags t) (defun jao-notmuch-refresh-agenda () diff --git a/init.el b/init.el index 475fc00..c34af8f 100644 --- a/init.el +++ b/init.el @@ -1620,11 +1620,10 @@ ;; (transient-get-suffix 'jao-transient-pdf-view '(0 -1)) ;;; Email -(setq jao-afio-mail-function 'notmuch) +(setq jao-afio-mail-function 'gnus) (require 'jao-custom-email) -(when (eq jao-afio-mail-function 'notmuch) - (require 'jao-custom-notmuch)) +(require 'jao-custom-notmuch) ;;; Shells and terms ;;;; shell modes -- cgit v1.2.3