From cf6bf2d57418fc2a52f087a2210a6740c916fbf9 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sat, 4 Oct 2025 17:40:07 +0200 Subject: Disable highlight-nonselected-windows for now My goal with this option: keep a useful snippet highlighted in window X while working in window Y. Unfortunate side-effect: if both windows display the same buffer, activating the mark in window X causes visual noise in window Y. --- .config/emacs/custom.el | 1 - .config/emacs/init.el | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to '.config') diff --git a/.config/emacs/custom.el b/.config/emacs/custom.el index 278e167..e67e2a2 100644 --- a/.config/emacs/custom.el +++ b/.config/emacs/custom.el @@ -21,7 +21,6 @@ '(frame-resize-pixelwise t) '(gdb-many-windows t) '(gnus-cloud-method "nnimap:gmail") - '(highlight-nonselected-windows t) '(hscroll-step 1) '(ibuffer-default-sorting-mode 'filename/process) '(indent-tabs-mode nil) diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 895472a..af17995 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -761,7 +761,10 @@ UPSTREAMS is a list of fetch URLs." (use-package emacs :custom - (auto-hscroll-mode 'current-line)) + (auto-hscroll-mode 'current-line) + ;; Disabled until bug#56662 is solved. Prefer `hl-line-mode'. + ;; (highlight-nonselected-windows t) + ) (use-package calendar :custom -- cgit v1.2.3