Stefan Monnier <[EMAIL PROTECTED]> 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!



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to