Eric Blake wrote:
> Would it perhaps be worth rendering this as:
> 
> _("`Servname' not supported for `ai_socktype'")
> 
> further emphasizing the literalness of the parameter names?

IMO, this goes against the sense of quotes: Quoting usually highlights
a literal value, not a variable name. If a function
    chdir (directory)
is called as
    chdir ("%HOME%")
then the error message should be

       invalid directory: '%HOME%'
not    invalid directory: %HOME%
nor    invalid 'directory': '%HOME%'

The literal part should be quoted, so that its extent becomes clear despite
special characters or possibly spaces. The variable - here 'directory' - should
not be quoted because the literal string "directory" does not appear in the
compiled program.

For this same reason, makeinfo renders @code{x} as `x' but not @var{x}.

Bruno



Reply via email to