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.bugs Subject: bug#74423: Low level key events Date: Sat, 14 Dec 2024 13:14:11 +0200 Message-ID: <86bjxev7ng.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19871"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 74423@debbugs.gnu.org, monnier@iro.umontreal.ca To: Cecilio Pardo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 14 12:15:19 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 1tMQ7C-000504-6A for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Dec 2024 12:15:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMQ70-0006pE-9g; Sat, 14 Dec 2024 06:15:06 -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 1tMQ6x-0006ki-1g for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2024 06:15:04 -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 1tMQ6w-0005xP-OH for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2024 06:15:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=bd12ye0f1HZWgzvGLgLhBO9LtOMyofVwdtFvFWTTN/U=; b=Ub/bYpAIZjCqyhdAcUrAj1QGNYyglpabvzF3rSuh7iI96mmsh8N0vC0EFplJd91BrDSkFJ3/8SWmtueZrBEugVWHJ5CVwPocUfeeT5gjRyal0JrOimotYvvNvAdI+QeUWj9/xYXJYFRA5YTc/7paD+NfvtyCD13sCRd2joYIZTH5fI/CN5n1en5jEsvBhq8tjhrpGW0JTE2un8mpI12aZxptxtuLItGZKL3YG/JPQdF0sL1Q7oHqmpU1fzXX76R2FA2iW9Gb59qcGRSJlSstVKnsikQ2ayaCqisW4MQo3MwpwIScpoKPCAYiVp1ObJqHBcsQFiEcMdfl8j3mE78nrg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMQ6w-0003Au-8F for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2024 06:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Dec 2024 11:15:02 +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.173417486912145 (code B ref 74423); Sat, 14 Dec 2024 11:15:02 +0000 Original-Received: (at 74423) by debbugs.gnu.org; 14 Dec 2024 11:14:29 +0000 Original-Received: from localhost ([127.0.0.1]:45725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMQ6O-00039o-L0 for submit@debbugs.gnu.org; Sat, 14 Dec 2024 06:14:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMQ6K-00039B-Hf for 74423@debbugs.gnu.org; Sat, 14 Dec 2024 06:14:26 -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 1tMQ6D-0005pQ-89; Sat, 14 Dec 2024 06:14:17 -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=bd12ye0f1HZWgzvGLgLhBO9LtOMyofVwdtFvFWTTN/U=; b=rLPZvTaf3RQi oW7dT6mJA47evr54LrnIMtmVeZdj3GOT5zX2j1+tjesqY75KegrR3UhKYAHOxAHgxERgpoQtBHoQv XrGlgg11kI66m4Cc+MgaCxPF8nIRhVa73bkstN2wikX1fBZjiP8944vzNbZYuGP+veJqIv1H31kVQ AGf9aPK4cv1XOcN80Gdsvivgyi7C2qKDaqeqpMDrl7vyayE1NiBRuCGVyZ8OunwIeG/y8H2iJarUK fNOlZOalIxsykKEPjWtkRqUTDvfE3sbLNO1JUAIk4uXNkzdl3mCDSGdKgUoIFK6mlI8jJe5o/D7c1 jzUffk/UVzwqkk20aTGcCw==; In-Reply-To: (message from Cecilio Pardo on Fri, 13 Dec 2024 23:55:18 +0100) 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:297038 Archived-At: > Date: Fri, 13 Dec 2024 23:55:18 +0100 > Cc: luangruo@yahoo.com, 74423@debbugs.gnu.org, monnier@iro.umontreal.ca > From: Cecilio Pardo > > This new version includes a manual entry, and corrected doc strings and > comments. Thanks, a few minor comments. > +@cindex @code{low-level-key} event > +@item (low-level-key @var{is-key-press} @var{key} @var{modifier} @var{time} @var{frame}) > +This event is sent on the physical press or release of keys, only on GUI > +systems, currently X, MS-Windows and PGTK. Aren't these events sent only if enable-low-level-key-events is non-nil? If so, this should be documented, and the variable itself should be documented. > +@var{is-key-press} is @code{t} for a key press, @code{nil} for a key release. > +@var{time} is the event's time in milliseconds, @var{frame} is the > +frame receiving it. @var{modifier} is @code{nil} if the key is not a ^^ Two spaces between sentences. > + DEFVAR_LISP ("enable-low-level-key-events", Venable_low_level_key_events, > + doc: /* If non-nil, reception of low-level key events is enabled. > + > +The value configures the set of keys that are handled: > + > +If t, send events for all keys. > + > +If a number, send events for the corresponding keysym. When calling > +'llk-init', a set of variables with the xk- prefix is initialized with ^^^^^^^^^^ In doc strings, we quote symbols `like this'.