[PATCH] hgrc.5: order of email charsets is not a top level literal block

Martin Geisler mg at lazybytes.net
Sat Nov 7 09:09:43 CST 2009


Christian Ebert <blacktrash at gmx.net> writes:

> Hi Martin,
>
> * Martin Geisler on Saturday, November 07, 2009 at 14:17:15 +0100
>> Christian Ebert <blacktrash at gmx.net> writes:
>>> # HG changeset patch
>>> # User Christian Ebert <blacktrash at gmx.net>
>>> # Date 1257598487 -3600
>>> # Node ID eebdc092e6550377b212923cfb14e79909465b81
>>> # Parent  245689e7f86959cfcd6e9bbdc5db27b5a92a52bc
>>> hgrc.5: order of email charsets is not a top level literal block
>> 
>> Thanks, it's in crew as bae76e97f91a!
>
> À propos: it could be argued that this should not be a literal
> block at all but just an enumerated list.

Yeah, I fixed that next :-)

> In the html version it looks like code which is slightly misleading.
> However, if I remove the double colon before, there's an empty line
> after each item in the man format:
>
> #v+
>   Order of outgoing email character sets:
>
>      1. us-ascii             always first, regardless of settings
>
>      2. email.charsets       in order given by user
>
>      3. ui.fallbackencoding  if not in email.charsets
>
>      4. $HGENCODING          if not in email.charsets
>
>      5. utf-8                always last, regardless of settings
> #v-
>
> which looks a bit bombastic. What do you think? Perhaps there is a
> docutils trick to reconcile these alternatives?

I'm actually not bothered by the empty lines between items -- that's how
I would expect a list to look like in ASCII text anyway. But I removed
the extra whitespace in each line.

Everybody: feel free to submit lots of patches for the man pages! They
are free for all, even now that we have a code freeze.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20091107/e5518628/attachment.pgp 


More information about the Mercurial-devel mailing list