<<< Date Index >>>     <<< Thread Index >>>

Re: list tags



Ronald --

...and then Ronald J Roy said...
% 
% On Sat, Oct 11, 2003 at 12:58:30AM -0400, Michael W. Oliver wrote:
% > On Fri, Oct 10, 2003 at 08:06:59PM -0700, Ronald J Roy wrote:
% > > hi, is there anyway to remove list tags with folder hooks? I would like
% > > to read the subject without maximizing the terminal:
% > > 
% > > [Transit Bus Driver's Club] GRT Orion VII
% > > to this:
% > > GRT Orion VII

1) I agree that munging the Subject: line is a Bad Thing

2) I'm not a real fan of automated mail manging on receipt, though.

3) For lists that do this to my I just change my index_format string:

  bash-2.05a$ grep index_f .mutt/muttrc
  folder-hook .         'set index_format="%4C %Z%?y?@& ? %{%b %d} %-15.15L 
%?M?>#%03M<&(%4l)? %s"'     # used to be hdr_format
  folder-hook (linux|suse|stories|magick|webcalendar)   'set index_format="%4C 
%Z%?y?@& ? %{%b %d} %-3.3L %?M?>#%03M<&(%3c)? %s"'       # ugh; long subject 
lines
  folder-hook (taxinfo|freenet) 'set index_format="%?y?[ %-11.11y ]&%4C %Z %{%b 
%d}? %-3.3L %?M?>#%03M<&(%3c)? %s"'     # let's see the tips
  folder-hook (job)     'set index_format="%?y?[ %-11.11y ]&%4C %Z %{%b %d}? 
%-8.8L %?M?>#%03M<&(%4l)? %s"'     # let's see the tips
  folder-hook (imap://skip|skip/Maildir)        'set index_format="%4C %Z%?y?@& 
? %{%b %d} %-15.15L %?M?>#%03M<&(%3c)? %s"'     # for checking his mail while 
he is gone (maildir does not show how many lines)


...
% I use procmail for sorting incoming mail.

4) You could pump qualifying messages through sed to remove anything
between [] or, more safely, only certain List IDs that you specify
(or, actually, probably do it all within procmail with some magic I
still don't yet understand but have seen here and there.]


HTH & HAND

:-D
-- 
David T-G                      * There is too much animal courage in 
(play) davidtg@xxxxxxxxxxxxxxx * society and not sufficient moral courage.
(work) davidtgwork@xxxxxxxxxxxxxxx  -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgpKloWOhkW1f.pgp
Description: PGP signature