nmh-workers
[Top] [All Lists]

[Nmh-workers] [PATCH] Trim trailing whitespace from Subject field

2008-07-26 15:43:42
Here's another minor fix from my repl*comps files; References was
already fixed at some point.

Index: ChangeLog
===================================================================
RCS file: /sources/nmh/nmh/ChangeLog,v
retrieving revision 1.278
diff -a -u -r1.278 ChangeLog
--- ChangeLog   25 Jul 2008 01:07:39 -0000      1.278
+++ ChangeLog   26 Jul 2008 22:41:33 -0000
@@ -1,3 +1,8 @@
+2008-07-26  Eric Gillespie  <epg(_at_)pretzelnet(_dot_)org>
+
+       * etc/replcomps, etc/replgroupcomps: Trim trailing whitespace from
+       Subject field.
+
 2008-07-24  Eric Gillespie  <epg(_at_)pretzelnet(_dot_)org>
 
        * test/setup-test: Run 'make clean' before building
Index: etc/replcomps
===================================================================
RCS file: /sources/nmh/nmh/etc/replcomps,v
retrieving revision 1.5
diff -a -u -r1.5 replcomps
--- etc/replcomps       2 Jul 2003 02:01:50 -0000       1.5
+++ etc/replcomps       26 Jul 2008 22:41:33 -0000
@@ -20,7 +20,7 @@
 %(formataddr(me))\
 %(void(width))%(putaddr cc: )
 Fcc: %<{fcc}%{fcc}%|+outbox%>
-Subject: %<{subject}Re: %{subject}%>
+Subject: %<{subject}Re: %(void{subject})%(trim)%(putstr)%>
 %;
 %; Make References: and In-reply-to: fields for threading.
 %; Use (void), (trim) and (putstr) to eat trailing whitespace.
Index: etc/replgroupcomps
===================================================================
RCS file: /sources/nmh/nmh/etc/replgroupcomps,v
retrieving revision 1.4
diff -a -u -r1.4 replgroupcomps
--- etc/replgroupcomps  2 Jul 2003 02:01:50 -0000       1.4
+++ etc/replgroupcomps  26 Jul 2008 22:41:33 -0000
@@ -29,7 +29,7 @@
 %<(nonnull)%(void(width))%(putaddr cc: )\n%>%>\
 %;
 Fcc: %<{fcc}%{fcc}%|+outbox%>
-Subject: %<{subject}Re: %{subject}%>
+Subject: %<{subject}Re: %(void{subject})%(trim)%(putstr)%>
 %;
 %; Make References: and In-reply-to: fields for threading.
 %; Use (void), (trim) and (putstr) to eat trailing whitespace.


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>
  • [Nmh-workers] [PATCH] Trim trailing whitespace from Subject field, Eric Gillespie <=