unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Dr Francis J. Wright" <F.J.Wright@qmul.ac.uk>
Cc: <emacs-devel@gnu.org>
Subject: Re: [F.J.Wright@qmul.ac.uk: rcs2log]
Date: Wed, 30 Oct 2002 10:59:39 -0000	[thread overview]
Message-ID: <002e01c28003$8328edb0$3a50258a@maths.qmul.ac.uk> (raw)
In-Reply-To: 9743-Tue29Oct2002225005+0200-eliz@is.elta.co.il

[-- Attachment #1: Type: text/plain, Size: 1716 bytes --]

From: "Eli Zaretskii" <eliz@is.elta.co.il>
To: <F.J.Wright@qmul.ac.uk>
Cc: <emacs-devel@gnu.org>
Sent: Tuesday, October 29, 2002 7:50 PM
Subject: Re: [F.J.Wright@qmul.ac.uk: rcs2log]


> > From: "Dr Francis J. Wright" <F.J.Wright@qmul.ac.uk>
> > Date: Tue, 29 Oct 2002 17:06:27 -0000
> >
> > One is Eli's suggestion, namely a more sophisticated replacement for my
> > rcs2log.bat file that deduces the correct search path to use for sort.
> > Clearly this should not use any non-standard Windows technology other
than
> > what is necessary anyway to run rcs2log.
>
> None is needed.  You can iterate thru PATH with a FOR builtin, for
> example.


I think that's probably overkill.  Here is a simpler approach that seems to
work well for me.  It requires only that a suitable sh program is found in
the search path used within Emacs.  If the environment variable VC_SORT_PATH
is set to a search path appropriate to the sh program then it is prepended
to PATH; otherwise /bin is prepended to PATH.  In a reasonably recent
default Cygwin installation, sort is in /bin (and Cygwin knows where its own
root directory is within the Windows file system).  Hence I think this
should work correctly by default for most users of Cygwin and probably any
other sensible UNIX-like environment.  If it doesn't then the user can
specify an appropriate search path by setting VC_SORT_PATH.  This could in
fact be used to specify the location of any of the programs run by rcs2log,
although I think only sort clashes with the name of a standard Windows
program and on my system they are all in /bin.  (In fact, they appear to be
in /usr/bin, but /bin is mounted on /usr/bin by default and the files are
physically in /bin.)

Francis

[-- Attachment #2: rcs2log.bat.gz --]
[-- Type: application/x-gzip, Size: 506 bytes --]

  reply	other threads:[~2002-10-30 10:59 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-26 20:16 [F.J.Wright@qmul.ac.uk: rcs2log] Richard Stallman
2002-10-28 16:57 ` Juanma Barranquero
2002-10-28 17:30 ` Juanma Barranquero
2002-10-29  6:03   ` Eli Zaretskii
2002-10-29  7:30     ` Juanma Barranquero
2002-10-29 10:21       ` Dr Francis J. Wright
2002-10-29 10:28         ` Juanma Barranquero
2002-10-29 14:47           ` Stefan Monnier
2002-10-29 15:07             ` Juanma Barranquero
2002-10-29 15:19               ` Stefan Monnier
2002-10-29 15:37                 ` Juanma Barranquero
2002-10-29 15:43                   ` Stefan Monnier
2002-10-29 17:06                     ` Dr Francis J. Wright
2002-10-29 19:22                       ` Stefan Monnier
2002-10-29 19:51                         ` Eli Zaretskii
2002-10-30 10:36                         ` Dr Francis J. Wright
2002-10-31 17:25                         ` Richard Stallman
2002-10-29 19:50                       ` Eli Zaretskii
2002-10-30 10:59                         ` Dr Francis J. Wright [this message]
     [not found]                           ` <200210301600.g9UG0VT22546@rum.cs.yale.edu>
2002-10-30 16:51                             ` rcs2log.bat Dr Francis J. Wright
2002-10-29 19:47                 ` [F.J.Wright@qmul.ac.uk: rcs2log] Eli Zaretskii
2002-10-30 10:29                   ` Dr Francis J. Wright
2002-10-29 16:36             ` Dr Francis J. Wright
2002-10-29 16:40               ` Stefan Monnier
2002-10-29 17:10                 ` Dr Francis J. Wright
2002-10-29 19:39       ` Eli Zaretskii
2002-10-30  7:43         ` Juanma Barranquero
2002-10-30 14:10           ` Eli Zaretskii
2002-10-30 14:41             ` Juanma Barranquero
2002-11-02 12:01               ` Francesco Potorti`
2002-10-31 17:26             ` Richard Stallman
2002-10-30 17:16       ` Richard Stallman

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='002e01c28003$8328edb0$3a50258a@maths.qmul.ac.uk' \
    --to=f.j.wright@qmul.ac.uk \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox

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

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