unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#44441: PATCH: Wrong command name in windows.texi
@ 2020-11-04 13:42 ej32u--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2020-11-07  8:59 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: ej32u--- via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2020-11-04 13:42 UTC (permalink / raw)
  To: 44441

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]

Hello,

For swapping windows, the file "windows.texi" names the command 
`windmove-swap-states-in-direction', but describes 
`windmove-swap-states-default-keybindings'.

I changed the named command to 
`windmove-swap-states-default-keybindings', to match other named 
commands (e.g., `windmove-display-default-keybindings').

Thank you.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-windows.texi-Fix-command-name.patch --]
[-- Type: text/x-patch; name=0001-windows.texi-Fix-command-name.patch, Size: 1806 bytes --]

From e1ce1b242176048574be34a09a82867efc86b11b Mon Sep 17 00:00:00 2001
From: Earl <ej32u@protonmail.com>
Date: Wed, 4 Nov 2020 07:26:06 -0500
Subject: [PATCH] windows.texi: Fix command name.

For swapping windows, the file names the command
`windmove-swap-states-in-direction', but describes
`windmove-swap-states-default-keybindings'.

Change named command to `windmove-swap-states-default-keybindings', to
match other named commands (e.g., `windmove-display-default-keybindings').
---
 ChangeLog.3            | 8 ++++++++
 doc/emacs/windows.texi | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ChangeLog.3 b/ChangeLog.3
index 0f36310079..169a201eb5 100644
--- a/ChangeLog.3
+++ b/ChangeLog.3
@@ -1,3 +1,11 @@
+2020-11-04  Earl Hyatt  <ej32u@protonmail.com>
+
+	* doc/emacs/windows.texi (Window Convenience): Fix description of
+	'windmove-swap-states-default-keybindings'.
+
+	The document describes 'windmove-swap-states-default-keybindings',
+	but referred to it as 'windmove-swap-states-in-direction'.
+
 2020-08-03  Phil Sainty  <psainty@orcon.net.nz>
 
 	lisp/so-long.el: Improve support for major mode hooks
diff --git a/doc/emacs/windows.texi b/doc/emacs/windows.texi
index bc1dcd7f41..b434dbf14b 100644
--- a/doc/emacs/windows.texi
+++ b/doc/emacs/windows.texi
@@ -603,7 +603,7 @@ Window Convenience
 window for the buffer that the next command is going to display.
 Also there is @w{@kbd{M-x windmove-delete-default-keybindings}} to
 define keybindings for commands that delete windows directionally, and
-@w{@kbd{M-x windmove-swap-states-in-direction}} that define
+@w{@kbd{M-x windmove-swap-states-default-keybindings}} that defines
 keybindings for commands that swap the window contents of the selected
 window with the window in the specified direction.
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#44441: PATCH: Wrong command name in windows.texi
  2020-11-04 13:42 bug#44441: PATCH: Wrong command name in windows.texi ej32u--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2020-11-07  8:59 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2020-11-07  8:59 UTC (permalink / raw)
  To: ej32u; +Cc: 44441-done

> Date: Wed, 04 Nov 2020 13:42:51 +0000
> From: ej32u--- via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> For swapping windows, the file "windows.texi" names the command 
> `windmove-swap-states-in-direction', but describes 
> `windmove-swap-states-default-keybindings'.
> 
> I changed the named command to 
> `windmove-swap-states-default-keybindings', to match other named 
> commands (e.g., `windmove-display-default-keybindings').
> 
> Thank you.

Thanks, I pushed this.

In the future, please don't submit changes for ChangeLog files: they
are generated from Git log.  Instead, please include with the patches
a ChangeLog-style commit log message, as described in CONTRIBUTE.

(Btw, in this case the mistaken name was also in a @findex entry; I
fixed that as well.)





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-07  8:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-04 13:42 bug#44441: PATCH: Wrong command name in windows.texi ej32u--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-07  8:59 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).