all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Anders Lindgren <andlind@gmail.com>
To: Dani Moncayo <dmoncayo@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>,
	Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: mouse-wheel-scroll
Date: Sat, 1 Apr 2017 10:17:19 +0200	[thread overview]
Message-ID: <CABr8ebY_5DCj+sAyCO84V7ypYqLzwDnTkOvYx-eiY=6ULOJvWQ@mail.gmail.com> (raw)
In-Reply-To: <CAH8Pv0i6EwDajZjgxei+sijUVhX+Z15ao5Hc_FYBGpBEM2R+eg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2386 bytes --]

Hi!

I'm using a trackpad on a mac, and I would like Emacs to behave like other
applications.

In macOS, scrolling slowly scrolls the display very little and smoothly
(even less than a line, for applications that support it). Whereas, if I
scroll fast, large amount of text is moved. One big advantage of this is
that it's easier for the eye to follow the scrolled text when it scrolls
smoothly. When the text jump (as it does by default in Emacs) it's easy to
loose track of what is what on the screen, and you wast time trying to find
visual markers on the screen.

To get the smooth scroll, I have used the settings suggested by the
original poster for `mouse-wheel-scroll-amount': (1 ((shift) . 5)
((control) . nil)) I have always seen the old setting as a relic from the
time when computers weren't powerful enough to perform scrolling
effectively.

However, `mouse-wheel-progressive-speed' should be `t' -- at least when
using a trackpad. If not, it's not possible to scroll fast through a
buffer. (In numbers, I can scroll through a 2000 lines file in three
strokes when it is set to `t', but it would require about 60 strokes when
nil -- which clearly makes it utterly useless.)


TL;DR: When using a trackpad or a magic mouse on macOS, the following
settings are suitable:

    mouse-wheel-scroll-amount: (1 ((shift) . 5) ((control) . nil))
    mouse-wheel-progressive-speed: t

    -- Anders

On Fri, Mar 31, 2017 at 10:53 AM, Dani Moncayo <dmoncayo@gmail.com> wrote:

> >> I think there is consensus in that 'mouse-wheel-progressive-speed'
> >> should be set to nil by default.
> >
> > Is there?  I wasn't sure, because at least some issues are raised with
> > the amount of scrolling for a single wheel click, which doesn't
> > involve that variable's effect.
>
> IIUC, the amount of scrolling for a single (isolated in time) wheel
> click is currently 5 lines by default in Emacs for anyone who have not
> set some system-specific setting for increasing that amount (75 lines
> in Tak's environment).  And it seems that we all (except you) would
> prefer lowering that amount a bit.
>
> But regardless of the above question about the default value of
> 'mouse-wheel-scroll-amount', I think none of us like the
> Emacs-specific acceleration of the mouse-wheel scrolling.  IOW, we all
> prefer 'mouse-wheel-progressive-speed' set to nil by default.
>
> --
> Dani Moncayo
>
>

[-- Attachment #2: Type: text/html, Size: 3208 bytes --]

  parent reply	other threads:[~2017-04-01  8:17 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-28 23:13 mouse-wheel-scroll Tak Kunihiro
2017-03-29  2:39 ` mouse-wheel-scroll Eli Zaretskii
2017-03-29  6:06   ` mouse-wheel-scroll Tak Kunihiro
2017-03-29  7:36 ` mouse-wheel-scroll martin rudalics
2017-03-29  7:44   ` mouse-wheel-scroll Dani Moncayo
2017-03-29 19:09     ` mouse-wheel-scroll Philipp Stephani
2017-03-29 21:18       ` mouse-wheel-scroll Simen Heggestøyl
2017-03-29 21:22 ` mouse-wheel-scroll Kaushal Modi
2017-03-30  2:47   ` mouse-wheel-scroll Eli Zaretskii
2017-03-30  5:07     ` mouse-wheel-scroll Tak Kunihiro
2017-03-30 18:15       ` mouse-wheel-scroll Eli Zaretskii
2017-03-30 18:39         ` mouse-wheel-scroll Stefan Monnier
2017-03-30 20:34           ` mouse-wheel-scroll Eli Zaretskii
2017-03-31  0:26         ` mouse-wheel-scroll Tak Kunihiro
2017-03-31  6:39           ` mouse-wheel-scroll Eli Zaretskii
2017-03-31  6:55             ` mouse-wheel-scroll Dani Moncayo
2017-03-31  8:01               ` mouse-wheel-scroll Eli Zaretskii
2017-03-31  8:53                 ` mouse-wheel-scroll Dani Moncayo
2017-03-31  9:05                   ` mouse-wheel-scroll Eli Zaretskii
2017-03-31  9:24                     ` mouse-wheel-scroll Dani Moncayo
2017-03-31 12:22                       ` mouse-wheel-scroll Eli Zaretskii
2017-03-31 19:02                         ` mouse-wheel-scroll Richard Copley
2017-04-01 14:29                           ` mouse-wheel-scroll Eli Zaretskii
2017-04-02 10:41                             ` mouse-wheel-scroll Richard Copley
2017-04-02 16:37                               ` mouse-wheel-scroll Eli Zaretskii
2017-04-01  8:17                   ` Anders Lindgren [this message]
2017-03-31  9:04             ` mouse-wheel-scroll Tak Kunihiro
2017-04-02 23:20             ` mouse-wheel-scroll Tak Kunihiro
2017-04-03  2:34               ` mouse-wheel-scroll Eli Zaretskii
2017-04-03  5:50                 ` mouse-wheel-scroll Tak Kunihiro
2017-04-03 14:37                   ` mouse-wheel-scroll Eli Zaretskii
2017-04-03 23:07                     ` mouse-wheel-scroll Tak Kunihiro
2017-04-04 12:35                     ` mouse-wheel-scroll Alan Third
2017-03-30  7:29     ` mouse-wheel-scroll Dani Moncayo
2017-03-30  7:29     ` mouse-wheel-scroll martin rudalics
2017-03-30 13:44     ` mouse-wheel-scroll Kaushal Modi
  -- strict thread matches above, loose matches on Subject: below --
2017-03-31 14:02 mouse-wheel-scroll Angelo Graziosi
2017-03-31 22:37 ` mouse-wheel-scroll Richard Stallman
2017-04-01  8:13   ` mouse-wheel-scroll Angelo Graziosi

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='CABr8ebY_5DCj+sAyCO84V7ypYqLzwDnTkOvYx-eiY=6ULOJvWQ@mail.gmail.com' \
    --to=andlind@gmail.com \
    --cc=dmoncayo@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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.