all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Tak Kunihiro <homeros.misasa@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Smoother macOS touchpad scrolling
Date: Sun, 10 Sep 2017 09:37:58 +0100	[thread overview]
Message-ID: <20170910083758.GA30315@breton.holly.idiocy.org> (raw)
In-Reply-To: <86ingrl56v.fsf@misasa.okayama-u.ac.jp>

On Sun, Sep 10, 2017 at 10:20:56AM +0900, Tak Kunihiro wrote:
> > I also don’t think it’s too important as we’re not doing real
> > pixelwise scrolling. I considered just using a constant value, like
> > 10, as I think that would still provide a better experience than we
> > have currently.
> 
> Once customization is allowed, touchpad can scroll slow with following
> setup.
> 
>   (require 'pixel-scroll)
>   (pixel-scroll-mode 1)
>   (setq pixel-resolution-fine-flag t)
> 
> Although this should not be advertised because C-n and C-p after
> scrolling redo the scroll less than a line (in other word,
> implementation is incomplete), this works as pixelwise scrolling.  Thus
> please have an option to let touchpad send each event by each pixel.

You mean one event per pixel to be scrolled, or pass the delta in the
event?

I can certainly do the former, although it will potentially result in
a torrent of scroll events.

The latter is, I think, banned as it can’t be replicated on a Free
system, but is the better solution.

How about instead of using the default font height, I provide a
variable that the user can use to set a ‘line height’ of their own
choosing? i.e. ‘(setq ns-touchpad-scroll-line-height 1)’ for one
pixel.

If I work out how to use the real line heights, that can be the
default, overridden by the variable.
-- 
Alan Third



  reply	other threads:[~2017-09-10  8:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-08 18:46 Smoother macOS touchpad scrolling Alan Third
2017-09-08 22:21 ` Tak Kunihiro
2017-09-09  8:18   ` Alan Third
2017-09-10  1:20     ` Tak Kunihiro
2017-09-10  8:37       ` Alan Third [this message]
2017-09-11 18:09         ` Alan Third
2017-09-12  1:54           ` James Nguyen
2017-09-12 17:03             ` Alan Third
2017-09-12 23:13           ` Tak Kunihiro
2017-09-13 16:26             ` Better macOS scrolling (was: Smoother macOS touchpad scrolling) Alan Third
2017-09-13 22:52               ` Better macOS scrolling Tak Kunihiro
2017-09-16 22:33         ` Smoother macOS touchpad scrolling Alan Third
2017-09-18 18:10           ` Charles A. Roelli
2017-09-18 18:57             ` Charles A. Roelli
2017-09-18 19:03             ` Alan Third
2017-09-18 20:19               ` Charles A. Roelli
2017-09-19 19:12                 ` Alan Third

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=20170910083758.GA30315@breton.holly.idiocy.org \
    --to=alan@idiocy.org \
    --cc=emacs-devel@gnu.org \
    --cc=homeros.misasa@gmail.com \
    /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.