summaryrefslogtreecommitdiffhomepage
path: root/custom
diff options
context:
space:
mode:
Diffstat (limited to 'custom')
-rw-r--r--custom/jao-custom-notmuch.el14
-rw-r--r--custom/jao-custom-programming.el14
-rw-r--r--custom/jao-custom-x11.el1
3 files changed, 10 insertions, 19 deletions
diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el
index 8b8cd58..0cb60e7 100644
--- a/custom/jao-custom-notmuch.el
+++ b/custom/jao-custom-notmuch.el
@@ -33,10 +33,10 @@
(defun jao-notmuch-notify ()
(interactive)
(let* ((cnts (notmuch-hello-query-counts jao-notmuch-minibuffer-queries))
- (mc (jao-d-l
+ (mc (jao-when-darwin
(when jao-notmuch-mac-mail-badge
- (jao-mac-app-badge jao-notmuch-mac-mail-badge))
- 0))
+ (jao-mac-app-badge jao-notmuch-mac-mail-badge)
+ 0)))
(cnts (if mc (cons `(:name "" :count ,(format "[%s]" mc)) cnts) cnts)))
(setq jao-notmuch-minibuffer-string (mapconcat #'jao-notmuch--qstr cnts " "))
(when jao-notmuch-mac-hammerspoon (jao-notmuch-hammerspoon))
@@ -260,7 +260,6 @@
(let (;; (d `(:foreground ,(face-attribute 'jao-themes-dimm :foreground)))
(e `(:foreground ,(face-attribute 'jao-themes-error :foreground))))
`(("attachment" "⧺")
- ("bigml" "b")
("deleted" "⛒" (propertize tag 'face '(:underline nil ,@e)))
("feeds" "f")
("flagged" "✓")
@@ -594,10 +593,7 @@
(advice-remove 'notmuch-tree #'jao-notmuch-before-tree)
(advice-remove 'notmuch-tree-quit #'jao-notmuch-after-tree-quit))
- (when jao-notmuch-enabled
- ;; (jao-d-l (jao-notmuch-use-one-pane) (jao-notmuch-use-two-panes))
- (jao-notmuch-use-two-panes)
- )
+ (when jao-notmuch-enabled (jao-notmuch-use-two-panes))
:bind (:map notmuch-tree-mode-map
(("b" . jao-notmuch-browse-urls)
@@ -721,7 +717,7 @@
(defvar jao-consult-notmuch-history nil)
- (defvar jao-mailbox-folders '("bigml" "jao"))
+ (defvar jao-mailbox-folders '("jao"))
(defun jao-consult-notmuch-folder (&optional tree folder)
(interactive "P")
diff --git a/custom/jao-custom-programming.el b/custom/jao-custom-programming.el
index 4ea4029..0e749c0 100644
--- a/custom/jao-custom-programming.el
+++ b/custom/jao-custom-programming.el
@@ -74,10 +74,10 @@
(lisp-interaction-mode . disable-paredit-mode))
:diminish ((paredit-mode . " þ")))
-(use-package smartparens
- :ensure t
- :bind (:map smartparens-mode-map
- ("C-)" . sp-forward-slurp-sexp)))
+;; (use-package smartparens
+;; :ensure t
+;; :bind (:map smartparens-mode-map
+;; ("C-)" . sp-forward-slurp-sexp)))
;;;; diff/ediff
(setq ediff-split-window-function 'split-window-horizontally)
@@ -624,12 +624,6 @@
(t "prolog")))))
;;;; Python
-(use-package virtualenvwrapper
- :ensure t
- :config
- (venv-initialize-eshell)
- (jao-compilation-env "VIRTUAL_ENV"))
-
(use-package uv-mode
:ensure t
:hook (python-mode . uv-mode-auto-activate-hook))
diff --git a/custom/jao-custom-x11.el b/custom/jao-custom-x11.el
index 6f0a607..3922bc5 100644
--- a/custom/jao-custom-x11.el
+++ b/custom/jao-custom-x11.el
@@ -22,6 +22,7 @@
;;; exwm
(defun jao-exwm-enable ()
+ (interactive)
(require 'jao-custom-exwm)
(setq jao-exwm-enabled t)
(display-time-mode -1)