unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Unknown <unknown@unknown.invalid>
To: Olav Fosse <mail@olavfosse.no>
Cc: 44498@debbugs.gnu.org
Subject: 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)
Date: Sat, 07 Nov 2020 16:06:53 +0100	[thread overview]
Message-ID: <m1v9ehw6ia.fsf@yahoo.es> (raw)
In-Reply-To: <TslK02W4nodspGB3YvuTrv2tJS819lXvLn_43yMLoLFYPc64TKL85hniFpYej4vDPfyBvIguzSBxWpBYOTMr1odDqltWq6ZNoBetRKYj-Es=@olavfosse.no> (Olav Fosse's message of "Sat, 07 Nov 2020 01:34:29 +0000")

[-- 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


  reply	other threads:[~2020-11-07 15:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2020-11-09 14:34   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1v9ehw6ia.fsf@yahoo.es \
    --to=unknown@unknown.invalid \
    --cc=44498@debbugs.gnu.org \
    --cc=mail@olavfosse.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).