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: Tue, 21 Dec 2021 09:08:22 +0800 Message-ID: <87h7b2zrw9.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> <87o85d7x49.fsf@yahoo.com> <83pmps96gt.fsf@gnu.org> <87czls7rdk.fsf@yahoo.com> <83mtkw79y4.fsf@gnu.org> <87r1a85c5i.fsf@yahoo.com> <831r272tl0.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="29962"; 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 Tue Dec 21 02:09:12 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 1mzTeS-0007Zn-Bq for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Dec 2021 02:09:12 +0100 Original-Received: from localhost ([::1]:59822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzTeQ-0003Y0-KN for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Dec 2021 20:09:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzTdr-0002sK-Na for emacs-devel@gnu.org; Mon, 20 Dec 2021 20:08:35 -0500 Original-Received: from sonic316-21.consmr.mail.ne1.yahoo.com ([66.163.187.147]:45988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzTdp-00028s-Ac for emacs-devel@gnu.org; Mon, 20 Dec 2021 20:08:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640048911; bh=rc7fqf3k2JGp2j1g+CRaFOYO15nmzd8JD8+iK/YEQBQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=LxFMNanAOtYIJuq82n1yzBrBP7Sdsh4RjYUu3tBmh5hb42dvrlcjimaRxMCa794XTxAs+KmEuxF4WafuhmCTpLP4j9XM5SZU3nCogXoZDXYjPWr76Pt+bv9qQ60S9yyFE+RPox4A/7xtAmQU5NYa98uZXI/uwdDeGw+clR+7ipPq+4e1hqs1GdqhiLwa3M63K3O4CjhWrxpUP5XusnWgzpIdpTrfS+w8NhU4QuRUaN62TBPGPVYHq6arCuIJrgjXb6sGsKGjtAm9Ep2A60RusZtYaSxyDkHUbE4L+I06w8OU/2t9B1t4H68JNfBDrHlNt5I4XNVXbWWnPX59a1gagA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640048911; bh=NnVGcLyeOFilyHZ8Cg3RKqmoqJZ+0T1VZHcbUQDyAvs=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=e1M/1AK7yI8t8X7OecMngxp+BsWsJ70C981tRtMOchtdNLoJrH+sl96b8iXoU1o2/0xheQOazzVW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myrA9dBiPuonuOLvwLxObdKLVjIjNFcJE .P4PKmXysHp_C9vEaw21EIith5qrqxagDqCYfZtS.X X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Tue, 21 Dec 2021 01:08:31 +0000 Original-Received: by kubenode510.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 50f79030533ee87b5731a5d964490a91; Tue, 21 Dec 2021 01:08:27 +0000 (UTC) In-Reply-To: <831r272tl0.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 20 Dec 2021 17:18:19 +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.147; envelope-from=luangruo@yahoo.com; helo=sonic316-21.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:282547 Archived-At: Eli Zaretskii writes: > So the events from X will be delivered via read_socket_hook, then the > code which reads these events will call Lisp, and then it will turn > around and feed the synthetic events it produces back into the input > queue? That's exactly what I prefer to avoid, since there's no way in > the world you will be able to pretend that the synthetic events were > delivered in the same place as the real ones: some additional events > could have arrived meanwhile. Hmm, is there some other mechanism we can use? Or perhaps we can design a new mechanism for Lisp code to translate sequences of lower-level events into high level ones? (Though I have no idea how that work work.)