Mercurial > p > roundup > code
diff doc/user_guide.txt @ 7234:86862ed039fa
issue2551262 - make mail gateway subject prefix parsing accept spaces
Allow spaces before/after prefix. Also allow spaces between classname
and id number in prefix designator. So "[ issue 23 ] subject" is
parsed like "[issue23] subject".
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 21 Mar 2023 19:46:38 -0400 |
| parents | f72ce883e677 |
| children | 9c067ed4568b |
line wrap: on
line diff
--- a/doc/user_guide.txt Mon Mar 20 20:05:16 2023 -0400 +++ b/doc/user_guide.txt Tue Mar 21 19:46:38 2023 -0400 @@ -454,9 +454,11 @@ registration confirmation. If the subject line contains a prefix in ``[square brackets]`` then -we're looking at case 3 or 4 above. Any "re:" or "fwd:" prefixes are -stripped off the subject line before we start looking for real -information. +we're looking at case 3 or 4 above. Spaces are allowed inside the +brackets and after the class item name. So ``[issue2]`` and +``[ issue 2 ]`` are treted the same where any whitespace is optional. +Any "re:" or "fwd:" prefixes are stripped off the subject line before +we start looking for real information. If an item designator (class name and id number, for example ``issue123``) is found there, a new "msg" item is added to the @@ -492,15 +494,15 @@ - adding yourself to a nosy list:: - Subject: Re: [issue2] we're out of widgets [nosy=+richard] + Subject: Re: [ issue2 ] we're out of widgets [nosy=+richard] - setting the nosy list to just you and cliff:: - Subject: Re: [issue2] we're out of widgets [nosy=richard,cliff] + Subject: Re: [issue 2] we're out of widgets [nosy=richard,cliff] - removing yourself from a nosy list and setting the priority:: - Subject: Re: [issue2] we're out of widgets [nosy=-richard;priority=bug] + Subject: Re: [ issue 2 ] we're out of widgets [nosy=-richard;priority=bug] In all cases, the message relates to issue 2. The ``Re:`` prefix is stripped off.
