From: weber <hugows@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: eshell: how do you clear the *eshell* buffer?
Date: Fri, 31 Aug 2007 13:04:15 -0000 [thread overview]
Message-ID: <1188565455.212505.37410@y42g2000hsy.googlegroups.com> (raw)
In-Reply-To: <7dfy1zgaxc.fsf@www.gratismegler.no>
On 31 ago, 09:12, Petter Gustad <newsma...@gustad.com> wrote:
> Probably a stupid question, but how do you clear the *eshell* buffer
> in eshell mode? C-h C-w does not work since it's a read-only
> buffer.
>
> Petter
> --
> ________________________________________________________________________
> Petter Gustad 8'h2B | ~8'h2B http://www.gustad.com/petter
Clearing EShell Buffer
When the eshell buffer gets too large, you can simple type the command
clear within the eshell to clear the entire buffer.
(defun eshell/clear ()
"04Dec2001 - sailor, to clear the eshell buffer."
(interactive)
(let ((inhibit-read-only t))
(erase-buffer)))
(from here: http://www.khngai.com/emacs/eshell.php)
prev parent reply other threads:[~2007-08-31 13:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-31 12:12 eshell: how do you clear the *eshell* buffer? Petter Gustad
2007-08-31 13:04 ` weber [this message]
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=1188565455.212505.37410@y42g2000hsy.googlegroups.com \
--to=hugows@gmail.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).