From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.devel Subject: Re: Patch: new function process-file (call-process with file handlers) Date: Sat, 23 Oct 2004 22:03:32 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <864qklqk17.fsf@ketchup.de.uu.net> References: <863c0dnxxe.fsf@ketchup.de.uu.net> <86y8i5m9tf.fsf@ketchup.de.uu.net> <877jppm5x6.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098562269 6389 80.91.229.6 (23 Oct 2004 20:11:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 23 Oct 2004 20:11:09 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 23 22:11:05 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 1CLSEC-0000t5-00 for ; Sat, 23 Oct 2004 22:11:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLSLl-0004zY-6D for ged-emacs-devel@m.gmane.org; Sat, 23 Oct 2004 16:18:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CLSLd-0004zT-5h for emacs-devel@gnu.org; Sat, 23 Oct 2004 16:18:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CLSLc-0004zH-P0 for emacs-devel@gnu.org; Sat, 23 Oct 2004 16:18:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLSLc-0004zE-L7 for emacs-devel@gnu.org; Sat, 23 Oct 2004 16:18:44 -0400 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CLSDn-0008EG-HV for emacs-devel@gnu.org; Sat, 23 Oct 2004 16:10:39 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CLSDm-0005wR-00 for ; Sat, 23 Oct 2004 22:10:38 +0200 Original-Received: from pd951fe02.dip.t-dialin.net ([217.81.254.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Oct 2004 22:10:38 +0200 Original-Received: from kai by pd951fe02.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Oct 2004 22:10:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 16 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pd951fe02.dip.t-dialin.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:aMtveT2NNLOw8UTJEvbFAmweh5Y= 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:28805 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28805 Richard Stallman writes: > Looks good to me, except I'm not sure what INFILE should do. > > INFILE is a standard argument to call-process. > Perhaps the file name handler should be found on INFILE > instead of on default-directory. There is already precedent (with shell-command) to choose the handler based on default-directory. It's difficult to explain rationally, but to me it just feels wrong to select the handler based on INFILE. Kai