From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#49265: [External] : bug#49265: 28.0.50; repeat mode feature request Date: Wed, 30 Jun 2021 11:50:43 +0200 Message-ID: <878s2rel58.fsf@gmail.com> References: <87czs53aei.fsf.ref@aol.com> <87czs53aei.fsf@aol.com> <87h7hh6o8t.fsf@mail.linkov.net> <87pmw4v24c.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27550"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "49265@debbugs.gnu.org" <49265@debbugs.gnu.org>, Ergus , Juri Linkov To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 30 11:51:10 2021 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 1lyWs9-0006w2-Pc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Jun 2021 11:51:09 +0200 Original-Received: from localhost ([::1]:49604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyWs8-0005c5-Qc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Jun 2021 05:51:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyWs2-0005bj-Is for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2021 05:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44931) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyWs2-0007Uj-BD for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2021 05:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lyWs2-0008Vf-6L for bug-gnu-emacs@gnu.org; Wed, 30 Jun 2021 05:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Jun 2021 09:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49265 X-GNU-PR-Package: emacs Original-Received: via spool by 49265-submit@debbugs.gnu.org id=B49265.162504665332697 (code B ref 49265); Wed, 30 Jun 2021 09:51:02 +0000 Original-Received: (at 49265) by debbugs.gnu.org; 30 Jun 2021 09:50:53 +0000 Original-Received: from localhost ([127.0.0.1]:56477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyWrs-0008VJ-RV for submit@debbugs.gnu.org; Wed, 30 Jun 2021 05:50:53 -0400 Original-Received: from mail-wr1-f49.google.com ([209.85.221.49]:46686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lyWrr-0008V6-7v for 49265@debbugs.gnu.org; Wed, 30 Jun 2021 05:50:51 -0400 Original-Received: by mail-wr1-f49.google.com with SMTP id l8so2785045wry.13 for <49265@debbugs.gnu.org>; Wed, 30 Jun 2021 02:50:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=C+LeDSJZ7YdVAhFA0Ahf2PlyHlGpoFDHdE9Q7SoeEUQ=; b=YAYHc9LAcjtxtWyCHGZMjSqlgC7WyqvmxTSPsVGy1G4siEK4/3GBxOS67UDBtbZaLP rRHVXlyBsqS2CJ08YxbGouImBMTu/YqLZze8+3jKWoeZeGG6kWZz4QCw6RsT8T9jCOy4 xFsHwyEworqu1VJ6Sja7xuvDsVuRFWD6HFkMz86fgFcoV/1gZmulNZJx4XVdk84xCvhO hqDOtr6787CIXMhrU6x/0zny0QnK55+Kodkvt5wdsG4chtxvhBcvFc/qUea9YT86tler jcpW0FccJGsmvqq9HecYCylEeJrZA8WNY4vB0WOVWsUK2Zw+r+EO7tmrnw2ioHjNv8y5 BZpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=C+LeDSJZ7YdVAhFA0Ahf2PlyHlGpoFDHdE9Q7SoeEUQ=; b=oRy0Vj3AUsT2JJjj4P4Nty+AZ7zu/sAbgVKGPUAuPTYO+J+3DfjPIIAha8EMi6wyZt U8Qjl5eoFnxyffJpqFxyml4tjcEiiuvnoydaka0s9T6dAVRQ8YJFmQlsHpo+AVGopctK 3l7qmoBlyJt2tMIWNaW+wlD7ejg4mQr9kgDTOdEH0B4nAD60G8aUc1VQZEi2CCXewclk nzqlw/JREfSiFuKQtzwo2PPsVLnSB1mfBIYpObcaenG/2MjUwEJwOZIpi1LIuoMFgA8H FaVCcjUGkaaW4E6OYgupc1Z/uT7Le2rDsg19rYe594eIMTDoorIZxzQ3R7E3HAFEDO48 eXwg== X-Gm-Message-State: AOAM53302WLQjbDtiz9Msz2lTr/MLjC2ApsvkoarfwTYgdy9J8EskVIk KDrd1s5kDhlV6iuFHLUGRv8= X-Google-Smtp-Source: ABdhPJy8CObJxiDQDQJDycGAkxITQh+q/QtRyeQMpaGdh3Q6T8jl+8/Wld85Vt4Jyn9VJH15eXtO0w== X-Received: by 2002:a5d:4a81:: with SMTP id o1mr39257079wrq.1.1625046645326; Wed, 30 Jun 2021 02:50:45 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id c12sm25005080wrr.90.2021.06.30.02.50.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Jun 2021 02:50:44 -0700 (PDT) In-Reply-To: (Drew Adams's message of "Tue, 29 Jun 2021 21:28:44 +0000") 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" Xref: news.gmane.io gmane.emacs.bugs:209148 Archived-At: >>>>> On Tue, 29 Jun 2021 21:28:44 +0000, Drew Adams said: >> > I thought the question was whether Emacs automatically, >> > or already in some way, provides some a way of >> > determining (e.g. using Lisp code) whether a given >> > command is repeatable (i.e., by just holding down a key >> > that it's bound to). >> > >> > If that's the question then I think the answer is no. >> > (Is that right?) >>=20 >> The request was to create a new command that lists all >> repeatable commands and keymaps. Drew> Which amounts to the same thing: determining whether Drew> a given command is repeatable. I don't think Emacs has Drew> a way of determining that. (It would even seem to be Drew> undecidable...) (mapatoms (lambda (sym) (and (commandp sym) (get sym 'repeat-map) (message "repeatable %s" sym)))) gets you the potentially repeatable commands. Whether they=CA=BCre actually repeatable depends on whether 'repeat-mode' is active. Drew> (Though I don't know what you might mean by "and keymaps". Drew> Repeatable keymaps?) Bindings to repeatable commands maybe? Robert --=20