all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Konrad Podczeck <konrad.podczeck@univie.ac.at>
To: 41972@debbugs.gnu.org
Subject: bug#41972: 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	[thread overview]
Message-ID: <91E52600-7BAE-4BCF-8424-5B4F6A617371@univie.ac.at> (raw)

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.






                 reply	other threads:[~2020-06-20 22:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=91E52600-7BAE-4BCF-8424-5B4F6A617371@univie.ac.at \
    --to=konrad.podczeck@univie.ac.at \
    --cc=41972@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.