bug-gnulib
[Top][All Lists]
Advanced

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

Re: [Bug-gnulib] 4-gary-version-etc-full-author-string.patch


From: Jim Meyering
Subject: Re: [Bug-gnulib] 4-gary-version-etc-full-author-string.patch
Date: Wed, 17 Sep 2003 21:02:22 +0200

"Gary V. Vaughan" <address@hidden> wrote:
>> #define AUTHORS N_ ("Joseph Arceneaux, David MacKenzie, and Kaveh Ghazi")
>> ->
>> #define AUTHORS AUTHORS3 ("Joseph Arceneaux", "David MacKenzie", "Kaveh 
>> Ghazi")
>> This is not more work for you than what you proposed. And it keeps
>> the friendly natural language for the user.
>
> Again, this solves my i18n concerns.  However, I have only 1 line of
> code to change whatever happens, so Jim gets the casting vote.
>
>  From an interface point of view, I think that I would rather see a
>  variadic version_etc() (or an argv array of author names for the last
>  argument) than a set of macros.  Eg:
>
>     #define AUTHORS "Joseph Arceneaux", "David MacKenzie", "Kaveh Ghazi"
>
>     ...
>     version_etc (stdout, "foo", 0, "0.0.1a", AUTHORS)
>
> The function could then collect and count the AUTHORS and select an
> appropriate msgid at runtime, or botch together a good approximation
> if some package with 30 authors uses it...

I prefer this to having a different macro name for each different
number of authors.  And as you say, there'd be no arbitrary limit.




reply via email to

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