[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 19:00:25 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Juri Linkov <juri@linkov.net> writes:
> Such changes as below are not less line noise, and not less Java.
> Instead of this, more Lisp-like solution would be like
> removing redundant :group args from defcustom when there is
> a defgroup before them. The same way a package would declare
> its group, then defuns of all package commands could either
> add a corresponding 'declare' form, or put a command symbol's
> property to the defgroup mode name.
Having a "all the rest of the commands in this file belongs to this
mode" is fragile and awkward, in my opinion.
And since you seem to think that
(interactive "p" foo-mode)
is too much noise, and Dmitry thinks that it's not enough, then it seems
like I've arrived at the ideal compromise.
--
(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, 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: [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 <=
- 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
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/14
- 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/12
- Re: [External] : Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/13
- Re: Smarter M-x that filters on major-mode, Stefan Monnier, 2021/02/11
- Re: Smarter M-x that filters on major-mode, Lars Ingebrigtsen, 2021/02/11