help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with simple script to clean out an ERC buffer


From: J. David Boyd
Subject: Re: Problem with simple script to clean out an ERC buffer
Date: Wed, 06 Jun 2018 16:46:57 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (cygwin)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]