[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Smarter M-x that filters on major-mode
From: |
Sean Whitton |
Subject: |
Re: Smarter M-x that filters on major-mode |
Date: |
Mon, 15 Feb 2021 11:16:00 -0700 |
Hello,
On Sun 14 Feb 2021 at 03:45PM +01, Lars Ingebrigtsen wrote:
> "Basil L. Contovounesios" <contovob@tcd.ie> 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
- Re: Smarter M-x that filters on major-mode, (continued)
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/13
- RE: [External] : Re: Smarter M-x that filters on major-mode, Drew Adams, 2021/02/13
- Re: [External] : Re: Smarter M-x that filters on major-mode, Stefan Monnier, 2021/02/13
- RE: [External] : Re: Smarter M-x that filters on major-mode, Drew Adams, 2021/02/14
- Re: [External] : Re: Smarter M-x that filters on major-mode, Stefan Monnier, 2021/02/14
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/14
- Re: Smarter M-x that filters on major-mode, Basil L. Contovounesios, 2021/02/14
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/14
- Re: Smarter M-x that filters on major-mode, Basil L. Contovounesios, 2021/02/14
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/14
- Re: Smarter M-x that filters on major-mode,
Sean Whitton <=
- Re: Smarter M-x that filters on major-mode, Dmitry Gutov, 2021/02/14
- Re: Smarter M-x that filters on major-mode, Alan Mackenzie, 2021/02/14
- Re: Smarter M-x that filters on major-mode, Stefan Kangas, 2021/02/14
- Re: Smarter M-x that filters on major-mode, Alan Mackenzie, 2021/02/14
- Re: Smarter M-x that filters on major-mode, Stefan Kangas, 2021/02/14
- Re: Smarter M-x that filters on major-mode, Alan Mackenzie, 2021/02/15
- Re: Smarter M-x that filters on major-mode, Stefan Kangas, 2021/02/16
- Re: Smarter M-x that filters on major-mode, Eli Zaretskii, 2021/02/14
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/14
- Re: Smarter M-x that filters on major-mode, Basil L. Contovounesios, 2021/02/14