GNU bug report logs - #41972
Customization via display-buffer-alist, savehist-mode, and hl-line-mode together are not compatible with mouse-wheel scrolling.

Previous Next

Package: emacs;

Reported by: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>

Date: Sat, 20 Jun 2020 22:25:02 UTC

Severity: normal

To reply to this bug, email your comments to 41972 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#41972; Package emacs. (Sat, 20 Jun 2020 22:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Konrad Podczeck <konrad.podczeck <at> univie.ac.at>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 20 Jun 2020 22:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>
To: bug-gnu-emacs <at> gnu.org
Subject: Customization via display-buffer-alist, savehist-mode, and
 hl-line-mode together are not compatible with mouse-wheel scrolling.
Date: Sun, 21 Jun 2020 00:23:46 +0200
To see this, make an init-file just containing:

(savehist-mode)
(setq mouse-wheel-progressive-speed nil)
(add-hook 'text-mode-hook 'hl-line-mode)
(add-hook 'prog-mode-hook 'hl-line-mode)


(setq display-buffer-base-action
  '((display-buffer-reuse-window display-buffer-pop-up-frame)
  (reusable-frames . t)))

(setq display-buffer-alist
   '(
   ("[.]"
    (display-buffer-reuse-window display-buffer-pop-up-frame)
    (dedicated . t)
       (pop-up-frame-parameters
       (tool-bar-lines . 1)
       (left . 1)
       (top . 0)
       (height . 46)
       (width . 82)
       (font . "SF MONO-15")
       (line-spacing . 3)
      ))))

With this, the speed of scrolling via the mouse-wheel becomes much too large. The problem goes away if either the line with savehist-mode is commented out, or the two lines with hl-line-mode.

I used the pretest 27.0.91, and in case the problem is platform-specific, I use the NS-port.





This bug report was last modified 4 years and 156 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.