From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.devel Subject: Re: mouse-wheel-scroll Date: Sat, 1 Apr 2017 10:17:19 +0200 Message-ID: References: <83tw6b5vm4.fsf@gnu.org> <20170330.140716.518256554.tkk@misasa.okayama-u.ac.jp> <83o9wi637e.fsf@gnu.org> <82863D66-6F78-472B-8B19-74CF469EE5B1@misasa.okayama-u.ac.jp> <83k27654sa.fsf@gnu.org> <83d1cx6fiv.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114e54b6192fc6054c168ed5 X-Trace: blaine.gmane.org 1491034704 32086 195.159.176.226 (1 Apr 2017 08:18:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 1 Apr 2017 08:18:24 +0000 (UTC) Cc: Eli Zaretskii , Emacs development discussions To: Dani Moncayo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 01 10:18:20 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cuEEj-0007dO-2h for ged-emacs-devel@m.gmane.org; Sat, 01 Apr 2017 10:18:17 +0200 Original-Received: from localhost ([::1]:44344 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuEEp-0002Bd-4l for ged-emacs-devel@m.gmane.org; Sat, 01 Apr 2017 04:18:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuEDu-0002AI-1N for emacs-devel@gnu.org; Sat, 01 Apr 2017 04:17:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuEDs-0002ub-FK for emacs-devel@gnu.org; Sat, 01 Apr 2017 04:17:26 -0400 Original-Received: from mail-vk0-x233.google.com ([2607:f8b0:400c:c05::233]:36117) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cuEDq-0002re-LE; Sat, 01 Apr 2017 04:17:22 -0400 Original-Received: by mail-vk0-x233.google.com with SMTP id s68so107178628vke.3; Sat, 01 Apr 2017 01:17:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=TA00rYpVyUd5QjM1ssdFHIaHyY4yiGRb2GI0voZK/UU=; b=OmzVJb3ZJhFufHjAGmJAealeDTxWLMcSN7QlxDTQRQywPvevFSWSJo5jVsl9SE0I0c K4YRczwk0Gy5EEQ/LcE6xHoaOvt6VEKBBQlaxmkKUJCxfP7MLXJkXgi+O4I2LnDxhPUr irRA8NP2fj8vaMAhYM06KkNR59wTq7qN8yl8sAtrphDp/uxVJsv47IXByu/SgR6Z2nHw MWn9HcOBG4k6iX0uDlZ0kHszQphG1EcLWbouO2tZnrWY252cC7DxTHeeIlwLPOFOcG+D rpgBS2ooASi8+ig5xVJvkWfVi6I2wYNC1Ndyw0KSCj+t84vkZI8ShfgJ0SJWRjg216Yj urNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=TA00rYpVyUd5QjM1ssdFHIaHyY4yiGRb2GI0voZK/UU=; b=SxNDOOvVU0vtxbUDr28zbk5V9Y182cwoqTc4OHuT7/peu4YIwJjThahjvFOOY/4Kj3 V5Ue3APOGA+kAZNwK/K1DYy/kEDMmHyrwKn1rZG8RVGhpMGlW8iZHADWb57fz4HBc2/6 KsvRZzxGHi+w9RyQH5wEiyzw1bTK0VUE7MZ6rBKM3bUDGb0QdN3WYLBee/gFbb+bAhun xJmLXgF+CSGluqqvQ7PXBam6nysTmnS0Zn7tJE4VgxQVULhoyYOX84RJCRDgDnxHwo5J mmvd2FN515VZEeGhcc4ORQrfccu1GYapgH+CD5a5+1xxdQ8miIkcAlCV2Gd5gLbQkgjv MAzw== X-Gm-Message-State: AFeK/H0Y0LmQSc3RS4H6zYwMCZVsuuTkKIhBxdQvlXDjJLAmvizCn8cptCI2Ta3/InjzNIelG8DzLCEwtpsD/Q== X-Received: by 10.31.96.69 with SMTP id u66mr2927964vkb.80.1491034640558; Sat, 01 Apr 2017 01:17:20 -0700 (PDT) Original-Received: by 10.31.165.71 with HTTP; Sat, 1 Apr 2017 01:17:19 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213576 Archived-At: --001a114e54b6192fc6054c168ed5 Content-Type: text/plain; charset=UTF-8 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 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 > > --001a114e54b6192fc6054c168ed5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 smoo= thly (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 scrol= ls smoothly. When the text jump (as it does by default in Emacs) it's e= asy 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 poste= r 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:

<= div>=C2=A0 =C2=A0 mouse-wheel-scroll-amount: (1 ((shift) . 5) ((control) . = nil))
=C2=A0 =C2=A0 mouse-wheel-progressive-speed: t

=C2=A0 =C2=A0 -- Anders

On Fri, Mar 31, 2017 at 10:53= AM, Dani Moncayo <dmoncayo@gmail.com> wrote:
>> I t= hink there is consensus in that 'mouse-wheel-progressive-speed'= ;
>> should be set to nil by default.
>
> Is there?=C2=A0 I wasn't sure, because at least some issues are ra= ised 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<= br> 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).=C2=A0 And it seems that we all (except you) woul= d
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.=C2=A0 IOW, we all=
prefer 'mouse-wheel-progressive-speed' set to nil by default.<= br>
--
Dani Moncayo


--001a114e54b6192fc6054c168ed5--