From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/36038 Path: main.gmane.org!not-for-mail From: Matthias Wiehl Newsgroups: gmane.emacs.gnus.general Subject: Integrating message-utils.el into Gnus? Date: 27 Apr 2001 22:48:04 +0200 Message-ID: <874rval15a.fsf@fulmine.dhs.org> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035171692 6447 80.91.224.250 (21 Oct 2002 03:41:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:41:32 +0000 (UTC) Return-Path: Original-Received: (qmail 17419 invoked by alias); 27 Apr 2001 20:50:07 -0000 Original-Received: (qmail 17414 invoked from network); 27 Apr 2001 20:50:06 -0000 Original-Received: from pop.gmx.net (HELO mail.gmx.net) (194.221.183.20) by gnus.org with SMTP; 27 Apr 2001 20:50:06 -0000 Original-Received: (qmail 26892 invoked by uid 0); 27 Apr 2001 20:49:34 -0000 Original-Received: from n-dialin-4844.addcom.de (HELO fulmine.dhs.org) (62.246.23.44) by mail.gmx.net (mp002-rz3) with SMTP; 27 Apr 2001 20:49:34 -0000 Original-Received: from mwiehl by fulmine.dhs.org with local (Exim 3.22 #1 (Debian)) id 14tF9z-0005FS-00 for ; Fri, 27 Apr 2001 22:48:15 +0200 X-Face: ">3ZRV6n~`b|$;2+?S$~%EEYNab{IuvH!-G:P3]#;13IrT/,i-pnu;Ok8.~-!`LnnQz;t<( "8v_XWweB%5p'yG<2`mmU.~#Z?yJR|=3g1_w X-Now-Playing: Therapy?'s _Troublegum_: "Nowhere" User-Agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.4 (Copyleft) Original-Lines: 29 Xref: main.gmane.org gmane.emacs.gnus.general:36038 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:36038 At , Holger Schauer [1] provides a file called message-utils.el [2]. It contains a few complementary functions for use with Gnus' message-mode. Personally, I find three of those functions extraordinarily useful: o `message-change-subject' asks for a new subject, and modifies the message's Subject header in a way that is RFC 1036bis compliant: `new subject (was: old subject)'. o `message-strip-subject-was' can be hooked into `message-header-setup-hook'. It strips `(was: old subject)' from the Subject header (which is what user agents are supposed to do) as far as I know) when entering message-mode. Both slrn and tin do this out-of-the-box. o `message-xpost-fup2' asks for a newsgroup name (providing tab-completion via gnus-newsrc-alist). This name is then appended to the Newsgroups header, and the Followup-To header is modified to contain only the given newsgroup name as its value. Furthermore, a customizable note is inserted in the message body, saying that a Followup-To header has been set. Is there any chance of integrating these functions into the standard Gnus distribution? ------- [1] [2]