[PATCH] hgrc.5: explain order of mail.charsets

Christian Ebert blacktrash at gmx.net
Wed Oct 22 05:03:46 CDT 2008


Hi,

This is just a proposal. Any (native) speaker with a better
command of the language should feel free to make this more
concise.

Side note: Even though my knowledge of Japanese is nil I see
whole sections missing in hgrc.5.ja.txt.

c


# HG changeset patch
# User Christian Ebert <blacktrash at gmx.net>
# Date 1224669440 -7200
# Node ID ee2b517d3639c0eba87b98aae7761b9587db4f72
# Parent  f60730693efc7ab107b666394015818b8f4d3022
hgrc.5: explain order of mail.charsets

TODO: add mail.charsets section to hgrc.5.ja.txt

diff --git a/doc/hgrc.5.txt b/doc/hgrc.5.txt
--- a/doc/hgrc.5.txt
+++ b/doc/hgrc.5.txt
@@ -220,8 +220,16 @@
     containing patches of outgoing messages will be encoded in
     the first charset to which conversion from local encoding
     (ui.encoding, ui.fallbackencoding) succeeds. If correct
-    conversion, including to ui.encoding, fails, the text in
-    question is sent as is in fake ascii. Defaults to empty list.
+    conversion fails, the text in question is sent as is.
+    Defaults to empty (explicit) list.
+
+  Order of outgoing email charsets:
+ 
+    us-ascii             always first, regardless of settings
+    email.charsets       in order given by user
+    ui.fallbackencoding  if not in email.charsets
+    ui.encoding          if not in email.charsets
+    utf-8                always last, regardless of settings
 
   Email example:
 



More information about the Mercurial-devel mailing list