|
From: | Angelo Graziosi |
Subject: | Re: mouse-wheel-scroll |
Date: | Sat, 1 Apr 2017 10:13:30 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
Il 01/04/2017 00:37, Richard Stallman ha scritto:
[[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > @example > > (setq mouse-wheel-scroll-amount '(1 ((shift) . 5) ((control)))) > > (setq mouse-wheel-progressive-speed nil) > > @end example > I tried that in my init file and now the scrolling is very nice! Is there any way we can detect pertinent conditions so as to set up better defaults on various kinds of platforms?
Maybe all this depend on the screen / font height.In my case Emacs fills the screen height with about 60 lines and scrolling 5 lines at wheel "click" seems too much.
This value (5/"click") could be reasonable if one has 100 - 150 lines (or more) at screen height.
If this is the case, it is not so simple to find optimal values.. Fixing the default to 2 or 3 could be the solution.
Ciao, Angelo.
[Prev in Thread] | Current Thread | [Next in Thread] |