From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: henry atting Newsgroups: gmane.emacs.help Subject: Re: eshell and quick cd Date: Mon, 30 Mar 2009 15:45:00 +0200 Organization: literaturlatenight Message-ID: <87iqlrazvn.fsf@online.de> References: <878wmqmclw.fsf@online.de> <87prg0r7rh.fsf@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1238426444 18044 80.91.229.12 (30 Mar 2009 15:20:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Mar 2009 15:20:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 30 17:22:03 2009 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 1LoJJ8-0005LN-GP for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Mar 2009 17:21:50 +0200 Original-Received: from localhost ([127.0.0.1]:43722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoJHk-0007tB-UN for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Mar 2009 11:20:24 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: port-92-195-54-127.dynamic.qsc.de Original-X-Trace: online.de 1238420673 12228 92.195.54.127 (30 Mar 2009 13:44:33 GMT) Original-X-Complaints-To: abuse@einsundeins.com Original-NNTP-Posting-Date: Mon, 30 Mar 2009 13:44:33 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) Cancel-Lock: sha1:I2F/6yL99FWTB68dgqsy+52peJU= Original-Xref: news.stanford.edu gnu.emacs.help:168103 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:63390 Archived-At: On So, Mär 29 2009, thierry.volpiatto@gmail.com wrote: > May be write your function in a little script instead of writing it in > your .zshrc/.bashrc. > You can also easily create alias with eshell. I think I have to write an eshell function. wcd.exe is a binary (which cannot be renamed on unix systems) that writes the destination directory in wcd.go, which makes the change happen in the first place: ,---- | function wcd | { | $HOME/bin/wcd.exe $* | . $HOME/bin/wcd.go | } `---- I don't know who to handle the dot part of the above function in elisp, can anyone give me a hint? henry