Gnus development mailing list
 help / color / mirror / Atom feed
* cc:Mail messed up Re[2]: subjects
@ 1997-03-28 18:28 Joe Hildebrand
  1997-03-28 19:50 ` Karl Kleinpaste
  1997-03-28 20:39 ` Dewey M. Sasser
  0 siblings, 2 replies; 3+ messages in thread
From: Joe Hildebrand @ 1997-03-28 18:28 UTC (permalink / raw)



I have some people with whom I associate that use cc:Mail.  It tends
to munge Subject lines differently than normal.  When you reply to a
reply, it adds Re[2]: to the subject, taking out the Re:.

Can message.el be changed so that whenever it is stripping out Re:'s,
it does this:

[Rr][Ee]\\(\\[[0-9]+\\]\\)?:

so that my replys don't look like "Subject: Re: Re[2]: foo"?

-- 
Joe Hildebrand
Senior Technical Architect
Research and Development
Interlink Group, Inc.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cc:Mail messed up Re[2]: subjects
  1997-03-28 18:28 cc:Mail messed up Re[2]: subjects Joe Hildebrand
@ 1997-03-28 19:50 ` Karl Kleinpaste
  1997-03-28 20:39 ` Dewey M. Sasser
  1 sibling, 0 replies; 3+ messages in thread
From: Karl Kleinpaste @ 1997-03-28 19:50 UTC (permalink / raw)


Joe Hildebrand <hildjj@mindspring.com> writes:
> I have some people with whom I associate that use cc:Mail.  It tends
> to munge Subject lines differently than normal.  When you reply to a
> reply, it adds Re[2]: to the subject, taking out the Re:.
> Can message.el be changed so that whenever it is stripping out Re:'s,

I would say that this falls under the same problem as German versions
of certain Microsoft products using "FW:" instead of "Re:", where the
proper fix is to prevail upon the authors of the broken software to
repair it for their next release, rather than asking the rest of the
universe to accommodate the bugs.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cc:Mail messed up Re[2]: subjects
  1997-03-28 18:28 cc:Mail messed up Re[2]: subjects Joe Hildebrand
  1997-03-28 19:50 ` Karl Kleinpaste
@ 1997-03-28 20:39 ` Dewey M. Sasser
  1 sibling, 0 replies; 3+ messages in thread
From: Dewey M. Sasser @ 1997-03-28 20:39 UTC (permalink / raw)
  Cc: ding

>>>>> "Joe" == Joe Hildebrand <hildjj@mindspring.com> writes:

    Joe> Can message.el be changed so that whenever it is stripping
    Joe> out Re:'s, it does this:

    Joe> [Rr][Ee]\\(\\[[0-9]+\\]\\)?:

    Joe> so that my replys don't look like "Subject: Re: Re[2]: foo"?

See (gnus)Washing Mail.

What I've done is this:

(defun auto-split-correct-re ()
  "Correct re: headers"
  (let ((case-fold-search t))
    (goto-char (point-min))
    (if (re-search-forward
	 "subject:[ \t]*\\(\\(re\\(>\\|:\\)+\\)+\\)[ \t]*" nil 't)
	(progn
	  (goto-char (match-beginning 1))
	  (delete-region (point) (match-end 1))
	  (insert "Re: ")))))

(add-hook 'nnmail-prepare-incoming-header-hook 'auto-split-correct-re)

I haven't run into your particular problem, but you can modify that
regexp to handle it.  If you do so, pleased modify the function name
to avoid conflict with my auto-split package (which I'm releasing in
the near future).


-- 
Dewey M. Sasser 			voice: (617) 494-6000 
dewey@newvision.com                     PGP Key from public servers  
                                        PGP mail preferred.
|-------------------------------------------------------------------------|
| Anything worth doing is worth doing right, unless doing it right makes  |
| it no longer worth doing, in which case it is only worth doing it       |
| "good enough".                                                          |
|-------------------------------------------------------------------------|


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-03-28 20:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-03-28 18:28 cc:Mail messed up Re[2]: subjects Joe Hildebrand
1997-03-28 19:50 ` Karl Kleinpaste
1997-03-28 20:39 ` Dewey M. Sasser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).