On 05.12.12 11:24, Patrick Shanahan wrote:
> * Erik Christiansen <dva...@internode.on.net> [12-05-12 02:44]:
> >                                     # This DOES WRECK URLs!
> >                                     # This can wreck code patches:
> > #  :0Bbfw                           # Fold long lines (>80 col.) at a space:
> > #  * 
> > ...........................................................................
> > #  | fold -s
> > #
> > #  :0aBfw           # if message was reformatted and it had a "Lines:" 
> > header
> > #  * H ?? ^Lines:
> > #  * 1^1 ^.*$
> > #  * -1^0
> > #  | formail -i "Lines: $="
> > 
> > Perhaps interpose a bit of awk to fold only if it's not a URL? At least
> > that fixes one case. (And I don't receive many patches these days.)
> 
> This is nice but doesn't preserve quote indicators when wrapping  :^(

That may be a third reason why it's commented out in my .procmailrc. :-)

These days I just have wrap set in mutt, which does seem to preserve
quote indicators. Mutt's wrap does though break up a three-line URL
in the display, so that a double-click only grabs a third of the string. To get
around that, I hit 'e' then do the double-click in vim - that grabs it all.

With Firefox set to accept the URL when "pasted" anywhere in its window,
that's fairly convenient.

Erik

-- 
Anyone who believes exponential growth can go on forever in a finite world is
either a madman or an economist.                  - Kenneth Boulding, economist

Reply via email to