[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: |
Sun, 14 Feb 2021 15:23:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
"Basil L. Contovounesios" <contovob@tcd.ie> writes:
> I'm curious, though: if (interactive ARG MODES...) is neither forward
> nor backward compatible,
I'm not sure what you mean by "forward compatible" here... Emacs 29
should be able to use it just fine?
> and is equivalent to (declare (modes MODES...)), then why not allow
> only the latter syntax? Or am I missing something?
Since approx. 97% of commands will eventually have this markup, that
means that 97% of commands will start with
(declare (modes foo-mode))
(interactive "p")
and that seems like too much line noise. We don't have to make Emacs
Lisp into Java.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: [External] : Re: Smarter M-x that filters on major-mode, (continued)
- Re: [External] : Re: Smarter M-x that filters on major-mode, Stefan Monnier, 2021/02/12
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/13
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/13
- 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 <=
- 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, 2021/02/15
- 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