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: Touchscreen support Date: Sun, 19 Dec 2021 17:38:30 +0800 Message-ID: <87o85d7x49.fsf@yahoo.com> References: <87czlxkntg.fsf.ref@yahoo.com> <87czlxkntg.fsf@yahoo.com> <87mtkziwhi.fsf@yahoo.com> <87wnk3h0hn.fsf@yahoo.com> <877dc2xsjn.fsf@gnus.org> <83y24i9diw.fsf@gnu.org> <877dc1cug5.fsf@yahoo.com> <834k759fkp.fsf@gnu.org> <8735mp9cch.fsf@yahoo.com> <83y24h7xdz.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="19752"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: larsi@gnus.org, 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 Sun Dec 19 10:39:19 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 1mysf0-0004xn-Ix for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Dec 2021 10:39:18 +0100 Original-Received: from localhost ([::1]:41190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mysez-0002kn-3L for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Dec 2021 04:39:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myseR-00025z-Lb for emacs-devel@gnu.org; Sun, 19 Dec 2021 04:38:43 -0500 Original-Received: from sonic311-23.consmr.mail.ne1.yahoo.com ([66.163.188.204]:39259) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myseP-0006qw-QY for emacs-devel@gnu.org; Sun, 19 Dec 2021 04:38:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639906720; bh=nfN+sN0A5bJZM9rAgVHQhiTQ76RqAroTbTT85qqZ00Y=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=rRLHfVv0as72qTznvDWRvhkYh+foPt7gXWZzZeAN2yBNMxWikqBTjNIZdCiJbKJt/RTd0Kclc5T18iH2BRet7+QpMsE+BFlK3idQk07R6ApIbsrFv9SNrWdhmQ9vXlWHlAUBAjKn0RaQr8xhYMO+dym0FVbftnbVNv3ifHL6ht/PQ4pJi3JXvvaEqZDHy7KUXwTaJbRdlCsv21A+8TvOnkKlwofCqMP7Pt5vVk8R1RrFS71e07Np7u4KwRtc7+BCyQ2eJAF+JnKLMtDZWXMahNjfPR8rjPpAGLGqEXa+RwSCGX65NtIxdhY3BXk+ROrA9XJILdSagDaSiZtahHpx8Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639906720; bh=tHAxBbZcoQiTvXnrHT6OuttgcXIStIOuUBk3BpwknBZ=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=icfI31rMCOKkyPlzwPASTkaJeGy4qr7/3P3fS1lswIg6vF+C0VpZrSTkcHzfBebid15OhxvpE5RCcfBTo6KI1Z841HYCA0GQSeYW5szBhWjd2rBTmlPBGLlfBA7BKhAcTEbo6/18BALBapl4Qh9dwFBRdEmiGwZEhvSUZqoYSaDjpwloIhHpQq91P23PVXDF2hpdkiv5xyu2X8mrgli56aG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oo.com with HTTP; Sun, 19 Dec 2021 09:38:40 +0000 Original-Received: by kubenode508.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 19dfd4e73f6efff104d80de59668225b; Sun, 19 Dec 2021 09:38:35 +0000 (UTC) In-Reply-To: <83y24h7xdz.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 19 Dec 2021 11:32:40 +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.188.204; envelope-from=luangruo@yahoo.com; helo=sonic311-23.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:282392 Archived-At: Eli Zaretskii writes: > We'd need to try to find some scheme that provides equivalence between > the different abstractions. I don't understand how could it be too > hard, since the gestures are very similar, if not identical. > > Which higher-level gestures did you intend to support? The MS-Windows > classification has this list: > > . zoom > . pan What about being able to change the selection by dragging (not holding and then dragging) left and right? That has no equivalent on GTK. I don't think GTK has a public API for the pan gesture either, even though it's clearly supported by the built-in widgets. However, I think your classification is an otherwise reasonable list of gestures to support; how about we use the code in Lisp for platforms where low level events are reported (such as PGTK and X-Windows), while directly sending the high-level events on platforms where those aren't available? Thanks.