From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Pixel scrolling support Date: Fri, 26 Nov 2021 14:45:46 +0800 Message-ID: <871r33h0th.fsf@yahoo.com> References: <87a6hrzrcv.fsf.ref@yahoo.com> <87a6hrzrcv.fsf@yahoo.com> <87v90fhayx.fsf@yahoo.com> <835ysf4dyr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9476"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 26 07:49:57 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 1mqV3V-0002I8-Ll for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Nov 2021 07:49:57 +0100 Original-Received: from localhost ([::1]:52236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqV3T-0006ZW-Pa for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Nov 2021 01:49:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqUzf-0004jZ-7y for emacs-devel@gnu.org; Fri, 26 Nov 2021 01:45:59 -0500 Original-Received: from sonic314-22.consmr.mail.ne1.yahoo.com ([66.163.189.148]:45934) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqUzd-0006zY-6H for emacs-devel@gnu.org; Fri, 26 Nov 2021 01:45:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1637909154; bh=XtIto3sxyVn2ywUNReL4g+lT+reWrd85AKRoRfJi1cw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=mtluqQAy6XTQLD1oPBX8va0ar4pYCuW/GvakpRilrY+EG/aEkPkRV7tLWetHjMgVibX0XhH2G8hmxXqmJ0xlvmUUt4mzC0sd+xL9UNo3LGmQNUcw5o0At2cPdG6Mt8rvWsVO2lJT5yxnsprxVZvNO9H0sx0Tv4ALTzuthj7g9lyk7mvOMmWgOCiX7z+jK8tkwpf0HRTvfDOoOa3uH8hp7dUXv8mJbhxWI8Cq/CJphxaKdd/VOHDHbDqNTE5nbUT+dgrRJDmc3hjjLS1+6W3Zi1cZUqMsEpAzKAbMoWUAXH7st9OqbObO13fHDHg3j/2uOcdW9NYXnc2CtT2TVQNa5Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1637909154; bh=WTa5unqnqC0BJXlS/tum5Aol2ds25I3mOqYQeRksZew=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=CQ38K7XkA2gmF6WZzuFcD7j+xxf7JAck2HM+4aF0gVIp+PCG6bHpY2Hovzp/PxSQ+66HtfZ+zS9AC/sMOwOCL9nOHBi8LOmHpyWiDQhp2DQV1d5fBeISnrJDCV3oV6fvGqYFJ71y4eDf1OadqhzJ3sE+UbYAQXySEgNacOrelTVl4VOgHCo5oTy5er/ILRHg0K6vujVX1FiA64D2nWSTTtpmL9iDuwvqmrx9W+2oKYSO6X14kNcSv7KiWWpnakCt57BiKmJhJY97t4r3AY1Eah85LFNFFFkKFru4CgotqGQePaOSalkLXkNt2p7iP97AgaAnspXayXT0Fl+Uxm9bJw== X-YMail-OSG: Lw6nkYcVM1leOEHCByhBDFGw5H2vSBrtCkUngrh1vJM1TW.GRYXnbVyewef0Hdp rzMMvevSrFT7Z65eWKrZaGaRe9btd_VtkzGCQ4vHVMyYpr2mw3lHrgsWrHIdGxfdQrZxwzA3bNsy qAFddwFP2JR15jwz7.bkpyFCMkIVk9B2wZwlUOfdQtHTIkEauNOyUUkiOxpF7ITHVXzhGxTSRe3x Lts3qqqfrzKTcW7Fx_Tc3lVRZAausWakgLuS8ifcbtqRbZ0AL.Ck3NqqJjd_zYzaBqoJrXIenkuT ky5cVyR1gi_Is.qM8rLod2vtRIa1st5iN37jSr1MoWh1uJ8pjdkxdmRuZlmXTwI6K5qzmBVrf9fu ILn_0kkPkwAm933ev25JPRbkyDxerLBWpTXolilbnzyL9nNRxXDRAP4DrP.xyxv3bfZ0i5ce8Lpo 4kf1NflAWZXPosr.0SKYKoYSkpCMGwd7EujpdtlqJdbmD7FT3tS_BXmEPwP49JteKp55uBjOXV3s XFDnLvq9aDagyYfIykbqw0vILRm5NbP0JIFuN1O7h6bO0tZbOKrkmPLO5bKP5a4AjEutxqOat6h9 eY_YQ0cjDMEyv1dR9nyK_EMj6w3N02ZqDh4YFaq8b9cFbBw4C6oa719aAmuHVkds3MxhLn03AofZ vgmp_p7cBtpV5LcEb.Gb1MS8rhe7ahsYhLJ9pEAuuDykJw6NGQehLpjegzhXOI9fQmwjYD2eZDgc gVwmqu0AJUiZpt5idOiApenckSNDL0gZHYUDa5YgnRVAy5dNpRM74ZqMNjoCMd0744RIolgyc5zT zuwvk6l_ciIrwhFluod3djrWAqaFDgkz2lNqkcV7pE X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Fri, 26 Nov 2021 06:45:54 +0000 Original-Received: by kubenode513.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 0d1c49f4af808f19f27179d708b1b5d6; Fri, 26 Nov 2021 06:45:51 +0000 (UTC) In-Reply-To: <835ysf4dyr.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 26 Nov 2021 08:40:12 +0200") X-Mailer: WebService/1.1.19306 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.148; envelope-from=luangruo@yahoo.com; helo=sonic314-22.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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:280204 Archived-At: Eli Zaretskii writes: >> Thanks, fixed and pushed. > Please revert that and merge this into pixel-scroll.el instead. Before I do that, I'd like to ask a small question: should I merge it into `pixel-scroll-mode' as well, or keep the separate minor mode for that? Right now, `pixel-scroll-mode' works by setting `mwheel-scroll-down-function' and friends, which doesn't quite work when relying on information in precise wheel events, so I think it would be best to define a separate mode, where the precise scrolling commands are directly bound to the wheel events. > And in the future, please wait for Lars or myself to respond when you > ask such questions. Thanks, I'll keep that in mind.