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: "Eli Zaretskii" <eliz@is.elta.co.il>, <emacs-devel@gnu.org>
Subject: Re: [F.J.Wright@qmul.ac.uk: rcs2log]
Date: Tue, 29 Oct 2002 17:06:27 -0000	[thread overview]
Message-ID: <00dc01c27f6d$9932eed0$3a50258a@maths.qmul.ac.uk> (raw)
In-Reply-To: 200210291543.g9TFhiF16549@rum.cs.yale.edu

From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
To: "Juanma Barranquero" <lektu@terra.es>
Cc: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>; "Dr Francis J.
Wright" <F.J.Wright@qmul.ac.uk>; "Eli Zaretskii" <eliz@is.elta.co.il>;
<emacs-devel@gnu.org>
Sent: Tuesday, October 29, 2002 3:43 PM
Subject: Re: [F.J.Wright@qmul.ac.uk: rcs2log]


> > > As for your sorting problem, I have no idea what a vc-sort-program
> > > could do since VC doesn't use `sort' (try `grep sort lisp/vc*.el').
> > No, but vc uses rcs2log which in fact seems to need sort.
>
> No, VC does not *use* rcs2log AFAIK.  It does provide some way to run it
> for you, tho.  But it can also be run separately from Emacs, so the
> problem with `sort' should not be fixed in any elisp file, but in rcs2log
> (or maybe in rcs2log.bat instead.  That would be even better so that
> all this ugly w32 business doesn't stain the rest of the code).
>
>
> Stefan


I see the way that vc uses rcs2log as being the same as the way that hexl
mode uses an external helper program.  Here are two possible ways forward.

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.  (So, for example, a perl script
would not be not a good solution, although using Windows Script Host might
be.)  A good solution would be to pull the appropriate Cygwin path out of
the Registry, but I'm not sure how feasible that is.

The other is to modify vc.el to allow the user to specify a directory
containing the correct sort program and to prepend that to exec-path before
trying to execute rcs2log.  This could be made to happen only on Windows
platforms.

I'll think about these two options and see whether I can produce a solution
that people find more acceptable than my original rcs2log.bat solution.

Francis

  reply	other threads:[~2002-10-29 17:06 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 [this message]
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
     [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='00dc01c27f6d$9932eed0$3a50258a@maths.qmul.ac.uk' \
    --to=f.j.wright@qmul.ac.uk \
    --cc=eliz@is.elta.co.il \
    --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).