From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: start-process somehow expands *.org Date: Mon, 28 Feb 2011 21:27:01 -0500 Message-ID: <19820.22901.674486.120802@fencepost.gnu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1298946706 6410 80.91.229.12 (1 Mar 2011 02:31:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Mar 2011 02:31:46 +0000 (UTC) Cc: Emacs developers To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 01 03:31:37 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PuFN5-00036u-UZ for ged-emacs-devel@m.gmane.org; Tue, 01 Mar 2011 03:31:37 +0100 Original-Received: from localhost ([127.0.0.1]:54928 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuFMu-0000ib-FU for ged-emacs-devel@m.gmane.org; Mon, 28 Feb 2011 21:31:20 -0500 Original-Received: from [140.186.70.92] (port=45190 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuFJO-000861-2w for emacs-devel@gnu.org; Mon, 28 Feb 2011 21:31:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuFIk-0005RM-Go for emacs-devel@gnu.org; Mon, 28 Feb 2011 21:27:07 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:40047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuFIk-0005RI-Dx for emacs-devel@gnu.org; Mon, 28 Feb 2011 21:27:02 -0500 Original-Received: from localhost ([127.0.0.1]:45670) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuFIk-0003in-3K; Mon, 28 Feb 2011 21:27:02 -0500 In-Reply-To: X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: red X-Ran: ">82{tZFuv5YV_.X8^1JIO$/mHBgL#:jQ# List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:136631 Archived-At: Lennart Borgman wrote (on Tue, 1 Mar 2011 at 03:07 +0100): > I am calling start-process with one of the program-args beeing > "*.org". Somehow this is expanded to just the first of matching file. > > What is happening? Is this the way it is supposed to work? Will you PLEASE learn to give complete examples, rather than always this "I saw a thing; is it a problem?" kind of mail. Maybe the following is relevant, how should I know what you doing. Functions that Create Subprocesses All three of the subprocess-creating functions have a `&rest' argument, ARGS. The ARGS must all be strings, and they are supplied to PROGRAM as separate command line arguments. Wildcard characters and other shell constructs have no special meanings in these strings, since the strings are passed directly to the specified program.