unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [F.J.Wright@qmul.ac.uk: rcs2log]
@ 2002-10-26 20:16 Richard Stallman
  2002-10-28 16:57 ` Juanma Barranquero
  2002-10-28 17:30 ` Juanma Barranquero
  0 siblings, 2 replies; 32+ messages in thread
From: Richard Stallman @ 2002-10-26 20:16 UTC (permalink / raw)


Anyone interested in working on this?

------- Start of forwarded message -------
Envelope-to: emacs-pretest-bug@gnu.org
Delivery-date: Fri, 25 Oct 2002 07:13:15 -0400
From: "Dr Francis J. Wright" <F.J.Wright@qmul.ac.uk>
To: <emacs-pretest-bug@gnu.org>
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.)
F.J.Wright@qmul.ac.uk;  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 -------

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2002-11-02 12:01 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [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

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