From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#26599: patch for mwheel.el Date: Tue, 21 Jan 2020 10:46:36 +0100 Message-ID: <87eevtm9ab.fsf@marxist.se> References: <83d1bynd19.fsf@gnu.org> <20170428.081600.165500065.tkk@misasa.okayama-u.ac.jp> <83wpa5m3jk.fsf@gnu.org> <20170428.181250.449319557.tkk@misasa.okayama-u.ac.jp> <83zie92pko.fsf@gnu.org> <87lfq1riyk.fsf@marxist.se> <87wo9l227w.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="26364"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , 26599@debbugs.gnu.org, Juri Linkov To: Tak Kunihiro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 21 10:47:14 2020 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 1itq7t-0006ck-1Q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Jan 2020 10:47:13 +0100 Original-Received: from localhost ([::1]:50650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itq7s-0006TV-10 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Jan 2020 04:47:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59955) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itq7j-0006TB-4i for bug-gnu-emacs@gnu.org; Tue, 21 Jan 2020 04:47:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itq7i-0002gN-5Z for bug-gnu-emacs@gnu.org; Tue, 21 Jan 2020 04:47:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40531) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1itq7h-0002gD-T2 for bug-gnu-emacs@gnu.org; Tue, 21 Jan 2020 04:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1itq7h-0004XU-Rw for bug-gnu-emacs@gnu.org; Tue, 21 Jan 2020 04:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Jan 2020 09:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26599 X-GNU-PR-Package: emacs Original-Received: via spool by 26599-submit@debbugs.gnu.org id=B26599.157960001517436 (code B ref 26599); Tue, 21 Jan 2020 09:47:01 +0000 Original-Received: (at 26599) by debbugs.gnu.org; 21 Jan 2020 09:46:55 +0000 Original-Received: from localhost ([127.0.0.1]:46504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itq7X-0004X5-I4 for submit@debbugs.gnu.org; Tue, 21 Jan 2020 04:46:55 -0500 Original-Received: from ted.gofardesign.uk ([67.225.143.91]:47470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itq7S-0004Wp-G1 for 26599@debbugs.gnu.org; Tue, 21 Jan 2020 04:46:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=tjqJzAcn8HhbtLBXANji89lh4hMwoqEVvsjcePLPdb0=; b=XoVkjJJLpLS1jGlTccFIoTBC/d 3KE9EZzqc3mNvFX7U9jbbm4x5OVrByKPqUSQwyrmjty/DXJybmgHiuLZzEpH3qb0Hm6Hxrdg0N5Ls 0RrUp7l7E7nbqzOFm8Z5gekIQXcQfKSAaG7H2nslULd0d90+uAQMHAPixaprEd8gMlwTTi/hTQW4E xzeEZ/9t61r0dhTU/CAHcqdiZdvXBEivvY/wE4IPeYynXA6g6AfDmpJZzjhNsxgBO/muQ/R3xH8a8 KjSjpPDC8TA57cbxAObJOeCstYSr2pIFp/eL2T+gB/s3iGSSI/akg9wb/VepdQ4cBrFPXS5hF+20/ KgHHI2qA==; Original-Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:36952 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1itq7K-0010kF-MI; Tue, 21 Jan 2020 04:46:38 -0500 In-Reply-To: (Tak Kunihiro's message of "Tue, 21 Jan 2020 16:17:21 +0900") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:174991 Archived-At: Hi Tak, Tak Kunihiro writes: > I wanted to set auto-hscroll-mode to nil, only during 2D scroll > (hscroll-and-vscroll mixed one) using mouse. Since 2D scroll is > unusable when auto-hscroll-mode is t, I thought what I wanted was > implicit voice of all mouse lovers...apparently was not. > > I'm good without the hook nor ELPA. Thank you for your reply. Please don't interpret the long response times here as a sign that your package is not welcome. I think we are all in favour of improving mouse and/or trackpad support in Emacs, something which would clearly benefit a significant subset of users. Unfortunately, we often have the problem that we lack the necessary resources to follow up on all bug reports in a timely manner. I think we should try to make progress here, and get your package into ELPA, in order that people can start using it. To move this ahead, if I understand things correctly, there is only one important question left to resolve, namely that of a hook in mwheel.el. Reading your code, I see that you have two commented out lines running the hook `mwheel-pre-scroll-hook'. Could you please provide a patch or instructions for where to add this hook in mwheel.el? Best regards, Stefan Kangas