[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Current mode command discovery
From: |
Eli Zaretskii |
Subject: |
Re: Current mode command discovery |
Date: |
Fri, 19 Feb 2021 14:42:38 +0200 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: dgutov@yandex.ru, ofv@wanadoo.es, emacs-devel@gnu.org
> Date: Fri, 19 Feb 2021 13:34:48 +0100
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> However, this may be a smaller issue than you'd think. Most things that
> >> are tagged as ;;;###autoload won't be mode-specific: They are
> >> autoloadable exactly because they can be called from anywhere in Emacs.
> >
> > That's not necessarily true. We also use ;;;###autoload as the means
> > to load a mode when some command is invoked.
>
> I'm not quite sure what you're mean here?
What I mean is this: we do sometimes mark mode-specific commands as
autoloaded, for the reason I explained. Unlike what you said, which
is that most things that we autoload are NOT mode-specific.
> We use ;;;###autoload on functions that aren't commands; yes. But a
> (major) mode can't (by definition) be a mode-specific command.
I don't see how this is relevant.
- Re: Current mode command discovery, (continued)
- Re: Current mode command discovery, Dmitry Gutov, 2021/02/17
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/17
- Re: Current mode command discovery, Dmitry Gutov, 2021/02/17
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/18
- Re: Current mode command discovery, Dmitry Gutov, 2021/02/18
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/18
- Re: Current mode command discovery, Dmitry Gutov, 2021/02/18
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/19
- Re: Current mode command discovery, Eli Zaretskii, 2021/02/19
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/19
- Re: Current mode command discovery,
Eli Zaretskii <=
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/19
- Re: Current mode command discovery, Eli Zaretskii, 2021/02/19
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/19
- Re: Current mode command discovery, Eli Zaretskii, 2021/02/19
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/19
- Re: Current mode command discovery, Dmitry Gutov, 2021/02/19
- Re: Current mode command discovery, Eli Zaretskii, 2021/02/19
- Re: Current mode command discovery, Dmitry Gutov, 2021/02/19
- Re: Current mode command discovery, Dmitry Gutov, 2021/02/19
- Re: Current mode command discovery, Matt Armstrong, 2021/02/17