From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Physical keyboard events Date: Mon, 04 Nov 2024 14:27:41 +0200 Message-ID: <861pzrw5du.fsf@gnu.org> References: <31bdc55d-8c13-4de0-9cef-bd6cc4fb033f@imayhem.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24667"; mail-complaints-to="usenet@ciao.gmane.io" Cc: cpardo@imayhem.com, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 04 13:28:27 2024 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 1t7wC2-0006GL-S2 for ged-emacs-devel@m.gmane-mx.org; Mon, 04 Nov 2024 13:28:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7wBP-0002Hj-Cv; Mon, 04 Nov 2024 07:27:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7wBN-0002GV-Lh for emacs-devel@gnu.org; Mon, 04 Nov 2024 07:27:45 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7wBN-00008T-33; Mon, 04 Nov 2024 07:27:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=v7+nJZeWXU7kVRST+q+O4hOlCTL2QV8JGJlBP/r233g=; b=Umsqb0ihho1F p48Xr9+fBooiI1SofbISshDdMKEcJNByGyB3j1X8Enmm00Xo3Sy8dY27oB9HqrWZQUKg8w85jNND0 QXGbMhVpii/OXW15FygwKXoFWDmLWhCVcrUWEJrpFwkKVbi6epxPn9tL47Q5PRl08mhvwCi9Pz+jk Km1PVPkbnAZ937L5i5/Rlcy/9dNpcYU3UbST9klO74zUUe8csOwBkXgRpkMa5UOP7f7UkQZwIMs+2 UGDGymwzY9h3Kz3UF4E7iQRAAp97nRl19wYvQIyzOE887N5s8YOvxt3rJrCXGWVktBCLzy2g1q+Bo kE5ZIe81OyGr0HY+ZZ1UqQ==; In-Reply-To: (message from Po Lu on Mon, 04 Nov 2024 08:21:09 +0800) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:325095 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Mon, 04 Nov 2024 08:21:09 +0800 > > Cecilio Pardo writes: > > > +static void > > +x_maybe_send_physical_key_event (struct x_display_info *dpyinfo, XEvent *event) > > +{ > > +#ifdef HAVE_XKB > > Thank you. A number of comments: this is simply unacceptable, as Emacs > must not depend on XKB for such a basic feature. This is not a basic feature, from where I stand. It's an enhancement. My evidence is that Emacs has lived for 4 decades without it. So please explain why would you reject an implementation of this which requires XKB.