From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Patch: new function process-file (call-process with file handlers) Date: Sun, 17 Oct 2004 18:57:09 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <863c0dnxxe.fsf@ketchup.de.uu.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098032258 15391 80.91.229.6 (17 Oct 2004 16:57:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Oct 2004 16:57:38 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 17 18:57:25 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CJELU-0007YP-00 for ; Sun, 17 Oct 2004 18:57:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CJESk-0004rW-EL for ged-emacs-devel@m.gmane.org; Sun, 17 Oct 2004 13:04:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CJESd-0004rN-JQ for emacs-devel@gnu.org; Sun, 17 Oct 2004 13:04:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CJESd-0004qz-6D for emacs-devel@gnu.org; Sun, 17 Oct 2004 13:04:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CJESd-0004qs-23 for emacs-devel@gnu.org; Sun, 17 Oct 2004 13:04:47 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CJELG-0002Sr-Pa for emacs-devel@gnu.org; Sun, 17 Oct 2004 12:57:10 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1CJELG-0004dg-5P; Sun, 17 Oct 2004 12:57:10 -0400 Original-To: Kai Grossjohann In-Reply-To: <863c0dnxxe.fsf@ketchup.de.uu.net> (Kai Grossjohann's message of "Sun, 17 Oct 2004 17:53:33 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28521 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28521 Kai Grossjohann writes: > The attached patch provides the new function process-file, adds Tramp > support for this new function, and changes VC to invoke process-file > instead of call-process. The patch also removes the ugly advice from > Tramp if process-file is available. > > What do people think? > > #!/bin/sh > what="$1" > > case x$what in > x[cm]*) > make maintainer-clean > autoconf257 > ./configure --prefix=$HOME/sw/emacs --with-gtk > make bootstrap > ;; > xi*) > rm -rf $HOME/sw/SAV.emacs > mv $HOME/sw/emacs $HOME/sw/SAV.emacs > make install tags > ( cd $HOME/sw/emacs/share/emacs; > mv site-lisp site-lisp.SAV; > ln -s /usr/local/share/emacs/site-lisp ) > ;; > *) > echo "Usage: $0 " > echo " can be 'make' or 'install'" > exit 2 > ;; > esac I think that this is the weirdest patch for implementing process-file that I've ever seen. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum