From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: [F.J.Wright@qmul.ac.uk: rcs2log] Date: Tue, 29 Oct 2002 10:19:20 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: <200210291519.g9TFJKS16350@rum.cs.yale.edu> References: <20021029112745.A09D.LEKTU@terra.es> <200210291447.g9TElaS15818@rum.cs.yale.edu> <20021029160458.A0AA.LEKTU@terra.es> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035904873 14074 80.91.224.249 (29 Oct 2002 15:21:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 29 Oct 2002 15:21:13 +0000 (UTC) Cc: "Stefan Monnier" , "Dr Francis J. Wright" , "Eli Zaretskii" , emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 186YB5-0003ek-00 for ; Tue, 29 Oct 2002 16:21:11 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 186YFk-0007jt-00 for ; Tue, 29 Oct 2002 16:26:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 186YAM-0007cJ-00; Tue, 29 Oct 2002 10:20:26 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 186Y9R-0007AV-00 for emacs-devel@gnu.org; Tue, 29 Oct 2002 10:19:29 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 186Y9L-00079D-00 for emacs-devel@gnu.org; Tue, 29 Oct 2002 10:19:27 -0500 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10) id 186Y9K-000798-00 for emacs-devel@gnu.org; Tue, 29 Oct 2002 10:19:22 -0500 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g9TFJKS16350; Tue, 29 Oct 2002 10:19:20 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Juanma Barranquero Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8906 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8906 > > Can't we change the installation script instead ? > > Such that on W32 systems, rcs2log is installed as rcs2log.sh > > and then we install a rcs2log.bat wrapper ? > > This way the VC code does not need to know whether rcs2log is implemented > > as an sh script or anything else (it really doesn't need to know: I played > > with the code and didn't know until now that it was an sh script rather > > than a binary or a perl script). > > I don't know what's the right way, but as I've said, detecting at > installation time whether there is a GNU-compatible sort in the path and > where is it located seems very fragile to me. Not to mention that it > doesn't adapt very well to situations where you modify the PATH or > add/remove items to it (something I do quite frequently). Sorry, I replied to the wrong part of the thread. I was only replying to the original part of the thread that's trying to solve the problem that (call-process "rcs2log" ...) doesn't work under W32 because rcs2log happens to be an sh script. 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'). The problem you have should obviously be fixed somewhere else. Stefan