unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Jonathan Kyle Mitchell <kyle@jonathanmitchell.org>
Cc: 31743@debbugs.gnu.org
Subject: bug#31743: 27.0.50; [feature request] add command to ERC to erase scrollback text
Date: Sat, 13 Jul 2019 05:45:35 +0200	[thread overview]
Message-ID: <871ryuy4v4.fsf@mouse.gnus.org> (raw)
In-Reply-To: <CAAnK0TZJ5B_cbmKA3TtV_XYNbwEMndQXiRLCRcnU_bLDWdgXdw@mail.gmail.com> (Jonathan Kyle Mitchell's message of "Wed, 6 Jun 2018 20:47:00 -0500")

Jonathan Kyle Mitchell <kyle@jonathanmitchell.org> writes:

> A recent discussion[1] in help-gnu-emacs revealed that a user
> expected ERC's /CLEAR command (i.e. erc-cmd-CLEAR) to erase the buffer
> contents instead of just recentering the display.
>
> [1] http://lists.gnu.org/archive/html/help-gnu-emacs/2018-06/msg00041.html
>
> I see two options to handle this:
>  1) Modify the existing erc-cmd-CLEAR command to also erase the buffer
>  contents.
>  2) Add a new command to erase the buffer contents and keep the existing
>  CLEAR command that just clears the window by recentering the text to be
>  above the window, preserving the scrollback text.

I think 1) makes more sense, because C-l is pretty easily available,
while deleting the buffer contents is a bit more work (since it has
read-only text).

But on the other hand...  I can't really imagine anybody using /clear
now, but perhaps this would be too surprising a change?

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





  reply	other threads:[~2019-07-13  3:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-07  1:47 bug#31743: 27.0.50; [feature request] add command to ERC to erase scrollback text Jonathan Kyle Mitchell
2019-07-13  3:45 ` Lars Ingebrigtsen [this message]
2019-10-23  9:15   ` 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=871ryuy4v4.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=31743@debbugs.gnu.org \
    --cc=kyle@jonathanmitchell.org \
    /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).