Update of /cvsroot/mailman/mailman/Mailman
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16630/Mailman
Modified Files:
Tag: Release_2_1-maint
Defaults.py.in
Log Message:
Introduce old_style in CookHeaders.py and OLD_STYLE_PREFIXING in Defaults.py.
Now the default behavior of prefixing is "Re: [prefix] subject".
Variations like "Re[2]:" and German style "AW:" is now replaced by "Re:".
Index: Defaults.py.in
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Defaults.py.in,v
retrieving revision 2.112.2.24
retrieving revision 2.112.2.25
diff -u -d -r2.112.2.24 -r2.112.2.25
--- Defaults.py.in 30 Dec 2004 20:49:29 -0000 2.112.2.24
+++ Defaults.py.in 22 Jan 2005 06:55:28 -0000 2.112.2.25
@@ -820,6 +820,7 @@
# These format strings will be expanded w.r.t. the dictionary for the
# mailing list instance.
DEFAULT_SUBJECT_PREFIX = "[%(real_name)s] "
+# DEFAULT_SUBJECT_PREFIX = "[%(real_name)s %%d]" # for numbering
DEFAULT_MSG_HEADER = ""
DEFAULT_MSG_FOOTER = """_______________________________________________
%(real_name)s mailing list
@@ -827,6 +828,15 @@
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
"""
+# Where to put subject prefix for 'Re:' messages:
+# old style: Re: [prefix] test
+# new style: [prefix 123] Re: test ... (number is optional)
+# Old style is default for backward compatibility. New style is forced if
+# a list owner set %d (numbering) in prefix. If the site owner had applied
+# new style patch (from SF patch area) before, he/she may want to set this
+# No in mm_cfg.py.
+OLD_STYLE_PREFIXING = Yes
+
# Scrub regular delivery
DEFAULT_SCRUB_NONDIGEST = False
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org