From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vincent Torri Newsgroups: gmane.emacs.bugs Subject: bug#65360: emacs 29.1 with MSYS2: vertical scrolling with touchpad not working Date: Fri, 18 Aug 2023 08:41:05 +0200 Message-ID: References: <83v8dc52mm.fsf@gnu.org> <83jzts50ep.fsf@gnu.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="35117"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65360@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 18 08:42:14 2023 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 1qWtBW-0008uh-6I for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Aug 2023 08:42:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWtBQ-0004ov-MT; Fri, 18 Aug 2023 02:42:08 -0400 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 1qWtBK-0004oZ-EX for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 02:42:02 -0400 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 1qWtBK-0005Tz-6A for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 02:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qWtBK-0000qF-CM for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 02:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vincent Torri Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Aug 2023 06:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65360 X-GNU-PR-Package: emacs Original-Received: via spool by 65360-submit@debbugs.gnu.org id=B65360.16923408833187 (code B ref 65360); Fri, 18 Aug 2023 06:42:02 +0000 Original-Received: (at 65360) by debbugs.gnu.org; 18 Aug 2023 06:41:23 +0000 Original-Received: from localhost ([127.0.0.1]:45995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWtAh-0000pK-AN for submit@debbugs.gnu.org; Fri, 18 Aug 2023 02:41:23 -0400 Original-Received: from mail-il1-x136.google.com ([2607:f8b0:4864:20::136]:62561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWtAf-0000p3-FX for 65360@debbugs.gnu.org; Fri, 18 Aug 2023 02:41:22 -0400 Original-Received: by mail-il1-x136.google.com with SMTP id e9e14a558f8ab-34961362f67so4482085ab.0 for <65360@debbugs.gnu.org>; Thu, 17 Aug 2023 23:41:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692340875; x=1692945675; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xyAI5/BE5LJArk9bxFEml3CfMfjAkksI/i4ExMnMOhI=; b=FRoyQXrRc1QsZJrQT5hrdH2onSIqYK+0BgSmQf+3cd60rfCknveoJf2VVhQKR/2cx7 UmbZnzbEGoSEjuBhgFMohOkheBX8llPvzHzM7g4a1P1bTtS55znRCqo6wvyN7uSMc3oQ UkOnFVAAQ3qktdzTXrLJZkxsnPCk1Z0uHMBkuT8a0X7AuT9xL/yURXrUTXiklT3bnHVt x7b7kmAte4DjPiabGI/Zybtd/LQTkmWoh66j4Udbp/0JvcVIj0z8TpUOJmebhTWmYBs2 MmP582kBvu+0iuzY157t9brO7O+kax/oa2qG+FuFEJGAWstnnI1jhHLJLfYVz42FmlG6 n2BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692340875; x=1692945675; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xyAI5/BE5LJArk9bxFEml3CfMfjAkksI/i4ExMnMOhI=; b=cxj+XUb0zCktuSb0OO9LTqDEhouvLxbNxOLOmeBMy5QU5Oo7VuUBrGG+qI5w/+tGTt 0UEZh0xy7UXSJbLDdUQIXqItBl8Lv/APMB5eeBhO/xp5eAn7J4c4VNO1CLi+BqBThQeA 9ycuZTpkQNGwMdGwMY7ghhuB7q/D0AWt2pmF/hTEmheet36vYkQxs41h8NcXGxFWg6fb Fsqhfs40Z5Cl0WFKtzrliCi06SVRN60Bxnfc1iMylWPGNoFNGyCv2JzaN0SX8gctLtmV 4NZez/ESnId6tfIMflJWO/XbZXrvEjLr/HYf+sDiIuknhzWM+/WqqNMmKS2VWcodDMmZ tpvg== X-Gm-Message-State: AOJu0Yy5opsUt/JT8iIECff0q1UQhFDpkX6X4NYonL4dDLSqAXBZ98Tp NXRfINPhKQqfn0DlC3xbh09fAN2iOmkSrIm+VyU= X-Google-Smtp-Source: AGHT+IHa2qKw2jY2ahzFgLe6bNJsU85z8J5zyNRf0ckYIJN92s7YfxyGK6bADNAHUrmJ1cDmvC4eaEXUY+CfrvdlCqc= X-Received: by 2002:a05:6e02:1e09:b0:34a:8f74:3ecb with SMTP id g9-20020a056e021e0900b0034a8f743ecbmr6740605ila.2.1692340875297; Thu, 17 Aug 2023 23:41:15 -0700 (PDT) In-Reply-To: <83jzts50ep.fsf@gnu.org> 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:267729 Archived-At: On Fri, Aug 18, 2023 at 8:28=E2=80=AFAM Eli Zaretskii wrote: > > > From: Vincent Torri > > 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 cod= e > > > 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