[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Smarter M-x that filters on major-mode
From: |
Lars Ingebrigtsen |
Subject: |
Re: Smarter M-x that filters on major-mode |
Date: |
Mon, 15 Feb 2021 03:59:24 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
"Basil L. Contovounesios" <contovob@tcd.ie> writes:
> The special thing about the new interactive spec is that, while it
> itself is backward incompatible, it has an equivalent
> (declare (modes ...)) form that is backward compatible. So why not push
> only the less intrusive and more flexible of the two?
Why did we introduce the `when-let' when `let' + `when' exists? Because
we thought `when-let' made the code clearer.
I think
(interactive "p" foo-mode)
is pretty clear, easy to understand and easy to write.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Smarter M-x that filters on major-mode, (continued)
- 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
- 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 <=
- RE: [External] : Re: Smarter M-x that filters on major-mode, Drew Adams, 2021/02/15
- Re: Smarter M-x that filters on major-mode, Eric S Fraga, 2021/02/15
- Re: Smarter M-x that filters on major-mode, Óscar Fuentes, 2021/02/14
- Re: Smarter M-x that filters on major-mode, Eli Zaretskii, 2021/02/14
- Re: Smarter M-x that filters on major-mode, Juri Linkov, 2021/02/14
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/14
- 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, Drew Adams, 2021/02/14
- 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