all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Daniel Berdine <rothaar@gmail.com>
Subject: Re: igrep on remote files with tramp?
Date: Sun, 31 Jul 2005 19:52:40 -0400	[thread overview]
Message-ID: <0001HW.BF12DC880234B350F0305550@news.ispnetbilling.com> (raw)
In-Reply-To: mailman.1998.1122579165.20277.help-gnu-emacs@gnu.org

On Thu, 28 Jul 2005 15:28:54 -0400, Kevin Rodgers wrote
(in article <mailman.1998.1122579165.20277.help-gnu-emacs@gnu.org>):

> 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

  parent reply	other threads:[~2005-07-31 23:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-28 17:38 igrep on remote files with tramp? Daniel Berdine
2005-07-28 17:55 ` Daniel Berdine
2005-07-28 19:28 ` Kevin Rodgers
2005-07-28 21:02   ` Michael Albinus
2005-07-28 22:54     ` Kevin Rodgers
2005-07-28 19:43 ` Michael Albinus
     [not found] ` <mailman.1998.1122579165.20277.help-gnu-emacs@gnu.org>
2005-07-31 23:52   ` Daniel Berdine [this message]
2005-08-02 20:35     ` Kevin Rodgers
2005-08-02 23:56       ` Kevin Rodgers
2005-08-03  8:10       ` Michael Albinus
     [not found] ` <mailman.2000.1122579980.20277.help-gnu-emacs@gnu.org>
2005-08-01  0:04   ` Daniel Berdine
2005-08-01  5:01 ` igrep on remote files with tramp? (~Solved) Daniel Berdine

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0001HW.BF12DC880234B350F0305550@news.ispnetbilling.com \
    --to=rothaar@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.