From: Jonathan Kyle Mitchell <kyle@jonathanmitchell.org>
To: Emanuel Berg <moasen@zoho.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Problem with simple script to clean out an ERC buffer
Date: Wed, 6 Jun 2018 14:12:05 -0500 [thread overview]
Message-ID: <CAAnK0TYwbW7LFeuHYkyOSufv1Evq_RikoeFSsy2PiU7FpGSwkA@mail.gmail.com> (raw)
In-Reply-To: <864lif3j5j.fsf@zoho.com>
On Wed, Jun 6, 2018 at 12:43 PM, Emanuel Berg <moasen@zoho.com> 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).
>
> But hey, aren't programmers trained to see the
> beauty in symmetry?
>
> --
> underground experts united
> http://user.it.uu.se/~embe8573
That's expected since /usr/bin/clear assumes it's talking to a "real"
terminal which shell.el is not. On the other hand, eshell.el has its
own clear command implemented in Lisp that should work.
erc-cmd-CLEAR does something different even though its docstring says
it "clears" the window contents. It basically just moves the current
line up to the top of the window without erasing the buffer. Whether
that's the intention I can't say.
--
Jonathan Kyle Mitchell
next prev parent reply other threads:[~2018-06-06 19:12 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 [this message]
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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAnK0TYwbW7LFeuHYkyOSufv1Evq_RikoeFSsy2PiU7FpGSwkA@mail.gmail.com \
--to=kyle@jonathanmitchell.org \
--cc=help-gnu-emacs@gnu.org \
--cc=moasen@zoho.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.