[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Current mode command discovery
From: |
Matt Armstrong |
Subject: |
Re: Current mode command discovery |
Date: |
Wed, 17 Feb 2021 14:26:43 -0800 |
Lars Ingebrigtsen <larsi@gnus.org> writes:
>> Could the (declare (modes ...)) and the new (interactive ... modes)
>> be unified? I understand that they do different things today, but
>> they're both called "modes" and the difference is pretty subtle. If
>> they stay separate, perhaps rename to (declare (completion-modes
>> ...))?
>
> I think I've argued enough against "(declare (modes" as the only
> tagging mechanism now?
I was just confused. I didn't realize they were the same thing.
Your recent commit to commands.texi fixed my conception, thanks.
P.S. typo in that commit, fixup patch attached.
>From 470910f58ffb151cd5221dbe3b30dc16a59b2063 Mon Sep 17 00:00:00 2001
From: Matt Armstrong <matt@rfc20.org>
Date: Wed, 17 Feb 2021 14:23:23 -0800
Subject: [PATCH] * doc/lispref/commands.texi (Command Modes): Fix typo.
---
doc/lispref/commands.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi
index 85376cc459..e171c3e168 100644
--- a/doc/lispref/commands.texi
+++ b/doc/lispref/commands.texi
@@ -597,8 +597,8 @@ Command Modes
@subsection Specifying Modes For Commands
Many commands in Emacs are general, and not tied to any specific mode.
-For instance, @kbd{M-x kill-region} can be used pretty in pretty much
-any mode that has editable text, and commands that display information
+For instance, @kbd{M-x kill-region} can be used in pretty much any
+mode that has editable text, and commands that display information
(like @kbd{M-x list-buffers}) can be used in pretty much any context.
Many other commands, however, are specifically tied to a mode, and
--
2.30.0
- Re: Current mode command discovery, (continued)
- 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
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/17
- Re: Current mode command discovery,
Matt Armstrong <=
- Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/17
- Re: Current mode command discovery, Stefan Kangas, 2021/02/17
- Re: Current mode command discovery, Matt Armstrong, 2021/02/17
- Re: Current mode command discovery, Jean Louis, 2021/02/20
Re: Current mode command discovery, Jean Louis, 2021/02/20
Re: Current mode command discovery, Lars Ingebrigtsen, 2021/02/20