From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: image-dired shows images as text Date: Fri, 21 Dec 2007 10:55:52 +0200 Message-ID: References: <14409137.post@talk.nabble.com> <14425095.post@talk.nabble.com> <18283.6557.427691.180556@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1198227444 10525 80.91.229.12 (21 Dec 2007 08:57:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Dec 2007 08:57:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 21 09:57:37 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J5dhF-0000sA-O0 for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Dec 2007 09:57:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J5dgu-00013M-UG for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Dec 2007 03:57:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J5dfc-00011Z-AQ for help-gnu-emacs@gnu.org; Fri, 21 Dec 2007 03:55:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J5dfZ-0000xt-1B for help-gnu-emacs@gnu.org; Fri, 21 Dec 2007 03:55:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J5dfY-0000xT-SJ for help-gnu-emacs@gnu.org; Fri, 21 Dec 2007 03:55:48 -0500 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J5dfY-0007an-GH for help-gnu-emacs@gnu.org; Fri, 21 Dec 2007 03:55:48 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-84-229-233-247.inter.net.il [84.229.233.247]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id IPP33101 (AUTH halo1); Fri, 21 Dec 2007 10:53:15 +0200 (IST) In-reply-to: <18283.6557.427691.180556@kahikatea.snap.net.nz> (message from Nick Roberts on Fri, 21 Dec 2007 14:40:45 +1300) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50268 Archived-At: > From: Nick Roberts > Date: Fri, 21 Dec 2007 14:40:45 +1300 > Cc: help-gnu-emacs@gnu.org > > Instead of: > > (call-process shell-file-name nil nil nil shell-command-switch command) > > why not separate the command and switches and use: > > (call-process command nil nil nil command-switches) These two methods are not exactly equivalent: in the first, `command' can be something understood and interpreted by a shell, including pipes, redirections, etc. In the seconds, it must be a name of an executable program file. But I have no idea whether this difference is of any importance for the case in point.