From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Touch events Date: Sun, 25 Jun 2017 12:56:17 -0400 Message-ID: References: <20170624085335.GA10629@breton.holly.idiocy.org> <01a6db4f-168a-3ca8-83ee-e64418bbf432@gmail.com> <20170624232248.GA20864@breton.holly.idiocy.org> <1a7d7e57-13e5-b1c8-9968-c1a08c12fe86@gmail.com> <20170625104056.GA21264@breton.holly.idiocy.org> 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 1498409795 1297 195.159.176.226 (25 Jun 2017 16:56:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Jun 2017 16:56:35 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 Cc: emacs-devel@gnu.org To: Alan Third , Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 25 18:56:29 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 1dPApn-0008Kk-9G for ged-emacs-devel@m.gmane.org; Sun, 25 Jun 2017 18:56:27 +0200 Original-Received: from localhost ([::1]:43233 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPApr-0003eZ-41 for ged-emacs-devel@m.gmane.org; Sun, 25 Jun 2017 12:56:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPApk-0003eK-Gh for emacs-devel@gnu.org; Sun, 25 Jun 2017 12:56:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPAph-0007Kx-E8 for emacs-devel@gnu.org; Sun, 25 Jun 2017 12:56:24 -0400 Original-Received: from mail-qt0-x233.google.com ([2607:f8b0:400d:c0d::233]:36127) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dPAph-0007KA-Ab for emacs-devel@gnu.org; Sun, 25 Jun 2017 12:56:21 -0400 Original-Received: by mail-qt0-x233.google.com with SMTP id i2so62167084qta.3 for ; Sun, 25 Jun 2017 09:56:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ZWwy1sN2h81FzAEE9cv9TyWnkFpQ4+QIAU5uFyvg+A4=; b=vEYZO1QRnqCE9qX6e5URgsbm8jU2oR7YzsKIoNpXMY/pJLvJDD3BD8T/BgQ/qZdYbS ADPrZ/73opXYt4e+EjMuhbrHcn+9Pl3FlWYCfOvFIT5MftMecyF1DMigu0bIs1AwM8un PHx0oZhr5NrjTPkX5mjE9wdnqrpCFqeZ6hTYNiz9uVJUQY8TqdUVAGoEb7MymcMKju3a bUUW5wMcGEI88JDRFnCUbNT15h8ln7MVFh5KdY2KwoMYLSS9+l3NF7RxcUwIDgrbLP8g y7TlvBcPqsAKDcGuLFpGk8qVneXCuxaegoc+m6h0+D6/tNMvQUnZ4yC46M8bH4fhgx0x wrWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ZWwy1sN2h81FzAEE9cv9TyWnkFpQ4+QIAU5uFyvg+A4=; b=MhRUVuAulhYopiVvmga/xyr25LhIaSkztdQDUyLG9aRlUlE+wGSXALJOS/tCqWO9xK rtYjiVhSbQhMKH7368roCKxci+AWViS+VpgUdgJgynalbt5lsdNOpISEBN0mrDaTk5e5 SSuB7fIU28Mj6DSIYml21mW1cmXRCKshz+H7sjv+LuwuWkdQNjn+fWXSbhfXGrxvatFY RseNomOR5RJuPYkneBNu0ryUi7BT1J4vYUl5CZ0JB6NyScsWzv3pBiwAtUKKjn6fxUHP aJb+kkC6N9BS2dAk5tIl1qXmuBkqsZBHJVWu5xgGOXEb4tgQsnwhzruu8DDYt0V1rMZt Bxtw== X-Gm-Message-State: AKS2vOzjeLVB9sgHl3Mki4QF6D+yxAbmCJ9TDjo4FIn/Jw9lwLrg5zBD HhMj+/ukm7nSX/wPokk= X-Received: by 10.200.57.225 with SMTP id v88mr1866479qte.50.1498409778893; Sun, 25 Jun 2017 09:56:18 -0700 (PDT) Original-Received: from [18.111.28.55] (dhcp-18-111-28-55.dyn.MIT.EDU. [18.111.28.55]) by smtp.gmail.com with ESMTPSA id d44sm1755560qta.55.2017.06.25.09.56.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Jun 2017 09:56:18 -0700 (PDT) In-Reply-To: <20170625104056.GA21264@breton.holly.idiocy.org> Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::233 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:215967 Archived-At: On 2017-06-25 06:40, Alan Third wrote: > So, anyway, I’ll try to get the gestures working in NS and at least > one Free platform (probably GTK3 unless someone else fancies giving it > a go), and then I’ll see where we can go from there. Thanks for your work! This is a very exciting development. One question: currently, Emacs doesn't expose mouse motion events. The code/docs say that it's because it generates too many events, but there are legitimate uses for that (such as showing info in the echo area or the modeline when the pointer is above a particular screen region). The only trick I know of is to use show-help-function, which requires jumping through a bunch of annoying hoops. Maybe now is a good time to add an option to propagate these events to lisp? Maybe there should be a high-frequency-events list of symbols that includes which events should be propagated to Lisp? One pour (add-to-list 'high-frequency-events 'mouse-motion) to enable them, for example. Cheers, Clément.