From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Smarter M-x that filters on major-mode Date: Sun, 14 Feb 2021 15:45:49 +0100 Message-ID: <87czx2emhu.fsf@gnus.org> References: <8ed9b43502ae1480e06b@heytings.org> <87v9aydg3f.fsf@gnus.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21649"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: "Basil L. Contovounesios" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Feb 14 15:47:11 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 1lBIg3-0005Wn-9L for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Feb 2021 15:47:11 +0100 Original-Received: from localhost ([::1]:42538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBIg2-0005V8-B8 for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Feb 2021 09:47:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBIes-00051p-F7 for emacs-devel@gnu.org; Sun, 14 Feb 2021 09:45:58 -0500 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:49628) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBIep-0000x2-MF for emacs-devel@gnu.org; Sun, 14 Feb 2021 09:45:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eoNPqd5Llz+V7oeTZSdxVNJ2XxZtmJFiV/Fj75bzl10=; b=W41AfvfyTNyeTykxajsU/VALVE 6kfCN8sQwTjjIiWmANVBrW/CKP1bDVcYlyV74zUhOEz24ME3KogXEDkbjNAOV4RzhGtZENoTb369b DLyJx+8W6JiLnjtOP1dKKZPtL2iNnP84X0P71p5fdKws1E4QLSv0lQJOeV0chEFAwPbY=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lBIek-0000Me-LE; Sun, 14 Feb 2021 15:45:53 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEX19fOLX0vFu6I3 LizOoEj////q1bqMAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UCDg4qI9fQlJIAAAGtSURBVDjLrZPr kYMwDIQJkwIiywVgQQOKaMBG/dd06weXxyX/TjMMMB9rSSsxTd/iIimEj0QWecQy93sFfF/tEdxv DeiqrMS4SN/AV4UpnhW6V2DfFLbSoUyWOdPbUfHYPQO483tVux8Wc8zHx6qQfii056gvaIF+k2vs CuLXqpRKV0jiZ0BUlq4Qwas6VSX0sTQPJ2YAMhX3IrNkKiK5AQrCAQoXkCXC9NzLDSIkALlkPEZo aIB5AM+3WWKiAQhacgYgpwWZciauIEz11GRwyzkER/QcMl1FEoCrc2zAh8LLVhggwtz7E9g8sq+W I0c23Z6BEnJQhItqD8AoxzRhR7KeoHceMVhDicgCFxvwDpgOq97HAaQD8iPmAbBAG5drHy15jlBk s91X0pkXHN1BbXVPdSRruM92O05FBXGtxye5X+2GeS1tHiDUgcgN4hNgKWB5A2WpdRw0ADqmAjDX Dmrlow+qVoSELdtaOhjUQJ0YNuNi+BMrqdOnDkJlKcgkPgCPHG3hVKZZ8IntGEAHZ+gyCSEHjHkF ZqE0h+0PwH7mj8DOxa9APsX0n/EDLt+X+6JcPrYAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDIt MTRUMTQ6NDI6MzUrMDA6MDAJuoMcAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTAyLTE0VDE0OjQy OjM1KzAwOjAweOc7oAAAAABJRU5ErkJggg== X-Now-Playing: James Brown's _Live at the Apollo Expanded Edition_: "Lost Someone" In-Reply-To: <87czx2u3d6.fsf@tcd.ie> (Basil L. Contovounesios's message of "Sun, 14 Feb 2021 14:32:21 +0000") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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.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:264703 Archived-At: "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. And finally, if it turns out that we super-duper do need to extend `interactive' later, then we can just introduce `command' instead. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no