From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Cecilio Pardo Newsgroups: gmane.emacs.bugs Subject: bug#74423: Low level key events Date: Thu, 26 Dec 2024 11:16:11 +0100 Message-ID: References: <31bdc55d-8c13-4de0-9cef-bd6cc4fb033f@imayhem.com> <705fabb8-1ea0-4894-8c32-05097ab822c9@imayhem.com> <868qsvz07i.fsf@gnu.org> <162dada7-ad54-4ca5-8f11-d55dd6dccb3c@imayhem.com> <867c8ezny3.fsf@gnu.org> <86bjxev7ng.fsf@gnu.org> <343e2854-a16e-4718-894a-470b733ae91f@imayhem.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11453"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: luangruo@yahoo.com, 74423@debbugs.gnu.org, Eli Zaretskii To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 26 11:17:33 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1tQkvt-0002pT-9g for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Dec 2024 11:17:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQkvR-0007r1-Fw; Thu, 26 Dec 2024 05:17:05 -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 1tQkvO-0007qj-7d for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2024 05:17:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tQkvN-0004fp-VZ for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2024 05:17:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=ryLSu4jb+4z6cJMlZSGXp3Lacw8C6Q29ScLbqlKRb3M=; b=qT/SCVRlBp67FEaFFofSSxRN18sW0E1DZJpiyFYOkeXd7UtQtbKv+HCSeO75yTc/GILYma7a+JCz2QF4pDaqqQaFdZQ6iI+gfHa/Fu2pC1/NxUYhFJNUorVC/b4wvuf2VfzVByVWtzQ+HpuMgvL0eBlapZn6+C1xZ5klHqqsoKiKvNIp9TCpeefGa3bqjDpxAfMQw/RV6DVDsGSUVkUkaTNyDdIkaPHXscHswIbcU/BwtxVZMs5MDFH0MROVDPArxB/9KD+RJUV3dKshVrq4mEy0NjDj5q3wX7wMCUr8qhFLUzNBW8smGKiEHpIpe5Ck97rbpKHJFwbKCFxlZdmVwA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQkvN-0005pn-Qw for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2024 05:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Cecilio Pardo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Dec 2024 10:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74423 X-GNU-PR-Package: emacs Original-Received: via spool by 74423-submit@debbugs.gnu.org id=B74423.173520817822355 (code B ref 74423); Thu, 26 Dec 2024 10:17:01 +0000 Original-Received: (at 74423) by debbugs.gnu.org; 26 Dec 2024 10:16:18 +0000 Original-Received: from localhost ([127.0.0.1]:40162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQkug-0005oU-AF for submit@debbugs.gnu.org; Thu, 26 Dec 2024 05:16:18 -0500 Original-Received: from mail.imayhem.com ([82.223.54.191]:38293 helo=zealous-pike.82-223-54-191.plesk.page) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQkuf-0005oG-Gl for 74423@debbugs.gnu.org; Thu, 26 Dec 2024 05:16:17 -0500 Original-Received: from [10.0.12.81] (66.red-2-136-43.staticip.rima-tde.net [2.136.43.66]) by zealous-pike.82-223-54-191.plesk.page (Postfix) with ESMTPSA id A9A278011A; Thu, 26 Dec 2024 10:16:11 +0000 (UTC) Authentication-Results: zealous-pike.82-223-54-191.plesk.page; spf=pass (sender IP is 2.136.43.66) smtp.mailfrom=cpardo@imayhem.com smtp.helo=[10.0.12.81] Received-SPF: pass (zealous-pike.82-223-54-191.plesk.page: connection is authenticated) Content-Language: es-ES In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297764 Archived-At: On 22/12/2024 5:31, Stefan Monnier wrote: > I'm not expert in the C level part of that code, so I provide > feedback below only for the Lisp-facing part. Thanks a lot for the review. I'm working on it. > Maybe instead of focusing on running a command, `llk-handle` and > `llk-bind` should concentrate on generating "normal" events that are > then looked up in the normal keymaps. > > So the user would use them only to specify which events should be > recognized and which should be ignored. Then the user can use the > standard keymaps to declare what to do in response to `double-xk-shift-l`. > WDYT? Yes, I think that's better. I did it the other way to keep it as separate as possible from normal events, as some people thought this was a bad idea. How can we make sure that only the user configures this, and external packages do not?