From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.help Subject: eshell tag 'eshell-replace-command Date: Fri, 30 Apr 2010 17:14:31 +0100 Organization: University of Cambridge Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272644124 5554 80.91.229.12 (30 Apr 2010 16:15:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Apr 2010 16:15:24 +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 Apr 30 18:15:23 2010 connect(): No such file or directory 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 1O7ss5-0006pc-5I for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Apr 2010 18:15:21 +0200 Original-Received: from localhost ([127.0.0.1]:52408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O7ss4-0005Jg-CK for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Apr 2010 12:15:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O7srW-0005E4-UZ for help-gnu-emacs@gnu.org; Fri, 30 Apr 2010 12:14:46 -0400 Original-Received: from [140.186.70.92] (port=46093 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O7srV-0005CT-L5 for help-gnu-emacs@gnu.org; Fri, 30 Apr 2010 12:14:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O7srU-0004CH-5F for help-gnu-emacs@gnu.org; Fri, 30 Apr 2010 12:14:45 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:48829) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O7srT-0004C4-VM for help-gnu-emacs@gnu.org; Fri, 30 Apr 2010 12:14:44 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O7srO-00066d-0a for help-gnu-emacs@gnu.org; Fri, 30 Apr 2010 18:14:38 +0200 Original-Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Apr 2010 18:14:38 +0200 Original-Received: from sdl.web by smaug.linux.pwf.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Apr 2010 18:14:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 18 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: smaug.linux.pwf.cam.ac.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:aLdlFJvcZePwJKH2Tt9c+tzVngA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:72871 Archived-At: Hello, I am trying to wrap git in eshell/git. Here is a minimal example to demonstrate the problem: (defun eshell/git (&rest args) (throw 'eshell-replace-command (eshell-parse-command (eshell-search-path "git") args))) when run 'git help' in eshell, I am getting: No catch for tag: eshell-replace-command, (progn (eshell-trap-errors (eshell-named-command "/usr/local/bin/git" (list "help")))) A similar construct in eshell/cat (em-unix.el) works fine. Any idea why eshell/git fails? Thank you in advance. Leo