From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48535 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-alter-header-function and mail-header-set-* Date: Thu, 02 Jan 2003 03:19:43 +0100 Organization: Programmerer Ingebrigtsen Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1041473982 28034 80.91.224.249 (2 Jan 2003 02:19:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 2 Jan 2003 02:19:42 +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 18TuxR-0007I1-00 for ; Thu, 02 Jan 2003 03:19:41 +0100 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 18Tuxn-0006ip-00; Wed, 01 Jan 2003 20:20:03 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 01 Jan 2003 20:20:58 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id UAA21643 for ; Wed, 1 Jan 2003 20:20:44 -0600 (CST) Original-Received: (qmail 66091 invoked by alias); 2 Jan 2003 02:19:45 -0000 Original-Received: (qmail 66086 invoked from network); 2 Jan 2003 02:19:45 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 2 Jan 2003 02:19:45 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18TuyX-0005cM-00 for ; Thu, 02 Jan 2003 03:20:49 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 22 Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby.gnus.org 1041474049 19611 80.91.231.2 (2 Jan 2003 02:20:49 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 2 Jan 2003 02:20:49 GMT Mail-Copies-To: never X-Now-Playing: Various's _First Steps_: "H. J. Irmler - Museum" User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.50 (i686-pc-linux-gnu) X-Face: uK~x2HB2G']^+{Lb\D|=$IL:xZSyk]*ujZTdk#+{v%q!KzWtH}%Wo/6zu%@jb5s=T:aV<(< tb:oq949jC#J? writes: > The manual is wrong; the arguments of mail-header-set-* should be > header string, not string header. Uhm, er... I don't quite follow. > When I use my code below it seems it only changes the from field when > building the summary buffer and not when displaying the article > buffer. [...] > (setq gnus-alter-header-function 'arj-gnus-alter-eudora-redirected-from-header) Yes, this function only does header alteration for the summary buffer. These headers are not consulted when generating the article buffer. To do that, you have to use the article treatment hooks. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen