[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: rcs2log]

From: Richard Stallman
Subject: address@hidden: rcs2log]
Date: Sat, 26 Oct 2002 16:16:08 -0400

Anyone interested in working on this?

------- Start of forwarded message -------
Envelope-to: address@hidden
Delivery-date: Fri, 25 Oct 2002 07:13:15 -0400
From: "Dr Francis J. Wright" <address@hidden>
To: <address@hidden>
Subject: rcs2log
Date: Fri, 25 Oct 2002 12:12:07 +0100
Organization: Mathematical Sciences, Queen Mary, University of London
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Spam-Status: No, hits=-1.3 required=5.0

This is a multi-part message in MIME format.

- ------=_NextPart_000_002D_01C27C1F.BCCCBD40
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

GNU Emacs (i386-mingw-nt4.0.1381) of 2002-10-13 on VALETTA

Everything seems to work fine on both Windows NT and XP, except that the
command `vc-update-change-log' does not work.  It tries to execute a UNIX
shell script called rcs2log in the bin directory, but the script is not
there in NTEmacs, and even if it were there NTEmacs could not execute it

I suggest the following solution.  Modify the NTEmacs installation procedure
to include the file rcs2log in the bin directory, and also include in the
bin directory the attached file rcs2log.bat (with any modifications deemed
appropriate), which NTEmacs can execute directly and which acts as an
interface to rcs2log.  I have written rcs2log.bat to be as portable across
different versions of Windows as possible, without losing the advantages of
NT.  However, I have tested it only on Windows XP, where it seems to work

Of course, this all assumes a suitable UNIX-like environment on the Windows
platform, and I use Cygwin, which works well.  I think it is reasonably
likely that anyone trying to execute the Emacs command
`vc-update-change-log' in NTEmacs will have a suitable environment for
executing UNIX shell scripts.

An alternative solution to using rcs2log.bat would be to make a trivial
modification to vc.el so that it explicitly calls sh to interpret rcs2log
instead of relying on the kernel to interpret the #! and call sh indirectly,
which is the part that does not work on NTEmacs.  I tested this solution,
which also works well.  The advantage of using rcs2log.bat is that it has no
impact on any other platform.  However, if you would prefer to modify vc.el
I would be happy to provide diffs and a changelog entry if you want.  Since
rcs2log must be interpreted by sh anyway, I don't think that making this
explicit in the Emacs source code would lose anything, so this is probably
the most elegant solution.


- ---

Dr Francis J. Wright
School of Mathematical Sciences, Queen Mary
University of London, Mile End Road, London E1 4NS, UK
Tel: 020 7882 5453 (direct);  Fax: 020 8981 9587 (dept.)
address@hidden;  http://centaur.maths.qmul.ac.uk/

- ------=_NextPart_000_002D_01C27C1F.BCCCBD40
Content-Type: application/x-gzip;
Content-Transfer-Encoding: base64
Content-Disposition: attachment;


- ------=_NextPart_000_002D_01C27C1F.BCCCBD40--
------- End of forwarded message -------

reply via email to

[Prev in Thread] Current Thread [Next in Thread]