[Top][All Lists]

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

Re: tumme messages in the echo area

From: Stefan Monnier
Subject: Re: tumme messages in the echo area
Date: Thu, 13 Jul 2006 12:03:24 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> So, you suggest making the option a list of strings instead of one
> string?  I think you will have to give me an example, because I cannot
> see how that would make any difference to using one string, more than
> to complicate things for the user (instead of having to configure one
> option string, there would be several).

The call could look like

   (apply 'call-process
          nil t nil
           (lambda (s) (format-spec
                         (cons ?x size-x)
                         (cons ?y size-y)
                         (cons ?f (tumme-quote-bad-characters file))
                         (cons ?t (tumme-quote-bad-characters new-file)))))

There's no /bin/sh involved, so no interpretation of quotes, so no need
for quoting.


reply via email to

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