From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: keymap.el and its checks Date: Mon, 03 Oct 2022 16:48:45 -0400 Message-ID: References: <86y1txtlfr.fsf@mail.linkov.net> <86czb8vfz0.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9920"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: "T.V Raman" , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 04 00:08:14 2022 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 1ofTbh-0002R9-TH for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Oct 2022 00:08:14 +0200 Original-Received: from localhost ([::1]:53762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofTbg-0004nL-W7 for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Oct 2022 18:08:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofSMx-0000WK-Oz for emacs-devel@gnu.org; Mon, 03 Oct 2022 16:48:58 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:32069) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofSMw-0006BZ-40 for emacs-devel@gnu.org; Mon, 03 Oct 2022 16:48:55 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 3ACE780796; Mon, 3 Oct 2022 16:48:49 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id DE5C08025C; Mon, 3 Oct 2022 16:48:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1664830127; bh=nWoqTcDNo04Jnvp91mqyPJliLNtlBDcDzX2RtDlMlyo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=fPHlKCbfdcQprpZQG7vUZPF7o5I9et4nXTtvBWuyL1Cy7b+p11Vp7GkhuudpKneuE xguwE6N9O3I0sLbRETLEKm+vHh4tlLF+2EG+XJKzwPQLRcmvMq5hKOMT6gTga9HE5X JVLnfa1g2qZf3xYe1SOdXrPsQLyi22co2/09vw+izDTOh63yBvy/gWzpHRGkIxS0Yn gXVsVYyA/tzHZvMXIL+214UCBgWCqxbyYeB886faIKCLIGPgmp/mE1w5mO8cbbOKS2 lY0fI5hMLWcC+LR+GM9AKO0x7DXu1RX6ub7Q5cehnlE/9G3fikXANUUU3KWsxqz7ki qdZvN7Q+/FbCA== Original-Received: from alfajor (unknown [45.44.229.252]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 9A6661204DF; Mon, 3 Oct 2022 16:48:47 -0400 (EDT) In-Reply-To: <86czb8vfz0.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 03 Oct 2022 22:57:19 +0300") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.devel:296801 Archived-At: >>> After that you could use (key-parse repeat-exit-key) to append it >>> to unread-command-events. >> >> `key-parse` returns a ... key-sequence, so it's of no help to Raman's >> "problem". > > I believe the new function repeat-exit will help Raman in another way. Yes, that looks like a more straightforward solution that messing around with `unread-command-events` or changing timers's deadlines. Stefan