johnsu01 (johnsu01) wrote,

  • Music:

Cutting out the Yahoo Groups banner in Gnus

One of the nice things about Gnus is that you can have it automatically remove junk from the messages you read. Such junk includes banner advertisements at the bottom of messages. One obnoxious example is the block that gets tagged on to the bottom of every message that comes from a Yahoo! Groups mailing list. I read a few such mailing lists, including the one for It looks like:

Yahoo! Groups Links                                                                                                               
<*> To visit your group on the web, go to:                                                                                                                                                                                                   
<*> Your email settings:                                                                                                                         
    Individual Email | Traditional                                                                                                               
<*> To change settings online go to:                                                                                                                                                                                                     
    (Yahoo! ID required)                                                                                                                         
<*> To change settings via email:                                                                                                                                                                                                                                                                                                    
<*> To unsubscribe from this group, send an email to:                                                                                                                                                                                           
<*> Your use of Yahoo! Groups is subject to:                                                                                                

Ugh. A lot of times that's longer than the message itself.

So, for the groups that those messages come to, I edited the banner parameter (by typing G c on the group name) to be a regexp:

\(^Yahoo! Groups Links\(.\|                                                                                                                      

And now I don't have to see the extra noise. This could be made more specific, but I think it's pretty safe.

hober's old post got me started.

Tags:, emacs, gnus, regexps, yahoo
  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.