From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Pixel scrolling support Date: Fri, 26 Nov 2021 08:35:47 -0500 Message-ID: References: <87a6hrzrcv.fsf.ref@yahoo.com> <87a6hrzrcv.fsf@yahoo.com> <87v90fhayx.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3877"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 26 14:37:29 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mqbPs-0000ln-G0 for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Nov 2021 14:37:28 +0100 Original-Received: from localhost ([::1]:60736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqbPr-0000y1-1K for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Nov 2021 08:37:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqbOZ-0000Cy-Jp for emacs-devel@gnu.org; Fri, 26 Nov 2021 08:36:07 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:24026) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqbOM-0000RK-MT for emacs-devel@gnu.org; Fri, 26 Nov 2021 08:36:06 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 32037440847; Fri, 26 Nov 2021 08:35:50 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id CDE594407EF; Fri, 26 Nov 2021 08:35:48 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1637933748; bh=Xl0C5ck0J8mlqGi1/wZjuHYohBpQty9PQhodROvnJmk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=EdN7ASZfDpwre726mpXHJRlbFioJZrfYiTsWHl9z1zxnrwXL5kjJ6nt8LVwXeMihP fjh+37hNFtiiMG3Mgjp4JCtJsFKfWXMh6TaJ01gln7tN5doSslpDk3Loyw+xZG2Q2G ZPX0vMxJYugWiSiGFW7QwZhOcPkw3TgcQx/33430zYB9BYeNb+plhcWnaVH4mv6ILy Y47oPACZVGIxKfJx5LeMRBhhmboPq426m06wT+bYTBFT+SesP3wAeY4RBu2KYPjI3H c86c2dZm3wORymYEKSb9NuzoTRkY1iKgHYlIrA1gy4ahdPayvsNAd/zG0osVZ4E61h 4yO+48RlMBMUg== Original-Received: from pastel (unknown [216.154.30.173]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A91EF1209C7; Fri, 26 Nov 2021 08:35:48 -0500 (EST) In-Reply-To: <87v90fhayx.fsf@yahoo.com> (Po Lu's message of "Fri, 26 Nov 2021 11:06:30 +0800") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:280245 Archived-At: Po Lu [2021-11-26 11:06:30] wrote: > Stefan Monnier writes: >> Looks OK to me, tho I wonder why you'd want to use a separate file >> rather than add this directly in `mwheel.el`. > I think it's out of scope for mwheel.el. That sounds odd, seeing how it binds the same kind of events and delegates to mwheel when the pixel info is not available. I see someone else proposed `pixel-scroll.el`, which sounds OK as well. We'll presumably also want to enable it by default eventually. Also the discussion about it being "unEmacsy" because the user has no control about the behavior suggest the code should obey `mouse-wheel-scroll-amount`, `mouse-wheel-progressive-speed`, and probably others. Maybe its code should actually be split into `mwheel.el` and `pixel-scroll.el`, but having its own dedicated file doesn't seem right. Stefan