From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#54472: 29.0.50; mouse-wheel-scroll-amount inconsistency Date: Sun, 20 Mar 2022 21:06:20 +0800 Message-ID: <87y214lqnn.fsf@yahoo.com> References: <8735jcalip.fsf.ref@aol.com> <8735jcalip.fsf@aol.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38814"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 54472@debbugs.gnu.org To: Ergus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 20 14:07:12 2022 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 1nVvH5-0009wP-Kc for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Mar 2022 14:07:11 +0100 Original-Received: from localhost ([::1]:36370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVvH3-0004Dq-VF for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Mar 2022 09:07:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVvGw-0004DU-E8 for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2022 09:07:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39273) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nVvGw-0005oo-4P for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2022 09:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nVvGv-00079w-Vr for bug-gnu-emacs@gnu.org; Sun, 20 Mar 2022 09:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Mar 2022 13:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54472 X-GNU-PR-Package: emacs Original-Received: via spool by 54472-submit@debbugs.gnu.org id=B54472.164778160927499 (code B ref 54472); Sun, 20 Mar 2022 13:07:01 +0000 Original-Received: (at 54472) by debbugs.gnu.org; 20 Mar 2022 13:06:49 +0000 Original-Received: from localhost ([127.0.0.1]:33170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVvGj-00079T-03 for submit@debbugs.gnu.org; Sun, 20 Mar 2022 09:06:49 -0400 Original-Received: from sonic303-21.consmr.mail.ne1.yahoo.com ([66.163.188.147]:46818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVvGh-00079F-7f for 54472@debbugs.gnu.org; Sun, 20 Mar 2022 09:06:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647781601; bh=8KMqPKpdFDxoPVNYdSV4aY3lbAMjmFJ2s2GpYPvzRro=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=PVa//A5X429+1IbgAQqRw0rPYh+VWT+aQhQkVkXsqOtoxCD4nSdA2VX7gQHH69ewREfLAtgMjx8bJ2L+r3HIIt2PBaGIxvwWE5TpC/X4zvKrC8/Qn4+63pjunIXDIPM5dz5NoMCKl0mnOAWMNMNka47OFX3AdpcR5i9fVa8qIdZ7v32TQy26dS4cVRVLNNuU7eJnbMB+8ZVhUGdS3+iXKoW5R/w2id5IeBrAZrlXrlxHN6Ejd7DeEoKc9+1AC2r7XBbIOvsh5mPq1hp4ki2icoz0vr2/Ua/zJ6kqVpWJ0jb7/5I+IcjlKx7G05fdwbX699DvsgwL3uFmpzCZOxt66g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1647781601; bh=eCy5CujRNIxbfn+4R39vt1qcEf+7yXXEVwPOT0RCs82=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ZeoVPKsOopfhkWb04KcI9O2+pZO2JhB7iD5u3BFLXLjWHcbidxbqR4HSUV/Y5z75aNqX0LW4Om8u92jKKCsNsa0JgbiZFb77y4kImmaPc05D7l1VfGqURLdQh+TeZZYwcLMMyxCFjd/rcHaFsw12xUVHA6TUHFvSzLkP2M61tw7UCm8nM2K4s0+q9yyp0sc2TY9wRdHOeZQvRT8dJWlMrtdY2oJ+Bap3iTv/GGh0Fjmlk8/zZlELz0AIU/N/lIjSvP37U2zGqw4g1A1gH8abr6qpqe0ohPk1Uxll0YYoXFAjRYYJdRvhsEGfrF4xhLRiTf5VsavhyCoqiho3Cee2jw== X-YMail-OSG: svmDJlQVM1k7tK0cDgLAwqmVSOtJk712FMWuI5eL9_jzhYndXbeJsuIMAsr38PQ .Da5UX4YGvKaBVH90yalm6_KtduXxya2rah.I7YTb73clKJ7IYLMDBLS_Wg06mKqiQ1wartlhzBD FZlJpO7BT5I7Jcqp747GJ06EOvUQKvAufThsaCVOLpeqgb0FX6gKT2PLegHAqlNUA2CouR.WVnze qRzth61avAloxL9GLYQQy9iG3bKwMCPatDYVdiKM5GIzdv1S9.UvotLFCBtV0YrXeKTqtlOzLmr1 Aw.0As4cjvpIbClr38LK0eUVXugG2cFAe.qTjSWjrYtOI8mfFjWKPJXEbxhR2DbdvkBLDgPM8qDZ nzCroDDgq.os.DZfuNLoaTUZ9Rs7hg8V1fenEw_nFbkLIiKIM8UfC3LQDu1q6huZADeb2ydUQldg xNj56nVa6mNvjhAtgF1mb58VfJaie5INoP5hQWAfdJD1SUUKJvwKyLnb7vGRg8TMR7EVMP7G4xwZ .vF6G5hGqT6TT5AUZFMBT_jr6IZE4soMkN4REXZsOPhkYJFNRWN_8Cn0wLF_7Xiuqfc9MDbB6Ljz 2H92Ve5bUSaCdeCsRdboY5krgQgcLJd2G56cdNla3qEUFeqCTClb4GrNofHygl8EmQS97OpxYYaH BHCo.rUn.KBdqyDuhALEEwUC11EwbRSev2rg.JJfjoRpq20l4SXcGZrpZ8odWc5JtFOYBl1M6zxP 1kq81A90UNm37Gcp7cx8Ec5w0UYfieEaIRSrORj1sNBWXudgjKxII_mmcdgPXFoMTq.EReRerupF i4.n8oKpD5w.cyOjNmT2Gh7Do3lMF3jZYVDxhmIIg3 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Sun, 20 Mar 2022 13:06:41 +0000 Original-Received: by kubenode519.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID a59cfc5d9159fa634763dd23a626026c; Sun, 20 Mar 2022 13:06:35 +0000 (UTC) In-Reply-To: <8735jcalip.fsf@aol.com> (Ergus's message of "Sun, 20 Mar 2022 12:52:46 +0100") X-Mailer: WebService/1.1.19894 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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" Xref: news.gmane.io gmane.emacs.bugs:228620 Archived-At: Ergus writes: > (setq-default mouse-wheel-scroll-amount '(3 ;; No modifier > ((control) . 6) > ((meta) . hscroll) > ;; Either Shift+mouse not text-scale work in terminal, > ;; so put them together > ((shift) . text-scale)) > mouse-wheel-progressive-speed nil > mouse-scroll-delay 0) > > And I have noticed that the scroll speed on xterm doubles the one in > gui: with 1 mouse wheel tick > > on gui: the buffer scrolls 3 lines (seems correct with the config). > in xterm: (emacs -nw) it scrolls 6 lines. > > Is this a known issue? I have a workaround for it, but maybe there is a > real issue to solve? > Configured using: > 'configure --prefix=/home/ergo/.local/ --with-mailutils --with-json > --with-x-toolkit=gtk3 --with-xft --with-wide-int --with-modules > --with-cairo --with-harfbuzz --with-native-compilation --with-pgtk' > > Configured features: > ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG > JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER > PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS > WEBP XIM GTK3 ZLIB You seem to be using a PGTK build. Please see if you get different behavior differently on a build with the regular X Windows support. Thanks. If you're using X, don't use PGTK. It lacks certain features, such as drag and drop support, which will require a rewrite of the selection handling code to use GDK selections instead of the GTK clipboard, working `yank-media', and is known to cause many problems related to input. BTW, some of your configuration options are redundant or make no sense: --with-wide-int does nothing on a 64-bit system, and --with-xft, --with-cairo and --with-x-toolkit=gtk3 are ignored when PGTK is enabled. You might want to correct them.