From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bozhidar Batsov Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add function eshell/clear to clear current eshell buffer Date: Sun, 8 Mar 2015 09:08:28 +0200 Message-ID: References: <874mpwhxml.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf301d3a12a0f5720510c19592 X-Trace: ger.gmane.org 1425798515 7307 80.91.229.3 (8 Mar 2015 07:08:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Mar 2015 07:08:35 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: Vibhav Pant Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 08 08:08:35 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YUVKE-0006lK-Qo for ged-emacs-devel@m.gmane.org; Sun, 08 Mar 2015 08:08:34 +0100 Original-Received: from localhost ([::1]:37646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUVKD-0006uF-Qq for ged-emacs-devel@m.gmane.org; Sun, 08 Mar 2015 03:08:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUVKA-0006uA-I8 for emacs-devel@gnu.org; Sun, 08 Mar 2015 03:08:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUVK9-00038O-OE for emacs-devel@gnu.org; Sun, 08 Mar 2015 03:08:30 -0400 Original-Received: from mail-ig0-x22d.google.com ([2607:f8b0:4001:c05::22d]:37667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUVK9-00038C-I5 for emacs-devel@gnu.org; Sun, 08 Mar 2015 03:08:29 -0400 Original-Received: by igbhn18 with SMTP id hn18so13495795igb.2 for ; Sat, 07 Mar 2015 23:08:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=EdAZIU/6/m8DlD2oePHB4TyoqgVl4UzXEkOpMhOXVVk=; b=OQaI/qe7MNlCm1MoOPq08UV4xUkc+chF1E6nuVBohi0ruPkBMyGV0tvBeuMDpCbNTm z41P2ifauDZj7aYy4gCb/W6NJxsxvEwbDfY2COKdVtopIkEFbh0pwI8nYKMoHMBnY3Bh EF/vU++j3vI5yaRML76n2ej5CZ7AyuyzomVaEttGA3NXakVovl2GrY4FLh+yVeXWLbmV pupygyfVYeGpR8pmTqbRkhfdTGrdDyy3nHDgVQur3SqHb6A8MgBvYWGXDt5z2362k0AE gpjlOx3cnMbNNGu2Al6tbBUI282WXP1DTyR4jYJr8xP6gS5RH6jhlpOoVLln7fXa2edO ZhpQ== X-Received: by 10.42.194.77 with SMTP id dx13mr19224189icb.34.1425798508628; Sat, 07 Mar 2015 23:08:28 -0800 (PST) Original-Received: by 10.36.78.18 with HTTP; Sat, 7 Mar 2015 23:08:28 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: O_QYixUuDYaCuYvd4W2MxDbURRU X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183723 Archived-At: --20cf301d3a12a0f5720510c19592 Content-Type: text/plain; charset=UTF-8 Guess it should be bound to `C-c M-o` as the clear command for comint buffers. On a related note - doesn't it make some sense for eshell do derive from comint? On 8 March 2015 at 07:23, Vibhav Pant wrote: > Also, since the patch is < 15 lines of code, I dont think a copyright > assignment should be required. > > On Sun, Mar 8, 2015 at 10:52 AM, wrote: > > Hello, > > Eshell currently lacks a "clear" command. Since it cannot use the one > > provided by the ncurses package, I added a patch which adds similar > > functionality to eshell. It can be called by simply typing "clear" on > > the eshell prompt. > > > > Thanks > > > > > > -- > > Vibhav Pant > > vibhavp@gmail.com > > > > > > -- > Vibhav Pant > vibhavp@gmail.com > > --20cf301d3a12a0f5720510c19592 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Guess it should be bound to `C-c M-o` as the clear command= for comint buffers. On a related note - doesn't it make some sense for= eshell do derive from comint?

On 8 March 2015 at 07:23, Vibhav Pant = <vibhavp@gmail.co= m> wrote:
Also, since the p= atch is < 15 lines of code, I dont think a copyright
assignment should be required.

On Sun, Mar 8, 2015 at 10:52 AM,=C2=A0 <vibhavp@gmail.com> wrote:
> Hello,
> Eshell currently lacks a "clear" command. Since it cannot us= e the one
> provided by the ncurses package, I added a patch which adds similar > functionality to eshell. It can be called by simply typing "clear= " on
> the eshell prompt.
>
> Thanks
>
>
> --
> Vibhav Pant
> vibhavp@gmail.com
>



--
Vibhav Pant
vibhavp@gmail.com


--20cf301d3a12a0f5720510c19592--