From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Berdine Newsgroups: gmane.emacs.help Subject: Re: igrep on remote files with tramp? Date: Sun, 31 Jul 2005 19:52:40 -0400 Organization: University of Rochester Message-ID: <0001HW.BF12DC880234B350F0305550@news.ispnetbilling.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1122854895 21165 80.91.229.2 (1 Aug 2005 00:08:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Aug 2005 00:08:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 01 02:08:07 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DzNqd-0007TM-IP for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Aug 2005 02:08:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DzNtG-0001iz-5I for geh-help-gnu-emacs@m.gmane.org; Sun, 31 Jul 2005 20:10:46 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newscon02.news.prodigy.com!newscon06.news.prodigy.com!prodigy.net!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!news.sisna.com!not-for-mail User-Agent: Hogwasher/4.2.2 Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 66.67.224.178 Original-X-Complaints-To: newsabuse@ikano.com Original-X-Trace: news.sisna.com 1122853960 66.67.224.178 (Sun, 31 Jul 2005 17:52:40 MDT) Original-NNTP-Posting-Date: Sun, 31 Jul 2005 17:52:40 MDT X-Received-Date: Sun, 31 Jul 2005 17:52:40 MDT (news.sisna.com) Original-Xref: shelby.stanford.edu gnu.emacs.help:132799 Original-To: help-gnu-emacs@gnu.org 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:28323 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28323 On Thu, 28 Jul 2005 15:28:54 -0400, Kevin Rodgers wrote (in article ): > Daniel Berdine wrote: > > I need to work with files on a remote server, and tramp so far has > > seemed the best way to get the job done. However, I would very much like > > to be able to use the igrep functions, in particular dired-do-igrep, in > > this context. Unfortunately, igrep doesn't seem to know how to use > > tramp. Looking at igrep.el (2.112), there appears to be at least some > > support of ange-ftp built in. Does there exist a version of igrep.el > > that knows about tramp as well as/instead of ange? Or, does anyone know > > of any other way to make it work? My Google searches so far turn up > > zilch. > > igrep only supports ange-ftp (and efs) to the extent that the > igrep-visited-files and Buffer-menu-igrep commands explicitly ignore > remote files. > > To properly support remote files, igrep would need to invoke the grep > command in a remote shell. I know there has been discussion about > whether Emacs should implement process handlers, so that tramp could run > programs on a remote host when invoked from a buffer visiting a remote > file. But I don't know what was decided and implemented (if anything). Ok, thanks. I'm obviously ignorant here, but why is this so different than, say, incremental searches across several remote files with tramp? Can't a local igrep be run on the local tmp files that get used for so many other purposes? In any case, being able to run remote processes with tramp would be great. I've frequently wished I could do this with gdb within emacs, for instance. Thanks again for the information, -Dan