[Top][All Lists]

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

Re: [PATCH 10/11] quote consistently and make tests pass with new quotin

From: Akim Demaille
Subject: Re: [PATCH 10/11] quote consistently and make tests pass with new quoting from gnulib
Date: Fri, 27 Jan 2012 11:38:33 +0100

Hi Paul!

Le 26 janv. 2012 à 23:44, Paul Eggert a écrit :

> On 01/26/2012 01:04 PM, Akim Demaille wrote:
>> Is the recommended
>> usage now to _not_ use quotes in the message format but to
>> pass the argument to quotearg?
> The GNU coding standards suggest otherwise, namely, to put
> quotes in the message format and to let the translator decide
> how those quotes are reflected to the user.  We don't have
> to follow that advice, but isn't it easier to follow it?
> That way, we don't have to do anything ourselves, and we can
> rely on the translators to do the appropriate quoting.

I don't have a strong opinion about what's best, but I'd like
to stick to a single style: either never rely on quotearg to
get the quotes, or also rely on it.

Relying on quotearg does help to have nice quotes even in
non-localized system, say straight LC_ALL=C, as was emphasized
by Bruno.  On the other hand, since apparently it cannot be
deactivated simply, and since I will not try to address such
variability on the test suite side, it seems to me that the
simplest path is to never rely on quotearg for the quotes.
Do you agree?

reply via email to

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