From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.bugs Subject: bug#68196: 30.0.50; pixel-scroll-precision-mode won't scroll with scroll-margin 2 using macbook trackpad Date: Mon, 1 Jan 2024 19:12:35 -0800 Message-ID: <7CEA24EB-B62E-4EEE-A2C4-4FED27FF5105@gmail.com> References: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) 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="28825"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , 68196@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 02 04:13:26 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rKVDa-0007BO-8j for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 Jan 2024 04:13:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKVDC-0004SV-O0; Mon, 01 Jan 2024 22:13:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKVDA-0004S6-Kp for bug-gnu-emacs@gnu.org; Mon, 01 Jan 2024 22:13:01 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rKVDA-0001HU-C4 for bug-gnu-emacs@gnu.org; Mon, 01 Jan 2024 22:13:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rKVDC-0006MK-1t for bug-gnu-emacs@gnu.org; Mon, 01 Jan 2024 22:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Jan 2024 03:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68196 X-GNU-PR-Package: emacs Original-Received: via spool by 68196-submit@debbugs.gnu.org id=B68196.170416517824434 (code B ref 68196); Tue, 02 Jan 2024 03:13:02 +0000 Original-Received: (at 68196) by debbugs.gnu.org; 2 Jan 2024 03:12:58 +0000 Original-Received: from localhost ([127.0.0.1]:49137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKVD7-0006M2-Px for submit@debbugs.gnu.org; Mon, 01 Jan 2024 22:12:58 -0500 Original-Received: from mail-ot1-x336.google.com ([2607:f8b0:4864:20::336]:56430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKVD5-0006Lp-VT for 68196@debbugs.gnu.org; Mon, 01 Jan 2024 22:12:56 -0500 Original-Received: by mail-ot1-x336.google.com with SMTP id 46e09a7af769-6dc018228b4so3088651a34.0 for <68196@debbugs.gnu.org>; Mon, 01 Jan 2024 19:12:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704165168; x=1704769968; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=26JVUlJZLRYX0V/RiyF+fxvT/wh2uQ0OTsBE9iKiv1A=; b=Q2SXlZE/2AeZNo1Ic9ODLuYYoUc+fkJDMmSKKR5AgSn4/nY948SYqgwXkH7i0RC1Nd xaRQkGYsJ/krdvCITwExCH9ezDT0UvjS6/OV7UsAvq6XJlp6mchkxHC5UcmnO8/Qedas zVFcoShp5lipWxyHTP5F53XPSd3p2Q4x61LVEbt+o4KV4X2d0I62MegLI9/S42STBfUE hcgX/O1NWQxe3SIijX6m4L1rj4K7Kbwe1AOLJ/cbfT/k5WjeWaq69My3FOI6HvHiIJjp 8gFb1fOoeWNL5BuvmmBHG8egonyFUoRtZkqF2BNuj/ov5pyDtTporlAdKhmqool05C5p VoZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704165168; x=1704769968; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=26JVUlJZLRYX0V/RiyF+fxvT/wh2uQ0OTsBE9iKiv1A=; b=vy7Ifv/XN8vTvjjRx8DbHPBxlQlMZi0uPX3+Mg0Il3KjDdxFHtuYdz5xrvjP8XQNqJ 98ouVRRJUR4Pfc/a13QPpcUtk7llzRS/M2z8LkyOmcribjs7z7OOWtSu6TateQA0FbKi kEw7wbVujdjEtnjukS8IrFjTj/8SYF1n5DqhnS5ws1eXaYUvAGF0iI4fuyosfuNFZwQl hDKa76fwO0f/0pS1aprxsurxRMICvLoXhfTYtVpIXjWAbP/hZy07M54hT1y34GdpOBJ3 uZocJ49IKe4Pud25gAZEa6HzqpPRFdO6/fW5Fky1vDkNXpb1FYno4d2SIOGXcvmFhffA mAvw== X-Gm-Message-State: AOJu0YyphnrF+L4YDJxmYkyExoaBaUzPYb9SjjFE7QLsSVIm8TzM+kYr /YQm+7jKwzDJQA9ShByXgbU= X-Google-Smtp-Source: AGHT+IGXeHzLEbQrodcrC9zOqgDwwB5tsXNeV1NNOEQ7SohtOW/ye2HiVq5tY+3va7+dHT/dCoNaPQ== X-Received: by 2002:a9d:5912:0:b0:6dc:1054:3f9d with SMTP id t18-20020a9d5912000000b006dc10543f9dmr5080165oth.28.1704165167944; Mon, 01 Jan 2024 19:12:47 -0800 (PST) Original-Received: from smtpclient.apple (172-117-161-177.res.spectrum.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id y9-20020aa793c9000000b006d49ed3eff2sm17672958pff.75.2024.01.01.19.12.47 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jan 2024 19:12:47 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3731.700.6) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:277208 Archived-At: > On Jan 1, 2024, at 3:05 PM, Stefan Kangas = wrote: >=20 > Scrolling slowly with the trackpad in `pixel-scroll-precision-mode' > doesn't work as expected on my recent Macbook Pro with the below > settings. >=20 > Recipe to reproduce: >=20 > 1. Evaluate this form in emacs -Q: >=20 > (progn (setq scroll-step 0) > (setq scroll-conservatively 500) > (setq scroll-margin 2) > (pixel-scroll-precision-mode)) >=20 > 2. Go to some sufficiently long buffer, scroll down a bit and move = point > to the top of the window: C-h i C-v >=20 > 3. Scroll down slowly using the trackpad. >=20 > The window does not scroll down, instead it just bounces back and = forth > at the top. >=20 > Note that if I scroll fast enough, the window does scroll down as > expected. I think precision scroll requires you to set scroll-margin to 0. I = don=E2=80=99t remember where I learnt that fact, CCing Lu since he must = know. Yuan=