From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Ricardo Wurmus <rekado@elephly.net>
Newsgroups: gmane.emacs.devel
Subject: Re: Add function eshell/clear to clear current eshell buffer
Date: Tue, 10 Mar 2015 09:20:58 +0100
Message-ID: <87wq2p6z6d.fsf@mango.localdomain>
References: <874mpwhxml.fsf@gmail.com> <83lhj7lcgn.fsf@gnu.org>
	<87y4n7e1bn.fsf@gmail.com> <831tkz6yh1.fsf@gnu.org>
	<87oao23dbb.fsf@gmail.com>
	<20150309101126.GA11863@boo.workgroup> <83twxu5fh5.fsf@gnu.org>
	<87a8zmf8zx.fsf@gmail.com> <83ioea5dgj.fsf@gnu.org>
	<CA+T2Sh0xZu6GGY063uLFjdM48PPOSF1_PYfi2czeoVr+Q+0Osg@mail.gmail.com>
	<CAM9Zgm1RsEaUi67hw62mhmkzBFkU=-ejkutjM1uUAvMHN8v5fQ@mail.gmail.com>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: ger.gmane.org 1425975686 19799 80.91.229.3 (10 Mar 2015 08:21:26 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 10 Mar 2015 08:21:26 +0000 (UTC)
Cc: Eli Zaretskii <eliz@gnu.org>, Gregor Zattler <telegraph@gmx.net>,
	Vibhav Pant <vibhavp@gmail.com>,
	"emacs-devel@gnu.org" <emacs-devel@gnu.org>
To: Bozhidar Batsov <bozhidar@batsov.com>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 10 09:21:17 2015
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
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 <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1YVFPg-0002Pk-Ff
	for ged-emacs-devel@m.gmane.org; Tue, 10 Mar 2015 09:21:16 +0100
Original-Received: from localhost ([::1]:47094 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1YVFPf-00043h-OE
	for ged-emacs-devel@m.gmane.org; Tue, 10 Mar 2015 04:21:15 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35937)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rekado@elephly.net>) id 1YVFPc-00043a-PL
	for emacs-devel@gnu.org; Tue, 10 Mar 2015 04:21:13 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rekado@elephly.net>) id 1YVFPb-0002KB-NP
	for emacs-devel@gnu.org; Tue, 10 Mar 2015 04:21:12 -0400
Original-Received: from sender1.zohomail.com ([74.201.84.155]:30618)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rekado@elephly.net>)
	id 1YVFPX-0002JV-66; Tue, 10 Mar 2015 04:21:07 -0400
Original-Received: from localhost (brln-4d0cdba2.pool.mediaWays.net [77.12.219.162]) by
	mx.zohomail.com with SMTPS id 1425975662366496.7898178259376;
	Tue, 10 Mar 2015 01:21:02 -0700 (PDT)
In-reply-to: <CAM9Zgm1RsEaUi67hw62mhmkzBFkU=-ejkutjM1uUAvMHN8v5fQ@mail.gmail.com>
X-ZohoMailClient: External
X-Zoho-Virus-Status: 2
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x
X-Received-From: 74.201.84.155
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=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:183763
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/183763>


Bozhidar Batsov writes:

> The name of the function is strange, btw. We don't use `/` is command names.

The name is just right.  Any function with prefix "eshell/" becomes an
eshell command.  "eshell/clear" will be available on the eshell as
"clear".