From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Pixel scrolling support Date: Fri, 26 Nov 2021 08:58:00 +0200 Message-ID: <8335nj4d53.fsf@gnu.org> References: <87a6hrzrcv.fsf.ref@yahoo.com> <87a6hrzrcv.fsf@yahoo.com> <87v90fhayx.fsf@yahoo.com> <835ysf4dyr.fsf@gnu.org> <871r33h0th.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10944"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, 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 07:58:41 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 1mqVBw-0002ch-KI for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Nov 2021 07:58:40 +0100 Original-Received: from localhost ([::1]:56138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqVBv-0001RW-6y for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Nov 2021 01:58:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqVBH-0000mm-8X for emacs-devel@gnu.org; Fri, 26 Nov 2021 01:57:59 -0500 Original-Received: from [2001:470:142:3::e] (port=46962 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqVBG-0000cH-BH; Fri, 26 Nov 2021 01:57:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=e7C68rPFVTtJU5Twya/dnpDRcNuvh2R4vHSYsMcNQRc=; b=DR65S9IjKKCf kh7aD6MuGH+D+5bQ6EC4u/aJG/+o1RQgz1zITNQsqnRbReNvuanQqlO9vQ1cEAv5ngjhb2Kl5kzrV +4o8itgUH5m1VrMOK+PgbQOcEGXphk0L+C39yjJIJJ5M6At8smI0J6uFM0WH5lKdS2PzsRkNjdzJz QKlnVAqDoyFa6/V1sPOC6RWkYsuUwGPznV0GTkIsVbPe6dFJ5bZTzrTYL+iXx12rF6bIJlJxr1zIR w3ZB6r+GOILMpvkBBgt9uI09KStNPPC5iOlYnbjofxlOa90OSxUHrR+poPo+btbpeM2GhHMyw1Cwk utokRK0KzBwj+nR2m6FWgw==; Original-Received: from [87.69.77.57] (port=4130 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqVBG-0000HH-1s; Fri, 26 Nov 2021 01:57:58 -0500 In-Reply-To: <871r33h0th.fsf@yahoo.com> (message from Po Lu on Fri, 26 Nov 2021 14:45:46 +0800) 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:280205 Archived-At: > From: Po Lu > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > Date: Fri, 26 Nov 2021 14:45:46 +0800 > > 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. Separate mode should be fine, but we need a good name for it ("better pixel scroll" is not a good name). > > And in the future, please wait for Lars or myself to respond when you > > ask such questions. > > Thanks, I'll keep that in mind. TIA