[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MPS native subrs
From: |
Eli Zaretskii |
Subject: |
Re: MPS native subrs |
Date: |
Wed, 26 Jun 2024 16:30:01 +0300 |
> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
> Date: Tue, 25 Jun 2024 22:48:01 +0200
>
> Gerd Möllmann <gerd.moellmann@gmail.com> writes:
>
> > How command-modes, a defun, is exactly used I don't know either, sorry.
> > I understand the doc string as indicating that certain commands are only
> > applicable in certain modes, in the sense of minor- and major-mode. I
> > don't remember that from the good old days, and it doesn't seem to be
> > explained anywhere.
>
> Seems to have appeared in
>
> 58e0c8ee86e2c36245f1c5a1483f1c73600b4914
> Author: Lars Ingebrigtsen <larsi@gnus.org>
> AuthorDate: Sun Feb 14 13:21:24 2021 +0100
>
> Extend the syntax of `interactive' to list applicable modes
It's documented in the ELisp manual:
-- Special Form: interactive &optional arg-descriptor &rest modes
[...]
The MODES list allows specifying which modes the command is meant
to be used in. See *note Command Modes:: for more details about
the effect of specifying MODES, and when to use it.
Feature which uses it is also documented in NEWS.29:
** New key binding after 'M-x' or 'M-X': 'M-X'.
Emacs allows different completion predicates to be used with 'M-x'
(i.e., 'execute-extended-command') via the
'read-extended-command-predicate' user option. Emacs also has the
'M-X' (note upper case X) command, which only displays commands
especially relevant to the current buffer. Emacs now allows toggling
between these modes while the user is inputting a command by hitting
'M-X' while in the minibuffer.
- Re: MPS make-thread, (continued)
- Re: MPS make-thread, Gerd Möllmann, 2024/06/22
- MPS native subrs (was: MPS make-thread), Helmut Eller, 2024/06/25
- Re: MPS native subrs, Gerd Möllmann, 2024/06/25
- Re: MPS native subrs, Gerd Möllmann, 2024/06/25
- Re: MPS native subrs, Helmut Eller, 2024/06/26
- Re: MPS native subrs, Gerd Möllmann, 2024/06/26
- Re: MPS native subrs, Eli Zaretskii, 2024/06/26
- Re: MPS native subrs, Gerd Möllmann, 2024/06/26
- Re: MPS native subrs, Helmut Eller, 2024/06/26
- Re: MPS native subrs, Gerd Möllmann, 2024/06/26
- Re: MPS native subrs,
Eli Zaretskii <=
- Re: MPS native subrs, Eli Zaretskii, 2024/06/26
- Re: MPS native subrs, Gerd Möllmann, 2024/06/26
- Re: MPS native subrs, Eli Zaretskii, 2024/06/26
- Re: MPS native subrs (was: MPS make-thread), Eli Zaretskii, 2024/06/26
- Re: MPS native subrs, Andrea Corallo, 2024/06/26
- Re: MPS: profiler, Gerd Möllmann, 2024/06/21
- Re: MPS: profiler, Ihor Radchenko, 2024/06/21
- Re: MPS: profiler, Gerd Möllmann, 2024/06/21
- Re: MPS: profiler, Eli Zaretskii, 2024/06/21
- Re: MPS: profiler, Ihor Radchenko, 2024/06/21