emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tumme messages in the echo area


From: Mathias Dahl
Subject: Re: tumme messages in the echo area
Date: Thu, 13 Jul 2006 18:16:34 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

Stefan Monnier <address@hidden> writes:

> The call could look like
>
>    (apply 'call-process
>           tumme-cmd-create-temp-image-program
>           nil t nil
>           (mapcar
>            (lambda (s) (format-spec
>                         s
>                         (list
>                          (cons ?x size-x)
>                          (cons ?y size-y)
>                          (cons ?f (tumme-quote-bad-characters file))
>                          (cons ?t (tumme-quote-bad-characters new-file)))))
>            tumme-cmd-create-temp-image-options))
>
> There's no /bin/sh involved

Nice!

> so no interpretation of quotes, so no need for quoting.

Still you left `tumme-quote-bad-characters' in there... :) (sorry,
couldn't resist).

Anyway, I guess the red herring was in the first part of your
suggestion:

   Maybe a better choice would be to turn
   tumme-cmd-create-temp-image-options into a list of strings or
   something like that

It was the `call-process' part that was important, not really changing
anything about that option.

I'll play with your example when I have the time, thanks!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]