From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.devel Subject: Re: Smarter M-x that filters on major-mode Date: Mon, 15 Feb 2021 11:16:00 -0700 Message-ID: <87mtw58ae7.fsf@melete.silentflame.com> References: <8ed9b43502ae1480e06b@heytings.org> <83y2fuheph.fsf@gnu.org> <87im6yd4sz.fsf@gnus.org> <8735y2y44f.fsf@gnus.org> <87mtwajua4.fsf@telefonica.net> <87eehmwfeg.fsf@gnus.org> <87blcqjq45.fsf@telefonica.net> <875z2ywbvm.fsf@gnus.org> <87pn16mehu.fsf@gnus.jao.io> <87o8gpvdfd.fsf@gnus.org> <87a6s9mf87.fsf@gnus.jao.io> <87o8goryuj.fsf@gnus.org> <87y2fqepza.fsf_-_@gnus.org> <87pn12u3x8.fsf@tcd.ie> <87h7meenj0.fsf@gnus.org> <87czx2u3d6.fsf@tcd.ie> <87czx2emhu.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30573"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 15 19:17:46 2021 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 1lBiRN-0007sw-SK for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Feb 2021 19:17:45 +0100 Original-Received: from localhost ([::1]:39632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBiRM-00089X-S8 for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Feb 2021 13:17:44 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBiOk-00068l-R8 for emacs-devel@gnu.org; Mon, 15 Feb 2021 13:15:02 -0500 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:40979) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBiOj-0007os-8U for emacs-devel@gnu.org; Mon, 15 Feb 2021 13:15:02 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 7112DFA4; Mon, 15 Feb 2021 13:14:59 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 15 Feb 2021 13:14:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=4EeaPfpGqmOuY3SNCb7kT8utEf sURMvTJAdiWL07pzo=; b=G8gm3oOpkVfp7ZZLp05EFivtLxtovMxSvbcqmfsS9o YgjKHikAlR4SdXaypkZURcnlB6Wxz9AVfA76I6RA0ehdm/BajfvqR9WktqWPwXKz HUKRs7Wc/MAGyWBw7yO63Z0oBeEaNoj+NmDqK/h0/Ukop77zczyCWmabtMBxHry3 ef2CYf00be9xYIlaFlWaVVw/GB9vfsD/K95Tbrcw8UGmKzigKz7yealMlvw8V/mZ 6yGNea1zYBv6aVIxPakkMwvPBpRjuMY9GJfDHiGu6rgqeg2k5pNhj3uLQ0p1neJ2 Z31QKK0vqJBdjc5+/Q678S5rf1nCy2XkELUzFrxaPfrw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=4EeaPf pGqmOuY3SNCb7kT8utEfsURMvTJAdiWL07pzo=; b=r8xiMuikIcQxZIEfJxGyna 2fIMQRNwwAtBk97AMu1KQPtUG4T0BmmHtmTQWbwTXmRaEI8iJFNG5fA/iSauojdl eh5lFpMFktwx78JFGSbGEEl1VXmU1vfa6hIZoWTtZtKY1uiFY9h8pyhZDwnxHniI eF9VTcn3rDR0ZH9gXZ/xDs/x6mSjlkOYU+HF/R7UMjD+MEy2ASU5inPf2Rexj2aA ezBKClP4EAeVsI/KG3enlXgdigpbcuEDSbAxCgiCbXahcHb8B/KngYBRoMjz7qfy Ps/tq2teCNWQPdCvz/3Kl3l8gVJqDgTNKQl1LbvPxDmRE+ZXowbvGo9c7IH7ADVw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrieekgddutdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhffkfggtgesthdtredttddttdenucfhrhhomhepufgvrghnucgh hhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqeenuc ggtffrrghtthgvrhhnpeegtddvheegfffhffdvfeefhffgjefflefhteevffffkeetgfdt jedtiedvtdevheenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfh hrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: In-Reply-To: <87czx2emhu.fsf@gnus.org> Received-SPF: pass client-ip=64.147.123.19; envelope-from=spwhitton@spwhitton.name; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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.23 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:264859 Archived-At: Hello, On Sun 14 Feb 2021 at 03:45PM +01, Lars Ingebrigtsen wrote: > "Basil L. Contovounesios" writes: > >> Sorry, I just meant that 'interactive' will no longer be extensible, >> whereas 'declare' is inherently extensible. > > That's true. I originally went with a new directive, `command', instead > of extending `interactive', partly because of that, but it then didn't > seem like a very compelling thing -- we haven't extended `interactive' > in... er... many decades, so the conclusion from that might be that > it's perhaps not likely that we'll want to further extend it. > > On the other hand, if that's a commonly held worry, we could change the > signature from &optional form &rest modes to &optional form modes. I'd suggest going with this but making modes be a single symbol or a list of symbols, since having just a single mode is going to be the most common case. -- Sean Whitton