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 13:46:05 -0500 (CDT) Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <200410241846.i9OIk5T25944@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> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1098643693 807 80.91.229.6 (24 Oct 2004 18:48:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Oct 2004 18:48:13 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 24 20:48:02 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 1CLnPO-0006rF-00 for ; Sun, 24 Oct 2004 20:48:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLnWz-0001Zu-Kv for ged-emacs-devel@m.gmane.org; Sun, 24 Oct 2004 14:55:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CLnWt-0001Zo-DJ for emacs-devel@gnu.org; Sun, 24 Oct 2004 14:55:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CLnWt-0001Zc-1E for emacs-devel@gnu.org; Sun, 24 Oct 2004 14:55:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLnWs-0001ZZ-UJ for emacs-devel@gnu.org; Sun, 24 Oct 2004 14:55:46 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CLnP2-0004hP-Gv for emacs-devel@gnu.org; Sun, 24 Oct 2004 14:47:40 -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 i9OIlciU000678; Sun, 24 Oct 2004 13:47:38 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id i9OIk5T25944; Sun, 24 Oct 2004 13:46:05 -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: <86fz44wkfi.fsf@ketchup.de.uu.net> (message from Kai Grossjohann on Sun, 24 Oct 2004 11:10:41 +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:28842 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28842 I would guess that process-file has to handle a nil value for INFILE in exactly the same way that call-process does: if (nargs >= 2 && ! NILP (args[1])) { infile = Fexpand_file_name (args[1], current_buffer->directory); CHECK_STRING (infile); } else infile = build_string (NULL_DEVICE); Does anybody know how one can do `build_string (NULL_DEVICE)' portably from Lisp? Sincerely, Luc.