unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: igrep on remote files with tramp?
Date: Thu, 28 Jul 2005 13:28:54 -0600	[thread overview]
Message-ID: <dcbblr$qo$1@sea.gmane.org> (raw)
In-Reply-To: <rothaar-CADE09.13380328072005@news.ispnetbilling.com>

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).

Thanks,
-- 
Kevin Rodgers

  parent reply	other threads:[~2005-07-28 19:28 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 [this message]
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
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='dcbblr$qo$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).