bug-standards
[Top][All Lists]
Advanced

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

Re: [PATCH] standards: rewrite section on quoting


From: Paul Eggert
Subject: Re: [PATCH] standards: rewrite section on quoting
Date: Fri, 23 Dec 2011 01:07:39 -0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0

[Adding bug-gnulib since I'm attaching a gnulib patch.]

On 12/23/11 00:22, Paolo Bonzini wrote:
>>    This permits GNU gettext to replace the string @code{"Processing file
>> ! \"%s\"..."} with a translated version.
> 
> This is ugly...

How about if we change that to:

  This permits GNU gettext to replace @code{Processing file "%s"...}
  with a translated version.

That way we don't have to worry about the extra level of quoting
and escaping.

> do you really dislike apostrophe quotes so much?

I grew up with "I'm hungry" rather than 'I'm hungry', yes.
But I don't dislike apostrophe quotes *that* much --
if I did, I'd suggest that the GNU coding standards
recommend against them.

One other thing.

I estimate that adjusting gnulib to match this
suggestion will require approximately a 500 kB patch:
it's not just the patches you proposed starting in
<http://lists.gnu.org/archive/html/bug-gnulib/2011-12/msg00164.html>,
it's also that the gnulib code itself should follow its own quoting
recommendations.  Attached is an untested first cut at the sort
of additional fixes that would be needed.  Many of the patches
are to files that we're importing from other packages -- I assume
these fixes would be sent upstream.

It's not a small thing to make this sort of change, alas,
and we need to think it through.

Attachment: patch.txt.gz
Description: GNU Zip compressed data


reply via email to

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