From 27ce988287c518f798b926dda4efab0cf6e89c7f Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Thu, 28 Jan 2021 10:31:42 +0300 Subject: [PATCH] feat(emacs): some notmuch --- .emacs.d/custom.el | 3 +++ .emacs.d/emacs.org | 6 +++--- .emacs.d/init.el | 7 +++++-- .profile | 2 +- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.emacs.d/custom.el b/.emacs.d/custom.el index ea4846b..c691c5e 100644 --- a/.emacs.d/custom.el +++ b/.emacs.d/custom.el @@ -9,9 +9,12 @@ '(dired-recursive-copies 'always) '(doom-modeline-env-enable-python nil) '(js-indent-level 2) + '(notmuch-search-oldest-first nil) '(org-agenda-files '("~/Documents/org-mode/ETU/r&d.org" "~/Documents/org-mode/Personal/misc.org" "~/Documents/org-mode/Job/dig-traject.org" "~/Documents/org-mode/Personal/look-forward.org" "~/Documents/org-mode/ETU/sem-9.org")) '(sgml-basic-offset 2) + '(smtpmail-smtp-server "smtp.gmail.com") + '(smtpmail-smtp-service 25) '(sp-autoskip-opening-pair t) '(sp-highlight-pair-overlay nil) '(wakatime-cli-path "/usr/bin/wakatime") diff --git a/.emacs.d/emacs.org b/.emacs.d/emacs.org index a535c5d..fbd0238 100644 --- a/.emacs.d/emacs.org +++ b/.emacs.d/emacs.org @@ -170,7 +170,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (use-package evil-collection :straight t :config - (evil-collection-init '(eww dired company vterm flycheck profiler cider explain-pause-mode notmuch))) + (evil-collection-init '(eww dired company vterm flycheck profiler cider explain-pause-mode notmuch custom))) (use-package evil-quickscope :straight t @@ -1200,8 +1200,8 @@ pip install qtconsole markdown qrcode[pil] PyQt5 PyQtWebEngine (require 'eaf-evil) (setq eaf-evil-leader-key "SPC")) #+end_src -* OFF Mail -#+begin_src emacs-lisp :tangle no +* Mail +#+begin_src emacs-lisp (use-package notmuch :ensure nil) #+end_src diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 4ac14c6..e657140 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -126,7 +126,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (use-package evil-collection :straight t :config - (evil-collection-init '(eww dired company vterm flycheck profiler cider explain-pause-mode notmuch))) + (evil-collection-init '(eww dired company vterm flycheck profiler cider explain-pause-mode notmuch custom))) (use-package evil-quickscope :straight t @@ -822,7 +822,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (use-package doom-modeline :straight t :init - ;; (setq doom-modeline-env-enable-python nil) + (setq doom-modeline-env-enable-python nil) :config (doom-modeline-mode 1) (setq doom-modeline-minor-modes nil) @@ -948,6 +948,9 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (setq backup-inhibited t) (setq auto-save-default nil) +(use-package notmuch + :ensure nil) + (use-package lsp-mode :straight t :hook ( diff --git a/.profile b/.profile index 34f3431..35637ea 100644 --- a/.profile +++ b/.profile @@ -1,5 +1,5 @@ export EDITOR=/usr/bin/nvim -export BROWSER=/usr/bin/qutebrowser +export BROWSER=/usr/bin/firefox export QT_QPA_PLATFORMTHEME="qt5ct" export QT_AUTO_SCREEN_SCALE_FACTOR=0 export GTK2_RC_FILES="$HOME/.gtkrc-2.0"