From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: furue@hawaii.edu Newsgroups: gmane.emacs.help Subject: Re: eshell: how to alias cp 'cp -i' ? Date: Fri, 07 Sep 2007 00:24:31 -0700 Organization: http://groups.google.com Message-ID: <1189149871.142797.135480@50g2000hsm.googlegroups.com> References: <1188933532.622355.111700@d55g2000hsg.googlegroups.com> <87y7fksxoi.fsf@utanet.at> <1189035937.564847.293110@50g2000hsm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1189150901 21249 80.91.229.12 (7 Sep 2007 07:41:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2007 07:41:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 07 09:41:41 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ITYTE-00018D-83 for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Sep 2007 09:41:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITYTC-0002qf-Aw for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Sep 2007 03:41:38 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!50g2000hsm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 128.171.156.62 Original-X-Trace: posting.google.com 1189149871 29702 127.0.0.1 (7 Sep 2007 07:24:31 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 7 Sep 2007 07:24:31 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Emacs-w3m/1.4.4 w3m/0.5.1+cvs-1.968,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: 50g2000hsm.googlegroups.com; posting-host=128.171.156.62; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:151769 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47293 Archived-At: Oh no, I sent out a reply without my comments added. That was my first attempt post from this queer browser (w3m) and didn't know how to edit the text box. Sorry. Edward O'Connor wrote: > > I'm also wondering where I can find documentations of eshell. I > > want/need to learn more, such as "for" loop and "if" constructs and > > function definition. > > There's lots of great material on Eshell on the EmacsWiki: Wow, that's a good source of information. Thank you! Unfortunately the problem of aliasing "cp -i" isn't mentioned in the EshellAlias section. There was a page unrelated to alias that talks about Lisp variables which make cp, mv, etc. ask before overwriting. This is one solution as long as concerning those commands. Regards, Ryo