From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: libinput support in Eamcs? Date: Mon, 06 Aug 2018 11:44:18 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1533570155 17938 195.159.176.226 (6 Aug 2018 15:42:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2018 15:42:35 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 06 17:42:31 2018 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 1fmheP-0004UK-Rd for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2018 17:42:29 +0200 Original-Received: from localhost ([::1]:34755 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmhgW-00008v-JV for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2018 11:44:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmhgP-00008o-7a for emacs-devel@gnu.org; Mon, 06 Aug 2018 11:44:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fmhgK-0005rG-7T for emacs-devel@gnu.org; Mon, 06 Aug 2018 11:44:33 -0400 Original-Received: from [195.159.176.226] (port=47917 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fmhgJ-0005r3-VY for emacs-devel@gnu.org; Mon, 06 Aug 2018 11:44:28 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fmheA-000490-C6 for emacs-devel@gnu.org; Mon, 06 Aug 2018 17:42:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:/9zNW7RcMmrA6uGdLnTddlev1LE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 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:228227 Archived-At: > And this is really low-level, so we'd have to write higher-level > function to translate this all to sensible events. I don't think Emacs should be in the business of translating low-level touch events into meaningful higher-level ones (especially if that means having to be in the `input` group). This seems to be a hack that can work now but is inconvenient and will have to be replaced by something else in the foreseeable future. So I'd rather we concentrate on an approach that has a chance to work without special privilege, leverages other people's code to extract high-level events from the low-level ones, and doesn't come with a predictable death-date. Even if that means it's something that currently only works if you install the right combination of bleeding edge software. Stefan