unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Is it possible to run rgrep in emacs on Win32?
Date: Sat, 14 Apr 2012 12:04:46 +0300	[thread overview]
Message-ID: <83ty0m1y6p.fsf@gnu.org> (raw)
In-Reply-To: <87sjg668q9.fsf@dod.no>

> From: Steinar Bang <sb@dod.no>
> Date: Sat, 14 Apr 2012 10:03:26 +0200
> 
> >>>>> Eli Zaretskii <eliz@gnu.org>:
> 
> > You will be much better off, including with other ports of GNU/Unix
> > software, if you just put them all on PATH.  I see no good reason for
> > keeping them in a directory that is not on PATH. 
> 
> The cmd.exe on my development box have their own utilities with the same
> names and different argument, and I don't want to confuse other
> utilities in my development environment (which I don't control myself).
> Things might stop building because I want rgrep in Gnus.

There's more than one way of cutting this cake.

You could create a special batch file that modifies PATH before it
runs Emacs.  You can then make the desktop shortcut which runs Emacs
run that batch file instead.  Or you could invoke the batch file
manually from a command shell before running Emacs from that shell.
You can even have a separate shortcut for starting a special-purpose
cmd.exe window, which starts by running that batch file (via the "cmd
/k foo.bat" feature).

I think one of these methods could fit your workflow without adversely
affecting those other utilities.



  reply	other threads:[~2012-04-14  9:04 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12  9:21 Is it possible to run rgrep in emacs on Win32? Steinar Bang
2012-04-12  8:39 ` Tassilo Horn
2012-04-12  9:29 ` Eli Zaretskii
2012-04-12  9:37   ` Evgeniy Dolzhenko
2012-04-12 10:06   ` Stefan Vollmar
2012-04-12 10:07   ` Thierry Volpiatto
2012-04-12 15:26   ` Steinar Bang
2012-04-12 14:13     ` Eli Zaretskii
2012-04-13 11:34     ` Steinar Bang
2012-04-13 12:12       ` Eli Zaretskii
2012-04-13 13:02         ` Evgeniy Dolzhenko
2012-04-13 17:42           ` Eli Zaretskii
2012-04-14 15:14           ` Stefan Vollmar
2012-04-14  8:03         ` Steinar Bang
2012-04-14  9:04           ` Eli Zaretskii [this message]
2012-04-16 13:26             ` Ludwig, Mark
     [not found] <mailman.1131.1334218896.20052.help-gnu-emacs@gnu.org>
2012-04-17  5:47 ` winterTTr

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=83ty0m1y6p.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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).