on Fri, Dec 07, 2001 at 01:00:24PM -0600, Mike Brownlow (mike@wsmake.org) wrote:
> I'm feeling random, so I thought I'd share this fun thing I added for
> messages that are outlook user replies.
Hmmm....
I'm playing with it. Pretty cool start. Not sure it's quite prime-time
yet....
> It works semi-reliably on them after hitting reply in mutt.
...not with default reply-to settings, as this tool wants headers, and
they're not there by default. So you've got to do a reply, save the
message, then 'E' to edit with headers.
> There's plenty of room for improvement, but it works pretty nicely as
> a way to free my frustration after seeing outlook replies.
Agreed there.
> Even when it doesn't work. :)
...unfortunately, somewhat often.
> Note, it currently only works on one outlook reply at a time.
I'm noticing this. One list I monitor has a _bunch_ of LookOut Lusers,
with a *really* bad habit of quoting several days worth of archives in
their posts (well, 3-5 generations of reply, in full, at any rate).
Any chance this could be generalized to loop through multiple replies
and modify accordingly? I'm a pretty minimally skilled Perl hacker
myself....
> So use it regularly. ;) It changes the "-- Original Message --"
> nonsense and some other things.
Delimiting what it changes would be a good step. Seems to:
1. Fix attributions.
-----Original Message-----
From: <sender>
Sent: <date>
To: <recipient>
Subject: <subject>
...is changed to:
On <date>, <sender> wrote, as it should be.
I'm noting that a "From:" line that wraps isn't properly handled,
e.g.:
> -----Original Message-----
> From: owner-pho@onehouse.com [mailto:owner-pho@onehouse.com] On Behalf
> Of Brad Hill
> Sent: Monday, November 19, 2001 1:56 PM
> To: Jeff Coleman; pho@onehouse.com
> Subject: Re: pho: Wired: Will draw for food
2. Reply is moved *below* quoted material.
3. Quoting is fixed -- the broken prefix format of MS Outlook (the
security hole that happens to be an email client) is
rectified...for the first generation of quoting.
> Be sure to customize it to your liking.
>
> Note...the headers for the message being edited are preferred to be in
> vim for this to work.
This should be made optional.
> Add in vimrc:
> map <f1> vG$!ol2sanity.pl<cr>
>
> Choose a different key if you want. Note that it assumes you are at the
> top of the file.
<f1> is already mapped to "help" in vim. I'd suggest a different key.
"1,$ ! ol2sanity.pl<cr>" would be a better mapping to cover all
contingencies. This will run over the full buffer regardless of pointer
position.
Peace.
--
Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/
What part of "Gestalt" don't you understand? Home of the brave
http://gestalt-system.sourceforge.net/ Land of the free
Free Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org
Geek for Hire http://kmself.home.netcom.com/resume.html
Attachment:
pgpxjgSi3n6PD.pgp
Description: PGP signature