From c9305db0c689febd47b7d58a25ed3b135ce8864c Mon Sep 17 00:00:00 2001 From: jao Date: Mon, 20 Jun 2022 02:45:13 +0100 Subject: nits --- custom/jao-custom-completion.el | 2 +- custom/jao-custom-org.el | 3 +++ init.el | 4 +++- lib/themes/jao-light-theme.el | 15 ++++++--------- 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/custom/jao-custom-completion.el b/custom/jao-custom-completion.el index 83458e3..2c73593 100644 --- a/custom/jao-custom-completion.el +++ b/custom/jao-custom-completion.el @@ -1,4 +1,4 @@ -;; -*- lexical-binding: t; jao-outline-folded: t; -*- +;; -*- lexical-binding: t; -*- ;;; imenu (use-package imenu diff --git a/custom/jao-custom-org.el b/custom/jao-custom-org.el index aa4f9e0..c72e887 100644 --- a/custom/jao-custom-org.el +++ b/custom/jao-custom-org.el @@ -97,6 +97,9 @@ ;; Show hidden emphasis markers (use-package org-appear :ensure t + :init (setq org-appear-autolinks t + org-appear-delay 0.0 + org-appear-manual-linger t) :hook (org-mode . org-appear-mode)) ;; #+caption: Image caption. diff --git a/init.el b/init.el index d7e7ebb..6361c7d 100644 --- a/init.el +++ b/init.el @@ -124,6 +124,7 @@ ;;;; server (setenv "EDITOR" "emacsclient") +(unless (daemonp) (server-start)) ;;;; timers (put 'list-timers 'disabled nil) @@ -542,7 +543,8 @@ ;;;; X clipboard (setq select-enable-clipboard t select-enable-primary t - selection-timeout 100) + selection-timeout 100 + xterm-select-active-regions t) (use-package xclip :ensure t) diff --git a/lib/themes/jao-light-theme.el b/lib/themes/jao-light-theme.el index b61d444..7d9be36 100644 --- a/lib/themes/jao-light-theme.el +++ b/lib/themes/jao-light-theme.el @@ -16,10 +16,6 @@ ;; You should have received a copy of the GNU General Public License ;; along with this program. If not, see . -(defvar jao-theme-light-bold - (cond ((> emacs-major-version 28) 'medium) - (t 'semibold))) - (jao-define-custom-theme jao-light (:names (bg-lightest "gray98") (bg-light "gray95") @@ -36,15 +32,13 @@ (warning "orange4") (red "burlywood4") (blue "#023770") + (pale-blue "honeydew3") (green "#005555") (lightgreen "darkgreen") (yellow "lightyellow")) (:face-size 9) - (:face-family "Fira Code") - ;; (:face-family "Hack") - ;; (:face-family "DejaVu Sans Mono") - ;; (:face-family "Iosevka Comfy Fixed") - (:bold-weight jao-theme-light-bold) + (:face-family "DejaVu Sans Mono") + (:bold-weight 'semibold) (:palette (fg "black") (bg "white") (box "gray80") @@ -88,6 +82,9 @@ (diff-hl-change (c "white" pale-blue)) (diff-hl-insert (c "white" "honeydew2")) (diff-hl-delete (c "white" "wheat1")) + (diff-hl-margin-change (c pale-blue)) + (diff-hl-margin-insert (c "honeydew2")) + (diff-hl-margin-delete (c "wheat1")) (fill-column-indicator (c "grey80")) (fringe (c "grey70" nil)) (gnus-button (c blue)) -- cgit v1.2.3