From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#60645: 30.0.50; interactive MODES not detected properly Date: Mon, 9 Jan 2023 00:39:26 +0300 Message-ID: References: <83fsclqtdt.fsf@gnu.org> <83wn5xp6oz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="851"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.9+54 (af2080d) (2022-11-21) Cc: 60645@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 09 06:47:19 2023 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 1pEl0A-000AaX-Rj for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Jan 2023 06:47:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEkzv-0006Y9-Eh; Mon, 09 Jan 2023 00:47:03 -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 1pEkzu-0006Xm-6D for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2023 00:47:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pEkzt-0005AI-Po for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2023 00:47:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pEkzt-0000km-Ha for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2023 00:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Jan 2023 05:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60645 X-GNU-PR-Package: emacs Original-Received: via spool by 60645-submit@debbugs.gnu.org id=B60645.16732431862846 (code B ref 60645); Mon, 09 Jan 2023 05:47:01 +0000 Original-Received: (at 60645) by debbugs.gnu.org; 9 Jan 2023 05:46:26 +0000 Original-Received: from localhost ([127.0.0.1]:35446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEkzK-0000jq-0b for submit@debbugs.gnu.org; Mon, 09 Jan 2023 00:46:26 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:47017) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEkzH-0000iF-W2 for 60645@debbugs.gnu.org; Mon, 09 Jan 2023 00:46:24 -0500 Original-Received: from localhost ([::ffff:197.239.14.132]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000055D58.0000000063BBAA32.00000E55; Sun, 08 Jan 2023 22:46:26 -0700 Content-Disposition: inline In-Reply-To: <83wn5xp6oz.fsf@gnu.org> 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:252985 Archived-At: * Eli Zaretskii [2023-01-08 15:11]: > > > If MODES is present, it should be a list of mode names (symbols) that > > > this command is applicable for. The main effect of this is that > > > ‘M-x TAB’ (by default) won’t list this command if the current buffer’s > > > mode doesn’t match the list. That is, if either the major mode isn’t > > > derived from them, or (when it’s a minor mode) the mode isn’t in effect. > IOW, no quoting and no explicit list. The documentation clearly says > > (interactive &optional ARG-DESCRIPTOR &rest MODES) > > "&rest MODES" means zero or more symbols, not a quoted list. I was confused with "If MODES is present, it should be a list of mode names (symbols) that..." -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/