From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46529 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Incorporate message-utils.el? Date: Fri, 13 Sep 2002 17:32:40 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1031931279 21847 127.0.0.1 (13 Sep 2002 15:34:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Sep 2002 15:34:39 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17psSr-0005gD-00 for ; Fri, 13 Sep 2002 17:34:38 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17psRx-0000e2-00; Fri, 13 Sep 2002 10:33:41 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 13 Sep 2002 10:34:19 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id KAA17266 for ; Fri, 13 Sep 2002 10:34:00 -0500 (CDT) Original-Received: (qmail 26727 invoked by alias); 13 Sep 2002 15:33:13 -0000 Original-Received: (qmail 26722 invoked from network); 13 Sep 2002 15:33:13 -0000 Original-Received: from waldorf.cs.uni-dortmund.de (129.217.4.42) by gnus.org with SMTP; 13 Sep 2002 15:33:13 -0000 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g8DFWj802754 for ; Fri, 13 Sep 2002 17:32:46 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id RAA10188; Fri, 13 Sep 2002 17:32:40 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 7F2A83AFEA; Fri, 13 Sep 2002 17:32:40 +0200 (CEST) Original-To: ding@gnus.org Mail-Followup-To: ding@gnus.org In-Reply-To: (Reiner Steib's message of "Fri, 13 Sep 2002 17:14:06 +0200") Original-Lines: 42 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46529 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46529 Reiner Steib <4uce.02.r.steib@gmx.net> writes: > On Fri, Sep 13 2002, Kai Gro=DFjohann wrote: > >> and then make hooks that frob the subject correspondingly. > > Okay, I think I have to do something similar to this line: > > (setq subject (concat "Re: " (message-strip-subject-re subject))) One suggestion: invoke message-make-reply-subject instead, and do something like (defcustom message-make-reply-subject-functions '(message-strip-subject-re message-util-strip-was) "Some useful docstring" ...other.custom.stuff...) (defun message-make-reply-subject (subject) (let ((funcs message-make-reply-subject-functions)) (while funcs (setq subject (funcall (pop funcs) subject))) subject)) >> What do you think? > > I'll try to do it.=20 > > Concerning item (d) of my previous message (default behavior strip or > not strip the was:...-part) there are different opinions. So I think > we need a user-variable for it at least. Whether the default of this > variable should be 'ask or nil (never do a change) can be decided by > the person committing the patch if we cannot find a consensus on > this. ;-) How about message-make-reply-subject-functions? With a suitably clever :type declaration, users could easily switch on/off a list of known functions and also add their own. kai --=20 ~/.signature is: umop 3p!sdn (Frank Nobis)