unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#44498: ERC info manual states that C-c C-b in a ERC buffer evaluates (erc-iswitchb) whereas it actually evaluates (erc-switch-to-buffer)
@ 2020-11-07  1:34 Olav Fosse
  2020-11-07 15:06 ` Unknown
  0 siblings, 1 reply; 3+ messages in thread
From: Olav Fosse @ 2020-11-07  1:34 UTC (permalink / raw)
  To: 44498

Hello,

As the subject says, the Info manual is incorrect.

Steps to reproduce:

1. Start emacs
$ emacs -Q
2. Start erc and answer minibuffer prompts
M-x erc<ret><ret><ret><ret><ret>
3. Assert that C-c C-b does in fact evaluate (erc-switch-to-buffer)
   instead of (erc-iswitchb)

In GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95))
 of 2020-08-12 built on builder10-14.porkrind.org
Windowing system distributor 'Apple', version 10.3.1894
System Description:  Mac OS X 10.15.7

I was also able to reproduce this on my OpenBSD 6.8 / GNU EMACS 27.1
box.


Med vennlig hilsen / Best regards

Olav Fosse

Happy Hacking!






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

* bug#44498: ERC info manual states that C-c C-b in a ERC buffer evaluates (erc-iswitchb) whereas it actually evaluates (erc-switch-to-buffer)
  2020-11-07  1:34 bug#44498: ERC info manual states that C-c C-b in a ERC buffer evaluates (erc-iswitchb) whereas it actually evaluates (erc-switch-to-buffer) Olav Fosse
@ 2020-11-07 15:06 ` Unknown
  2020-11-09 14:34   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Unknown @ 2020-11-07 15:06 UTC (permalink / raw)
  To: Olav Fosse; +Cc: 44498

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

Olav Fosse <mail@olavfosse.no> writes:

> Hello,
>
> As the subject says, the Info manual is incorrect.
>
> Steps to reproduce:
>
> 1. Start emacs
> $ emacs -Q
> 2. Start erc and answer minibuffer prompts
> M-x erc<ret><ret><ret><ret><ret>
> 3. Assert that C-c C-b does in fact evaluate (erc-switch-to-buffer)
>    instead of (erc-iswitchb)
>

I've attached a patch that fixes this documentation bug.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-obsolete-documentation-of-C-c-C-b-in-ERC.patch --]
[-- Type: text/x-patch, Size: 1043 bytes --]

From 4f228e9787da27aa7d4e2f7cf4a65e842b5bf4df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= <mardani29@yahoo.es>
Date: Sat, 7 Nov 2020 16:01:32 +0100
Subject: [PATCH] Fix obsolete documentation of C-c C-b in ERC

* doc/misc/erc.texi (Keystroke Summary): C-c C-b runs
erc-switch-to-buffer, which is implemented in terms of
read-buffer. (Bug#44498)
---
 doc/misc/erc.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/misc/erc.texi b/doc/misc/erc.texi
index cb2e83270e..c39d2f98dc 100644
--- a/doc/misc/erc.texi
+++ b/doc/misc/erc.texi
@@ -284,8 +284,8 @@ Keystroke Summary
 @item C-c C-a (@code{erc-bol})
 Go to beginning of line or end of prompt.
 
-@item C-c C-b (@code{erc-iswitchb})
-Use @code{iswitchb-read-buffer} to prompt for a ERC buffer to switch to.
+@item C-c C-b (@code{erc-switch-to-buffer})
+Use @code{read-buffer} to prompt for a ERC buffer to switch to.
 
 @item C-c C-c (@code{erc-toggle-interpret-controls})
 Toggle interpretation of control sequences in messages.
-- 
2.28.0


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

* bug#44498: ERC info manual states that C-c C-b in a ERC buffer evaluates (erc-iswitchb) whereas it actually evaluates (erc-switch-to-buffer)
  2020-11-07 15:06 ` Unknown
@ 2020-11-09 14:34   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-11-09 14:34 UTC (permalink / raw)
  To: Daniel Martín; +Cc: 44498, Olav Fosse

Daniel Martín <mardani29@yahoo.es> writes:

> I've attached a patch that fixes this documentation bug.

Thanks; pushed to Emacs 27.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2020-11-09 14:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-07  1:34 bug#44498: ERC info manual states that C-c C-b in a ERC buffer evaluates (erc-iswitchb) whereas it actually evaluates (erc-switch-to-buffer) Olav Fosse
2020-11-07 15:06 ` Unknown
2020-11-09 14:34   ` Lars Ingebrigtsen

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).