From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Patch: new function process-file (call-process with file handlers) Date: Sun, 24 Oct 2004 15:22:45 -0500 (CDT) Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <200410242022.i9OKMjA01088@raven.dms.auburn.edu> References: <863c0dnxxe.fsf@ketchup.de.uu.net> <86y8i5m9tf.fsf@ketchup.de.uu.net> <877jppm5x6.fsf-monnier+emacs@gnu.org> <864qklqk17.fsf@ketchup.de.uu.net> <200410240117.i9O1H3G15317@raven.dms.auburn.edu> <86fz44wkfi.fsf@ketchup.de.uu.net> <200410241846.i9OIk5T25944@raven.dms.auburn.edu> <86mzybyj4o.fsf@ketchup.de.uu.net> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1098649486 13433 80.91.229.6 (24 Oct 2004 20:24:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Oct 2004 20:24:46 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 24 22:24:37 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 1CLouq-00034u-00 for ; Sun, 24 Oct 2004 22:24:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLp2S-0004FX-RP for ged-emacs-devel@m.gmane.org; Sun, 24 Oct 2004 16:32:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CLp2K-0004FS-Gz for emacs-devel@gnu.org; Sun, 24 Oct 2004 16:32:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CLp2J-0004FF-V1 for emacs-devel@gnu.org; Sun, 24 Oct 2004 16:32:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLp2J-0004FC-Qu for emacs-devel@gnu.org; Sun, 24 Oct 2004 16:32:19 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CLoud-0001D3-6H for emacs-devel@gnu.org; Sun, 24 Oct 2004 16:24:23 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i9OKOKiU000998; Sun, 24 Oct 2004 15:24:20 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id i9OKMjA01088; Sun, 24 Oct 2004 15:22:45 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: kai@emptydomain.de In-reply-to: <86mzybyj4o.fsf@ketchup.de.uu.net> (message from Kai Grossjohann on Sun, 24 Oct 2004 22:08:07 +0200) 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:28852 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28852 Kai Grossjohann wrote: Luc Teirlinck writes: > I would guess that process-file has to handle a nil value for INFILE > in exactly the same way that call-process does: Ah, yes, Tramp should handle INFILE being nil. I think it doesn't do that, yet. I am not completely sure about that any more. Maybe it can just let `call-process' handle it. But did you see the patch proposed on emacs-pretest-bug? (Not in the archives yet.) I could forward it privately, if you do not read emacs-pretest-bug. I am going to test it right now. But _at first sight_ it might also seem good if process-file saved the return value of the call to call-process and returned it. That would make it more similar to `call-process'. (Assuming that I am not misunderstanding something, which might quite well be the case.) Sincerely, Luc.