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: master 101bbd1392: Add support for pinch gestures to the XI2 build Date: Sun, 26 Dec 2021 19:09:01 +0800 Message-ID: <87r19z4o8i.fsf@yahoo.com> References: <83r19zq0l9.fsf@gnu.org> <87fsqf65u4.fsf@yahoo.com> <83h7avpsi7.fsf@gnu.org> <874k6v646q.fsf@yahoo.com> <83ee5zpror.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="24659"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 26 12:10:59 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 1n1RQZ-0006DZ-Ky for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Dec 2021 12:10:59 +0100 Original-Received: from localhost ([::1]:45416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1RQY-00010U-98 for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Dec 2021 06:10:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1ROz-00084O-L7 for emacs-devel@gnu.org; Sun, 26 Dec 2021 06:09:23 -0500 Original-Received: from sonic308-56.consmr.mail.ne1.yahoo.com ([66.163.187.31]:37835) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1ROs-0002j2-Ov for emacs-devel@gnu.org; Sun, 26 Dec 2021 06:09:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640517018; bh=9G1zaRq9pfB8gb1CrizvFVMY8LMtgFlK2yH7R7yJwgE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Xb/o8BImEZh77UBuT0mIGgbDBGhzXsO1/stIu4DbATZeaHzWzLEjfgfOjrWL3yra2YGg43OIdnqvYh7e0MNmrKqLgCHW6cAxp29gGW0xhsHMKQCfh3meAGDgDsI/HVfPGpbuLbHBbobiy4XwfxmTTBORzIHx5zkttheguDtB9PN1kq6cew/KogyDsi6BZR9rQKm54noVo+wA6YuQGoWK8kXE5mXbqQT3VxPei7JBn7rywavEC6UsxINedLvjejyunM/+vv8u9PicBGK/H3eHmTP7SJJ62hUMgt8D/M9W9ZljQy3P0if72zlzA7Rv+i0ZwqwAq4I9w9jJEal8B87mXw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640517018; bh=TG40V7AOkD4MAhYT5VklOMRtFy6vAlzNsSrn8yvSLHD=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ibiB4Xvnlhd8N0lSXRjqCArnYt+YxQEP0twNewtwtpz0sYSMF2ZKIIPKtVtRSV35vKY5Q6IauNNHUSa07ulagLkaY3U2rqVXGV2I17c76759chLyjlHhFqBWE11AVnHHr/BraNW/cGYnaJsedk2FTP9+QO+jhjMOUZkRLoJnLCajWE6iPH/CakcAqvOsmXKOHFAC797HTZppy1jD+85G/b0yJbcvx/om0+zGyGFe6MP6Ew4aIa4j2m0sIeM2nw9IUoMb8wV0xbSnjo0wMZq2KWGjOJZsDU+vGlydnKDcS7aqv6i0aVwphBxGr5/e16sLT2XNiSvffbiUfNH7c9DVWQ== X-YMail-OSG: 2g3iRBEVM1lgS284Yl8c93HBHtIOhil8xIeKLFwAcEaMwtYepGyT7FDkf3RA5RE km4cP3W0qaN264WZlr8ktmsBQIBV_nII.J7u5X9Hyw5zo5Z371d0qiRJuN2KQHW1.yBvNO3.Zb9n UT6WFldjnRPG6qZis5YO.VFhWc3KponLs0vO8H0g6zMuHgjYhMiY4pRxFHACQSjsq__cYd5boXLs qvVCsK01zY0YeVPCjBKJupEErldIUwWjAmsku6ObcHH1Mmf77.ZjXKCUPWUWvz4TBWkJWNq01_Li OJ1zr1RtZZ8qTR8okA2MZV0shMh69B3g89V7GeGHY.awlruBsgP1c751vlPMTBvW3TOoWNFGnhyD KTooCc7Vh4h_ueEPqhU_l7Fh0Dut.4ZQjJx6vjlbh3CwVDOUOdLjcw9QDRpv8em8ROPyAMTbRFPA B8XKeCGvK91XGUTHxJkNcBIRWjsztbXvyLolTQsS2Be_EZmHOf6kLCaU9WRcDtXV0O4jfygC.fC3 bzsOQuwx3DOyuYkGM7JIRpmtt60jz2PtuSHTmgZyCXdt2QEvBycgqxD3TxgsT.aZDixdnY3PAbOg edjYSIJyYw3nTNvhTqx3qH0PeJCKu4KEHjxKjsaowYQDD_2tyZBqzJEsfMPup4Cn3TcaR4zDTW8. M8bS1gC9rhcTAx9o2kTL3ck4_03t17JUTCOlP2Qnfs.WWUXsTfE7Qg4xqI__hOelovk4lgIOTIYu qUjQHoIjdN4pZs0wjRouWi61k4I0srdNhFvd41vctPI_Iw9GGHRVHykf8AVof6QbiOrmvkF1tIXe CpP1c64ahLrbKS35ibCPWN1vwBcUZaEb7i8w5d.8eE X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Sun, 26 Dec 2021 11:10:18 +0000 Original-Received: by kubenode513.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 7c02a61bbf63be1fd6aedc243668f6a7; Sun, 26 Dec 2021 11:09:06 +0000 (UTC) In-Reply-To: <83ee5zpror.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 26 Dec 2021 12:48:52 +0200") X-Mailer: WebService/1.1.19498 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.187.31; envelope-from=luangruo@yahoo.com; helo=sonic308-56.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=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:283292 Archived-At: Eli Zaretskii writes: > Please explain how the angle deltas make sense as part of a pinch > gesture, I don't think I understand that. Basically, this delta is only reported by the X server when the finger rotates _after_ a pinch gesture is detected, for example if the user zooms in, and while doing so, also rotates his fingers. The rationale is that some applications might have a reason to handle these events separately (such as to ignore them, or to do something else with them), instead of simply rotating the display. > We are talking about the situation that several pinch events were > reported to Emacs since the last time it entered the idle loop and > checked for input. Which commands do you envision that would like to > process only some of that gesture, and leave the rest in the input > queue? AFAIU, all it will do is cause some kind of "inertia", in that > the reaction to user gestures will lag after the gestures. Why would > that make sense? I see your point now. I'll look into making keyboard.c merge multiple pinch events in the event queue.