From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: eshell - editing files Date: Tue, 22 Jun 2010 20:10:09 +1000 Organization: Rapt Technologies Message-ID: <87mxungyym.fsf@rapttech.com.au> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291845485 16474 80.91.229.12 (8 Dec 2010 21:58:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 21:58:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 22:57:57 2010 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.69) (envelope-from ) id 1PQS1M-0000sO-ME for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 22:57:56 +0100 Original-Received: from localhost ([127.0.0.1]:34446 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQS1M-00072r-5y for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 16:57:56 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!news.glorb.com!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:uoHUbaqm0Ht3L1+ee8dr84PTAHM= Original-Lines: 27 Original-NNTP-Posting-Host: bb1d2cb3.news.astraweb.com Original-X-Trace: DXC=ijM3GiL=3h4 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:76090 Archived-At: Gary writes: > This may sound like a weird question. Is there any way to configure > eshell so that when I want to edit a file, e.g. by typing "emacs foo", I > instead get a new buffer with the file in? It kind of popped up because > if you do something with svn that requires editing something, I got > ,---- > | $ svn pe svn:ignore . > | emacs: Terminal type "dumb" is not powerful enough to run Emacs. > | It lacks the ability to position the cursor. > | If that is not the actual type of terminal you have, > | use the Bourne shell command `TERM=... export TERM' (C-shell: > | `setenv TERM ...') to specify the correct type. It may be necessary > | to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well. > | svn: system('emacs svn-prop.tmp') returned 256 > `---- > > What you want to do is setup svn to use emacs as the editor via emacscleint. You can either do this in svn config files or you can set your shell EDITOR variable to emacsclient. tim -- tcross (at) rapttech dot com dot au