all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: MON KEY <monkey@sandpframing.com>
To: emacs-devel@gnu.org
Subject: Re: w32 image-dired and Image Magick's `convert' and `display' with image-dired-thumbnail-display-external, image-dired-dired-display-external
Date: Wed, 13 May 2009 16:29:22 -0400	[thread overview]
Message-ID: <d2afcfda0905131329x2778dec5u91c1d7682f9d8b45@mail.gmail.com> (raw)
In-Reply-To: <d2afcfda0905131304s193687f4w2466152719fe330@mail.gmail.com>

Whoops, left out the let form in previous posting.

;;; Revised
;;; ==============================
*** image-dired.el*
--- image-dired.el-
***************
*** 1,12 ****
  (defcustom image-dired-external-viewer
    ;; TODO: Use mailcap, dired-guess-shell-alist-default,
    ;; dired-view-command-alist.
!   (cond ((and (eq system-type 'windows-nt)
! 	      (executable-find "imdisplay"))
! 	 (let ((rp (executable-find "imdisplay")))
! 	   (when (string-match "[pP]rogram [fF]iles" rp))
! 	   (replace-regexp-in-string "[pP]rogram [fF]iles" "\"Program Files\"" rp)))
!  	((executable-find "display"))
  	((executable-find "xli"))
  	((executable-find "qiv") "qiv -t"))
    "Name of external viewer.")
--- 1,7 ----
  (defcustom image-dired-external-viewer
    ;; TODO: Use mailcap, dired-guess-shell-alist-default,
    ;; dired-view-command-alist.
!   (cond ((executable-find "display"))
  	((executable-find "xli"))
  	((executable-find "qiv") "qiv -t"))
    "Name of external viewer.")
;;; ==============================

s_P




      reply	other threads:[~2009-05-13 20:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-13 20:04 w32 image-dired and Image Magick's `convert' and `display' with image-dired-thumbnail-display-external, image-dired-dired-display-external MON KEY
2009-05-13 20:29 ` MON KEY [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d2afcfda0905131329x2778dec5u91c1d7682f9d8b45@mail.gmail.com \
    --to=monkey@sandpframing.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.