From: Vincent Torri <vincent.torri@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 65360@debbugs.gnu.org
Subject: bug#65360: emacs 29.1 with MSYS2: vertical scrolling with touchpad not working
Date: Fri, 18 Aug 2023 08:41:05 +0200 [thread overview]
Message-ID: <CAMq1adoLexBGPryAObuB4Nq4PDObMtHR2DCG1XF65Ug2JDG5WA@mail.gmail.com> (raw)
In-Reply-To: <83jzts50ep.fsf@gnu.org>
On Fri, Aug 18, 2023 at 8:28 AM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > From: Vincent Torri <vincent.torri@gmail.com>
> > Date: Fri, 18 Aug 2023 07:51:45 +0200
> > Cc: 65360@debbugs.gnu.org
> >
> > > Unfortunately, we don't currently have
> > > anyone with access to such a machine who could debug the relevant code
> > > and tell what is wrong with it. If you can run Emacs under GDB on
> > > that machine and report some findings (I can provide more detailed
> > > instructions), we might be able to fix this.
> >
> > I can do that, tell me what to do
>
> Thank you.
>
> The relevant code is in w32term.c:w32_construct_mouse_wheel.
ok
> For
> starters, could you please step through that function and tell what
> you see when you scroll with the touchpad? In particular, does the
> value of 'delta' become positive or negative depending on the
> direction of the scrolling? Also, what are the computed values of p.x
> and p.y, and what are the values in the structure pointer to by
> 'result' immediately before the function returns?
>
> Note: to be able to show values of Lisp objects, you need to tell GDB
> to read the src/.gdbinit file in the Emacs source tree:
>
> (gdb) source /path/to/emacs/src/.gdbinit
>
> P.S. It goes without saying that you will need to have the sources of
> Emacs 29.1 available, if you don't already.
maybe it will be simpler for me to compile emacs and debug it directly
with some printf(). At least i know where to look at now
Vincent
next prev parent reply other threads:[~2023-08-18 6:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-18 5:15 bug#65360: emacs 29.1 with MSYS2: vertical scrolling with touchpad not working Vincent Torri
2023-08-18 5:41 ` Eli Zaretskii
2023-08-18 5:51 ` Vincent Torri
2023-08-18 6:29 ` Eli Zaretskii
2023-08-18 6:41 ` Vincent Torri [this message]
2023-08-18 6:56 ` Eli Zaretskii
2023-08-18 7:01 ` Vincent Torri
2023-08-18 19:47 ` Vincent Torri
2023-08-26 3:00 ` Vincent Torri
2023-08-26 5:52 ` Eli Zaretskii
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=CAMq1adoLexBGPryAObuB4Nq4PDObMtHR2DCG1XF65Ug2JDG5WA@mail.gmail.com \
--to=vincent.torri@gmail.com \
--cc=65360@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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).