From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Ergus <spacibba@aol.com>
Cc: 54472@debbugs.gnu.org
Subject: bug#54472: 29.0.50; mouse-wheel-scroll-amount inconsistency
Date: Sun, 20 Mar 2022 21:06:20 +0800 [thread overview]
Message-ID: <87y214lqnn.fsf@yahoo.com> (raw)
In-Reply-To: <8735jcalip.fsf@aol.com> (Ergus's message of "Sun, 20 Mar 2022 12:52:46 +0100")
Ergus <spacibba@aol.com> 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.
next prev parent reply other threads:[~2022-03-20 13:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <8735jcalip.fsf.ref@aol.com>
2022-03-20 11:52 ` bug#54472: 29.0.50; mouse-wheel-scroll-amount inconsistency Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-20 13:06 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-03-20 16:45 ` Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-21 1:11 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-21 6:07 ` Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-21 6:33 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-21 7:37 ` Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-21 8:50 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-03-21 9:37 ` Andreas Schwab
2022-03-22 9:49 ` Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y214lqnn.fsf@yahoo.com \
--to=bug-gnu-emacs@gnu.org \
--cc=54472@debbugs.gnu.org \
--cc=luangruo@yahoo.com \
--cc=spacibba@aol.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).