From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38421 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.emacs.gnus.general Subject: Re: message-subject-re Date: Wed, 29 Aug 2001 14:48:25 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035174286 22299 80.91.224.250 (21 Oct 2002 04:24:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:24:46 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 7929 invoked from network); 29 Aug 2001 18:48:26 -0000 Original-Received: from multivac.student.cwru.edu (HELO multivac.cwru.edu) (261@129.22.96.25) by gnus.org with SMTP; 29 Aug 2001 18:48:26 -0000 Original-Received: (qmail 15928 invoked by uid 500); 29 Aug 2001 18:48:47 -0000 Original-To: ding@gnus.org Mail-Copies-To: never In-Reply-To: (Michael.Cook@cisco.com's message of "Wed, 29 Aug 2001 14:34:32 -0400") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 Original-Lines: 33 Xref: main.gmane.org gmane.emacs.gnus.general:38421 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38421 Michael.Cook@cisco.com wrote: > prj@po.cwru.edu (Paul Jarc) writes: >> Michael.Cook@cisco.com wrote: >> > i wanted to inhibit gnus from inserting "Re:" at the beginning of >>> subject lines. but it seems that that behavior is hard-coded into >>> message.el. here's a patch to unharden that code. >> >> I'd like to see something more general. In particular, I'd like >> "(was:.*" to be removed from the Subject: in responses. Maybe a hook >> is in order? > > i think you might have misunderstood. message-subject-re is the > string that gnus inserts into the subject line when you start > composing a reply (or follow-up). I understand. I'd like to have a more general facility for modifying the subject when composing a response. This could incorporate adding "Re: " and removing a trailing "(was:.*". Maybe also remove "Re\[[0-9]+\]:" or something. I see we already have message-header-setup-hook; would this work? But we don't yet have functions to add to it to clean up the subject. Or do we? > the functionality you describe sounds like > `message-subject-re-regexp'. I'm not sure what that does - is it used to decide when to add "Re:"? Or to group threads by subject? Anyway, I don't think it's what I'm looking for. paul