From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.help Subject: Re: image-dired shows images as text Date: Sun, 30 Dec 2007 12:35:26 +1300 Message-ID: <18294.55742.809686.316196@kahikatea.snap.net.nz> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1198973326 25137 80.91.229.12 (30 Dec 2007 00:08:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Dec 2007 00:08:46 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: noreply@accessdenied.xxx Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 30 01:08:59 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 1J8ljb-0007kb-15 for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Dec 2007 01:08:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8ljF-0005ON-MO for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Dec 2007 19:08:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J8liu-0005Ig-Iz for help-gnu-emacs@gnu.org; Sat, 29 Dec 2007 19:08:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J8lis-0005F6-RK for help-gnu-emacs@gnu.org; Sat, 29 Dec 2007 19:08:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J8lis-0005Ed-IM for help-gnu-emacs@gnu.org; Sat, 29 Dec 2007 19:08:10 -0500 Original-Received: from viper.snap.net.nz ([202.37.101.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J8lir-00068T-QZ for help-gnu-emacs@gnu.org; Sat, 29 Dec 2007 19:08:10 -0500 Original-Received: from kahikatea.snap.net.nz (69.61.255.123.dynamic.snap.net.nz [123.255.61.69]) by viper.snap.net.nz (Postfix) with ESMTP id AE69B3D989A; Sun, 30 Dec 2007 13:08:07 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 446D18FC6D; Sun, 30 Dec 2007 12:35:28 +1300 (NZDT) Original-Newsgroups: gnu.emacs.help In-Reply-To: X-Mailer: VM 7.19 under Emacs 23.0.50.19 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:50387 Archived-At: > I will try to apply the patch, but in the meantime I may have discovered > some pertinent information. On Windows XP there is a DOS-style command > called "convert" which can be accessed inside a command-prompt window. I > wonder if there could be a conflict or confusion with this module? No nned to apply the patch as you have found the problem. It looks like c:/WINDOWS/SYSTEM32/convert.exe is an NTFS partitioning program on XP only. > c:/WINDOWS/SYSTEM32: > total used in directory 495476 available 13243296 > -rw-rw-rw- 1 XXXXXXX root 333 2001-09-12 $ncsp$.inf > -rw-rw-rw- 1 XXXXXXX root 860 2002-01-27 $winnt$.inf > drwxrwxrwx 1 XXXXXXX root 0 12-28 07:32 . > drwxrwxrwx 1 XXXXXXX root 0 12-28 14:25 .. > .... > -rwxrwxrwx 1 XXXXXXX root 13824 2001-08-18 convert.exe > .... > The way I found this out was that I tried the ImageMagick test in a command > window : "convert logo: logo.gif" and got an error instead. When I navigated > to the ImageMagick install directory using a DOS-style "cd" command it > worked. If you append the ImageMagick directory to the end of the "PATH" > environment variable the MS Windows "convert.exe" will be found first. Unfortunately Emacs won't know where your convert program in ImageMagick resides but you can get round it without changing PATH by customising thumbs-conversion-program (and image-dired-cmd-create-thumbnail-program) to be the absolute filename. -- Nick http://www.inet.net.nz/~nickrob