unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: dboyd2@mmm.com (J. David Boyd)
To: help-gnu-emacs@gnu.org
Subject: Re: Problem with simple script to clean out an ERC buffer
Date: Wed, 06 Jun 2018 16:46:57 -0400	[thread overview]
Message-ID: <dhwybmcnprr2.fsf@mmm.com> (raw)
In-Reply-To: 86fu1z1zyj.fsf@zoho.com

Emanuel Berg <moasen@zoho.com> writes:

> Robert Pluim wrote:
>
>>> This reminds me that clear, as in clear(1) or
>>> /usr/bin/clear , doesn't do anything in
>>> Shell mode either (Shell mode as in shell.el).
>>
>> I don't think shell mode claims to implement
>> a terminal.
>
> At the moment, it would seem neither does ERC.
>
> Nah, I think it is an ordinary bug. If you do
> the Elisp suggested in this thread (inhibit
> read-only, then `erase-buffer') you see that
> not only does it work as one would expect, but
> hit RET and you get the prompt back, so it
> doesn't brake anything either.
>
> That would indicate it would be a small effort
> for the ERC people to implement this behavior
> and associate it with the joint ERC/IRC command
> that is already there.

And that works fine for me.  Now I just need to map it to an ERC mode key
rather than a global key, and I'm happy.

Thanks for all the help, everyone!

Dave in Hudson, FL




  reply	other threads:[~2018-06-06 20:46 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1269.1528233735.1292.help-gnu-emacs@gnu.org>
2018-06-06  8:49 ` Problem with simple script to clean out an ERC buffer Emanuel Berg
2018-06-06 12:17   ` J. David Boyd
2018-06-06 12:45     ` Joost Kremers
2018-06-06 20:34       ` J. David Boyd
     [not found]   ` <mailman.1324.1528287460.1292.help-gnu-emacs@gnu.org>
2018-06-06 12:30     ` Emanuel Berg
2018-06-06 20:35       ` J. David Boyd
     [not found]       ` <mailman.1362.1528317446.1292.help-gnu-emacs@gnu.org>
2018-06-07 10:05         ` Emanuel Berg
2018-06-07 14:04           ` J. David Boyd
2018-06-07 14:08             ` Van L
     [not found]             ` <mailman.1414.1528380527.1292.help-gnu-emacs@gnu.org>
2018-06-07 14:19               ` Emanuel Berg
2018-06-07 14:28                 ` Van L
     [not found]                 ` <mailman.1415.1528381721.1292.help-gnu-emacs@gnu.org>
2018-06-07 18:24                   ` Emanuel Berg
2018-06-08  5:18                 ` Bob Proulx
2018-06-08  7:13                   ` Van L
     [not found]                 ` <mailman.1460.1528435118.1292.help-gnu-emacs@gnu.org>
2018-06-08 10:11                   ` Emanuel Berg
2018-06-08 11:59                     ` Emanuel Berg
2018-06-10 18:04                       ` Bob Proulx
     [not found]                       ` <mailman.1633.1528653867.1292.help-gnu-emacs@gnu.org>
2018-06-10 18:29                         ` Emanuel Berg
2018-06-08 18:12                 ` J. David Boyd
2018-06-06 17:43     ` Emanuel Berg
2018-06-06 19:12       ` Jonathan Kyle Mitchell
2018-06-06 19:12       ` Robert Pluim
     [not found]       ` <mailman.1348.1528312355.1292.help-gnu-emacs@gnu.org>
2018-06-06 19:23         ` Emanuel Berg
2018-06-06 20:46           ` J. David Boyd [this message]
2018-06-06 20:45       ` J. David Boyd
2018-06-05 21:21 J. David Boyd
2018-06-06  1:18 ` Jonathan Kyle Mitchell
2018-06-06 12:29   ` J. David Boyd

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=dhwybmcnprr2.fsf@mmm.com \
    --to=dboyd2@mmm.com \
    --cc=help-gnu-emacs@gnu.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.
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).