From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [michael.cadilhac@lrde.org: PC-do-completion with directories adding stars.] Date: Tue, 07 Mar 2006 06:49:14 +0200 Message-ID: References: <874q2d56uw.fsf@mahaena.lrde> <87d5h0pqfo.fsf-monnier+emacs@gnu.org> <200603052105.k25L53514913@raven.dms.auburn.edu> <873bhwmerd.fsf-monnier+emacs@gnu.org> <200603061409.k26E9iE22611@raven.dms.auburn.edu> <87u0abqqcu.fsf@mahaena.lrde> <87pskzqoco.fsf@mahaena.lrde> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1141711972 5529 80.91.229.2 (7 Mar 2006 06:12:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Mar 2006 06:12:52 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 07 07:12:52 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FGVR9-0001JU-F7 for ged-emacs-devel@m.gmane.org; Tue, 07 Mar 2006 07:12:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FGVR8-0006EE-Oq for ged-emacs-devel@m.gmane.org; Tue, 07 Mar 2006 01:12:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FGVQZ-0005nd-Dn for emacs-devel@gnu.org; Tue, 07 Mar 2006 01:12:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FGVQX-0005lm-0P for emacs-devel@gnu.org; Tue, 07 Mar 2006 01:12:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FGVIK-0001tV-BV for emacs-devel@gnu.org; Tue, 07 Mar 2006 01:03:40 -0500 Original-Received: from [192.114.186.17] (helo=gandalf.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FGUBO-0005jS-NY for emacs-devel@gnu.org; Mon, 06 Mar 2006 23:52:26 -0500 Original-Received: from nitzan.inter.net.il (nitzan.inter.net.il [192.114.186.20]) by gandalf.inter.net.il (MOS 3.7.1-GA) with ESMTP id IBO55533; Tue, 7 Mar 2006 06:49:12 +0200 (IST) Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-17-189.inter.net.il [80.230.17.189]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id CVO20706 (AUTH halo1); Tue, 7 Mar 2006 06:49:11 +0200 (IST) Original-To: Michael Cadilhac In-reply-to: <87pskzqoco.fsf@mahaena.lrde> (message from Michael Cadilhac on Mon, 06 Mar 2006 22:01:43 +0100) 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: , 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:51313 Archived-At: > From: Michael Cadilhac > Cc: Michael Cadilhac , Luc Teirlinck , eliz@gnu.org, rms@gnu.org, emacs-devel@gnu.org > Date: Mon, 06 Mar 2006 22:01:43 +0100 > > > Problem is that this will fail depending on the user's shell (zsh vs tcsh > > vs bash vs rc vs ...). > > Well, can't we just do something like > > (let ((shell-file-name "sh")) > (shell-command ...)) > > Or directly use (call-process "sh" ...) to make sure we have > a Bourne compatible shell ? > > Maybe there's an issue with Windows, I don't know. Yes, there is. You cannot assume there's a port of "sh" on Windows. So any solution that needs "sh" is not a good idea.