Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

cwest (1514)

  (email not shown publicly)
AOL IM: caseyrwest (Add Buddy, Send Message)

Perl geek.

Journal of cwest (1514)

Monday September 09, 2002
01:30 PM

Quoted Text in Email

[ #7628 ]

What do you use to quote text? Have code to show me?

Also, what do you use in your MUA to catch quoted strings? Have a regex or Emacs LISP?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • supercite, of course!

    (setq sc-preferred-attribution-list
      (list "x-attribution" "initials" "sc-lastchoice" "firstname" "lastname"))
    (setq sc-citation-leader "") ;; smaller lead space
  • I let Mutt take care of my quoting, and before I used Mutt, I would let Eudora and/or Pine do the quoting.

    As to recognizing quoted material, I use this:

    set quote_regexp   = "^ *[:>]+ "
    which is tweaked a bit from whatever the stock Mutt config was.


  • Mutt takes care of most of it. And for those nastily formatted emails that have been through other email clients there's always Damian's Text::Autoformat which is invoked from vi with this entry in my .exrc.

    map f !Gperl -MText::Autoformat -eautoformat

    (that's taken straight from the Text::Autoformat docs - I didn't think of it myself)