From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25118 Path: main.gmane.org!not-for-mail From: Jens Kloecker Newsgroups: gmane.emacs.gnus.general Subject: Re: Replacing "AW:" with "Re:" Date: Thu, 16 Sep 1999 12:39:06 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1035162563 12394 80.91.224.250 (21 Oct 2002 01:09:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:09:23 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id GAA22882 for ; Thu, 16 Sep 1999 06:45:30 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id FAB25429; Thu, 16 Sep 1999 05:43:24 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 16 Sep 1999 05:43:37 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id FAA29363 for ; Thu, 16 Sep 1999 05:43:22 -0500 (CDT) Original-Received: from alpha.ntp.springer.de (alpha.ntp.springer.de [192.129.24.9]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id GAA22863 for ; Thu, 16 Sep 1999 06:42:02 -0400 (EDT) Original-Received: from ETES1.pip.springer.de ("port 2945"@[172.20.10.45]) by ALPHA.NTP.SPRINGER.DE (PMDF V5.2-32 #35169) with ESMTP id <01JG1ECSY8US000EOV@ALPHA.NTP.SPRINGER.DE> for ding@gnus.org; Thu, 16 Sep 1999 12:42:47 CE Original-Received: from ET010.pip.springer.de (root@et010.pip.springer.de [172.20.32.57]) by ETES1.pip.springer.de with ESMTP (8.7.6/8.7.3) id MAA22043; Thu, 16 Sep 1999 12:43:40 +0200 (MEST) Original-Received: (from kloecker@localhost) by ET010.pip.springer.de (8.9.3/8.9.3) id MAA07027; Thu, 16 Sep 1999 12:39:06 +0200 In-reply-to: Jochen Lillich's message of "Thu, 16 Sep 1999 11:36:02 +0200" Original-To: Jochen Lillich User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) XEmacs/21.1 (Big Bend) X-Operating-System: Linux 2.2.7 X-Telephone: +49 62 21 48 79 04 X-Attribution: jk Original-Lines: 32 X-FAX: +49 62 21 48 73 04 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25118 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25118 >>>>> "jl" == Jochen Lillich writes: jl> Hi! jl> The Gnus manual says in "Washing Mail": jl> Case in point: The German version of Microsoft jl> Exchange adds `AW: ' to the subjects of replies jl> instead of `Re: '. I could pretend to be shocked and jl> dismayed by this, but I haven't got the energy. It is jl> to laugh. jl> But it doesn't say how to actually do something about jl> that. Now, how do I replace this annoying "AW:" by "Re:"? I use (defun jk-change-outlook-headers () "Change AW: to Re: in mails produced by the German version of Microsoft Exchange." (goto-char (point-min)) (if (re-search-forward "^X-Mailer: Internet Mail Service" nil t) (progn (goto-char (point-min)) (if (re-search-forward "^\\(Subject: \\)AW:" nil t) (replace-match "\\1Re:" t))))) (add-hook 'nnmail-prepare-incoming-header-hook 'jk-change-outlook-headers) -- Jens Kloecker Electronic Technologies, Springer-Verlag email: kloecker@springer.de