From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: =?US-ASCII?Q?Re=3A_pixel-scroll-precision-mode_very_?= =?US-ASCII?Q?slow_on_macOS_with_regular_mouse_wheel?= Date: Wed, 08 Dec 2021 11:36:49 +0000 Message-ID: <11E1EC35-D491-452E-8F61-77EAC42420DE@idiocy.org> References: <871r2ng186.fsf@yahoo.com> <87sfv3ejeo.fsf@yahoo.com> <0D3D292D-8755-40B5-A452-B53691DB5A56@idiocy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27129"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Po Lu , Aaron Jensen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 08 12:37:32 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1muvGN-0006qt-Uj for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Dec 2021 12:37:31 +0100 Original-Received: from localhost ([::1]:57698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muvGM-0007m3-FS for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Dec 2021 06:37:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muvFn-00075e-E7 for emacs-devel@gnu.org; Wed, 08 Dec 2021 06:36:55 -0500 Original-Received: from outbound.soverin.net ([116.202.126.228]:58913) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muvFl-0006e6-8Z for emacs-devel@gnu.org; Wed, 08 Dec 2021 06:36:54 -0500 Original-Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 44E4DA0; Wed, 8 Dec 2021 11:36:50 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1638963409; bh=m3QKUF5JoxuQF2sYIFKMSahaGtQ6pVJgId6jqbaLYmg=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=I4566Ku42YoAT/tj1sy2kONHhY6ttn2HOoqbrw2EdnhgHj9EEd5rI83y7a8p+7n1q 5qF4gf9RHinW+RMBpAFdvCeBlEv2bF/sKcJxMfvMWTBw8K84CjVtTK/QCUNphSTWq8 GnwtEFFjh5W3E9EWqLwhgFP7LF6vzUioj9vy0+5inGfZL2W5yAVnr2XolI+/X2pLnV fQQkE+qkffBKVF+75Rg0IWY7OW3waXry0Uazuj9D2baUA/+/2eDr5bX6JOcZF2b2Zm IP9yBnTDAbDeAzW2wY3ASwTohhmxhDcmwuY+3Kr3PWugfgD+1qJvmQKVZ/A33713UK SAAVGLDZjJjJA== In-Reply-To: <0D3D292D-8755-40B5-A452-B53691DB5A56@idiocy.org> Received-SPF: pass client-ip=116.202.126.228; envelope-from=alan@idiocy.org; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:281337 Archived-At: On 8 December 2021 11:35:18 GMT, Alan Third wrote: > > >On 8 December 2021 05:48:47 GMT, Po Lu wrote: >>Aaron Jensen writes: >> >>> macOS scrolling w/ a mouse wheel has acceleration=2E If I scroll slowl= y, >>> it goes very slowly, 1 tick is a couple pixels=2E If I scroll quickly = I >>> can go through a whole page in a handful of ticks=2E Perhaps that >>> mechanic would need to be replicated? >> >>I don't understand what you mean by that: when precision deltas are not >>available (which is the case with your mouse), Emacs uses the fallback >>deltas provided by macOS, which should be sufficient for our purposes=2E >> >>But I suspect I misunderstood how those deltas work=2E They might be >>reported as portions of an abstract unit, instead of in pixels, which is >>the case with precise deltas=2E >> >>In that case, we will have to scale those deltas by some method, but I >>don't know what TRT is for macOS=2E > >Apple's docs say multiply them by the line height, so a delta of 1=2E0 sh= ould scroll one line=2E You deleted the comment in the code that explained = that=2E Sorry, I see now that the comment is actually still there=2E --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E