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: Mon, 20 Dec 2021 08:54:17 +0800 Message-ID: <87r1a85c5i.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11949"; 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 Mon Dec 20 01:55:15 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 1mz6xP-0002u9-2U for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Dec 2021 01:55:15 +0100 Original-Received: from localhost ([::1]:56406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mz6xN-0001FL-Pl for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Dec 2021 19:55:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mz6wh-0000Yv-5c for emacs-devel@gnu.org; Sun, 19 Dec 2021 19:54:31 -0500 Original-Received: from sonic313-9.consmr.mail.ne1.yahoo.com ([66.163.185.32]:32782) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mz6we-0005jY-Uv for emacs-devel@gnu.org; Sun, 19 Dec 2021 19:54:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639961666; bh=+tftun11hAp2Nx/BNTarhrQwOhnoGOKX4yzdozzdBeQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Bf/FnZqHTT4R4T/hBz5DQ8o0/WOn7B9/y3qyw3pMxP7PS328dBRHMOxa64vF+sOHx2CdFb1BCBfr/SRzSz8Go6E6uw9Fse/KJ71M7kq03SJnrjphHh8k9AJPPXwrx71JeFp09zGDR+pRdtGMJe17S1YBr7pyVi0W6G6Sr0eGMmtdZdfLpPJgactV7diFNiDAEMA6MStLRHxhQ/8P6xPyoKm7xtoaDMpquKEdYY8zdXbiWASfIHsZteU/PSS4l0+hzBJRXWd84X+sBrzGOymViv3Yq2XQGD7B2UEKhh7Pn5Rx7Vwi5OFIsgVpimoRrJBrsbsFCHAI4wJZqf799DSpJg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639961666; bh=4WHRH8ilu5AW36PvDgW24l/jSIBlP7ljzIIQxiDZKSR=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=EMGVI6Vrs0GPZXOvHeVWy498R+tqcOmYHQ26hAR9dtyYKXZ/GWJm1HcnYlZWZcuAn6KwiUAcQ+ZyEdqm9f/VjNh5Znke8xA8QEe24A/dsf0uiaM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BQlB UgL7F.Rr.mUdNq_qsc5TNVUON6VF2R4rvFVPmT2pAx X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Mon, 20 Dec 2021 00:54:26 +0000 Original-Received: by kubenode504.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 80ee546bd0c88797e88f6546dd9a1093; Mon, 20 Dec 2021 00:54:22 +0000 (UTC) In-Reply-To: <83mtkw79y4.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 19 Dec 2021 19:58:59 +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.185.32; envelope-from=luangruo@yahoo.com; helo=sonic313-9.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:282479 Archived-At: Eli Zaretskii writes: >> From: Po Lu >> Cc: larsi@gnus.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org >> Date: Sun, 19 Dec 2021 19:42:31 +0800 >> >> > I'm not opposed to having parts of this in Lisp, but I do want to see >> > the events placed in the normal Emacs input queue, which probably >> > means that Lisp will be called from C. Not sure if such design will >> > make sense in practice, though. But OTOH, having events coming in >> > from another source, not through the input queue read by >> > read_socket_hook, is a complication I'd very much prefer to avoid (if >> > it's even feasible). >> >> We could have an API that allows Lisp to push some kinds of input events >> to that queue, which is then read by the various read_socket_hooks. > How would the low-level events, from which you want to construct > higher-level events, get to Lisp in the first place? Through the usual event system (though probably as special events in special-event-map).