From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Touch events Date: Sun, 25 Jun 2017 00:22:48 +0100 Message-ID: <20170624232248.GA20864@breton.holly.idiocy.org> References: <20170624085335.GA10629@breton.holly.idiocy.org> <01a6db4f-168a-3ca8-83ee-e64418bbf432@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1498346626 2443 195.159.176.226 (24 Jun 2017 23:23:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Jun 2017 23:23:46 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: =?iso-8859-1?Q?Cl=E9ment?= Pit-Claudel , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 25 01:23:40 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOuOt-0008Qk-QA for ged-emacs-devel@m.gmane.org; Sun, 25 Jun 2017 01:23:35 +0200 Original-Received: from localhost ([::1]:40705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dOuOw-00084m-0H for ged-emacs-devel@m.gmane.org; Sat, 24 Jun 2017 19:23:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dOuOD-00084g-Vx for emacs-devel@gnu.org; Sat, 24 Jun 2017 19:22:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dOuOD-0007Zo-3l for emacs-devel@gnu.org; Sat, 24 Jun 2017 19:22:53 -0400 Original-Received: from mail-wr0-x22f.google.com ([2a00:1450:400c:c0c::22f]:36208) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dOuOC-0007Zd-Rf for emacs-devel@gnu.org; Sat, 24 Jun 2017 19:22:53 -0400 Original-Received: by mail-wr0-x22f.google.com with SMTP id c11so108279468wrc.3 for ; Sat, 24 Jun 2017 16:22:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=UrPhhFM7HplP/if9FaNsLJZtc6KtsjGhFvAQ3yfUiO4=; b=KZEcK/J1doh899gZyWzXUflevEK336GDrwnUQbLbvRvPX1aAGocYXaM96+ZuO1aVHI N06kWAGtadCM1fvENNmQBzbZ55w2QicEUYpIA+1F00zBgVHJJaPWqNwtKupBgoOJ+k5G ZRsuduUDA01seQXQ8t4FXZGOvogsS53qvWjG/Ag/EeCvu7xPeTkGBjrbyoh1b9Ald+lK EmKAC7SU8mZzKO1fO+HMK+e+0XHDsbhq3YvCcevdJFqfg0WBwtD2XpOcsh7YmWnp/9ND GQb73H7Jyr5miT7LJaVyzDqEzMnKDC6oSO0VlzT9lez8zMCOpUkqMZcAa4qy4m3PEPc1 UL6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=UrPhhFM7HplP/if9FaNsLJZtc6KtsjGhFvAQ3yfUiO4=; b=K317SYfCqolmrepJTrk4ZRz4IFiHvvpIhyTuWkqYj47uhEMIaDz91DFquWrFERtnYD rXx3PYKQHappBY2wrmn/F4JUFQN5GTm/3Q7PKIbGy48J897yY5HGDm96DvzSNUWXH4j5 xdEog+w0TH0cyX/8OuQuF+CoV3EIkCrpnVwZ92TbUYXlZiFmKNGdQO5j5MKrX9fVforo QIvFr9kREWxTPIQYrAl4u6QE5F0pq2YCrvIwku5StdO2DvyQQzTZvMZ1fPdk0xwX539j 05ycWungQ47R25itIhZhhY2T3OZDqEvnmZi2PdhbUDZ1NvrRJSWM91tw9XWPg66EG5tv iORA== X-Gm-Message-State: AKS2vOxkuLVFktNMcQa05LD83WC8g9ItFgCRmQpZIVPnQqrTMWaJ4nur 1adPbi5e2VGWHg== X-Received: by 10.28.109.18 with SMTP id i18mr9213560wmc.97.1498346571650; Sat, 24 Jun 2017 16:22:51 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-80a8-1daf-cedd-5c40.holly.idiocy.org. [2001:8b0:3f8:8129:80a8:1daf:cedd:5c40]) by smtp.gmail.com with ESMTPSA id p99sm10513714wrb.6.2017.06.24.16.22.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 24 Jun 2017 16:22:50 -0700 (PDT) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215948 Archived-At: On Sat, Jun 24, 2017 at 07:00:09PM +0200, Lars Ingebrigtsen wrote: > Clément Pit-Claudel writes: > > > On 2017-06-24 04:53, Alan Third wrote: > >> I wanted to know if I’m going about this the right way, or if it’s > >> even worth my while continuing. > > > > I don't know about the first part. But for the second one: yes! > > Let me concur (on both of those points). I'd love to get proper support > for touch events in Emacs. For my touchey devices I currently have to > use a brittle series of external programs to translate touch events to > stuff Emacs can understand, and that's all rather boring. Currently I’m only implementing the basic multitouch gestures that all the systems seem to share: - scroll/pan - swipe - pinch - rotate I could pass on *all* touch events, not just gestures, but I’m worried it will result in a deluge of ‘ is undefined’ messages whenever the touchpad/touchscreen is used. Passing on all touch events might be what’s needed to work up a touch version of strokes.el, though. (I think swipe may be a touch‐screen only thing as I can’t get it to work using my touchpad, it just seems to result in scrolling. Or maybe it’s just not what I think it is.) -- Alan Third