emacs-devel
[Top][All Lists]
Advanced

[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
        tests=INVALID_MSGID,NOSPAM_INC,SPAM_PHRASE_00_01,USER_AGENT_OE
        version=2.41
X-Spam-Level: 

This is a multi-part message in MIME format.

- ------=_NextPart_000_002D_01C27C1F.BCCCBD40
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

GNU Emacs 21.2.91.1 (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
directly

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

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.

Francis

- ---

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;
        name="rcs2log.bat.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
        filename="rcs2log.bat.gz"

H4sICFRluD0AA3JjczJsb2cuYmF0AI2RX0/bMBTF3yPlO5wHrEjVEgT7w6gGoqvoNjQ6BK26t+E4
N7FFYhfbaZdvP7dJgce9XV3f3znnXl+RkAamLOPIUgMr3GltqiznHmmK+eK64cJBaU+25ILgzWEG
TlJdwwmr1r6nJ62Xxo4xs1wL5XCTYWVVJT2+zLKbrK+vnpu2zrjI2qfLHls6KpB38JLQ+wnTNFwX
eNyItF0X3FMqJNcVpcE4yXrsq/HyJcxu2svgWaqa0LTOI6eQexDMQ1UoS8Ib2w38PT23oeWwnP/4
DdIbZY1uSPt3e7V9d0PWKaPDgeCMHdZ8UXXErZBY8xBklFNpLI0C20Ebnb7lB8eVsU8O293Ztiow
067aBrF1UN45fJsv38YYoDtrcp7XHewh7/T+5wy10hSmC6Urh5BwpXRhtg7nfwMXR6pEwn49sOTi
Ihme/swXCSoTfvC1EUdOIhVIjq5vJ9OHu8ni+/HhpOwE7BTsPdgHsI9gn8DOwD6DnSdxtNcJ9nE0
/k+1UaDGe+IfeRjJ8HQCAAA=

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




reply via email to

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