unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Patch: new function process-file (call-process with file handlers)
Date: Sun, 17 Oct 2004 18:57:09 +0200	[thread overview]
Message-ID: <x5fz4dl1ui.fsf@lola.goethe.zz> (raw)
In-Reply-To: <863c0dnxxe.fsf@ketchup.de.uu.net> (Kai Grossjohann's message of "Sun, 17 Oct 2004 17:53:33 +0200")

Kai Grossjohann <kai@emptydomain.de> 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 <what>"
> 		echo "<what> 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

  reply	other threads:[~2004-10-17 16:57 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-17 15:53 Patch: new function process-file (call-process with file handlers) Kai Grossjohann
2004-10-17 16:57 ` David Kastrup [this message]
2004-10-17 16:58 ` Stefan Monnier
2004-10-18  8:28   ` Kim F. Storm
2004-10-18 10:24     ` David Kastrup
2004-10-24 13:27       ` Kai Grossjohann
2004-10-17 19:19 ` Kai Grossjohann
2004-10-17 20:48   ` Stefan Monnier
2004-10-18  6:44     ` Kai Grossjohann
2004-10-18 13:59     ` Richard Stallman
2004-10-19  6:37       ` Michael Albinus
2004-10-23 20:03       ` Kai Grossjohann
2004-10-24  1:17         ` Luc Teirlinck
2004-10-24  9:10           ` Kai Grossjohann
2004-10-24 15:09             ` Luc Teirlinck
2004-10-24 18:29             ` Luc Teirlinck
2004-10-24 20:06               ` Kai Grossjohann
2004-10-24 18:46             ` Luc Teirlinck
2004-10-24 19:30               ` Luc Teirlinck
2004-10-24 19:37               ` Luc Teirlinck
2004-10-24 20:08               ` Kai Grossjohann
2004-10-24 20:22                 ` Luc Teirlinck
2004-10-24 20:59                 ` Luc Teirlinck
2004-10-18 19:52   ` Michael Albinus
2004-10-23 20:00 ` Kai Grossjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=x5fz4dl1ui.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).