Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Balker Rasmussen <gnort@daimi.au.dk>
Subject: Re: Getting rid of Subject: prefixes in news postings
Date: Wed, 06 Jan 1999 19:00:39 GMT	[thread overview]
Message-ID: <0fzp7wi5uy.fsf@humulus.daimi.au.dk> (raw)
In-Reply-To: <m3g19oimds.fsf@k0817.kampsax.dtu.dk>


Anders Melchiorsen <postmaster@and.nospam.kampsax.k-net.dk> writes:
> Is there a way to make the Summary buffer chop off uninteresting parts
> of Subject: lines (ie. automatic prefixes identifying mailing lists)?

How about a variation of

	(defun my-fix-subject ()
	  (save-restriction 
	    (message-narrow-to-headers)
	    (goto-char (point-min))
	    (if (re-search-forward "\\(Subject: Re: \\)\\[[^]]+\\] ")
		(replace-match "\\1"))))
	(add-hook 'message-setup-hook 'my-fix-subject)
-- 
Lars Balker Rasmussen                                        "Woo hoo!?"
	
.



  parent reply	other threads:[~1999-01-06 19:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-06 13:03 Anders Melchiorsen
1999-01-06 15:27 ` Jason L Tibbitts III
1999-01-07 12:44   ` Jari Aalto+mail.procmail
1999-01-07 14:07     ` Karl Kleinpaste
1999-01-06 19:00 ` Lars Balker Rasmussen [this message]
1999-01-08  3:35   ` Anders Melchiorsen
1999-01-07 15:03 ` Justin Sheehy
1999-01-08  3:14   ` Anders Melchiorsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0fzp7wi5uy.fsf@humulus.daimi.au.dk \
    --to=gnort@daimi.au.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).