From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48046 Path: main.gmane.org!not-for-mail From: Jan Egil Hagen Newsgroups: gmane.emacs.gnus.general Subject: How to access headers in article? Date: Thu, 05 Dec 2002 19:04:38 +0100 Organization: University of Oslo, Department of Informatics Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039111552 3505 80.91.224.249 (5 Dec 2002 18:05:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 5 Dec 2002 18:05:52 +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 18K0Nh-0000uG-00 for ; Thu, 05 Dec 2002 19:05:50 +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 18K0Mx-000781-00; Thu, 05 Dec 2002 12:05:03 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 05 Dec 2002 12:05:51 -0600 (CST) 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 MAA20082 for ; Thu, 5 Dec 2002 12:05:34 -0600 (CST) Original-Received: (qmail 284 invoked by alias); 5 Dec 2002 18:04:40 -0000 Original-Received: (qmail 279 invoked from network); 5 Dec 2002 18:04:40 -0000 Original-Received: from main.gmane.org (80.91.224.249) by gnus.org with SMTP; 5 Dec 2002 18:04:40 -0000 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18K0MY-0000nz-00 for ; Thu, 05 Dec 2002 19:04:38 +0100 Original-To: ding@gnus.org X-Injected-Via-Gmane: http://gmane.org/ Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18K0MY-0000nq-00 for ; Thu, 05 Dec 2002 19:04:38 +0100 Original-Path: not-for-mail Original-Lines: 9 Original-NNTP-Posting-Host: tva.ifi.uio.no Original-X-Trace: main.gmane.org 1039111478 3089 129.240.65.202 (5 Dec 2002 18:04:38 GMT) Original-X-Complaints-To: usenet@main.gmane.org Original-NNTP-Posting-Date: Thu, 5 Dec 2002 18:04:38 +0000 (UTC) Mail-Copies-To: Never User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (sparc-sun-solaris2.7) Cancel-Lock: sha1:1B//UUgC1LU9NtUxpkF+3OJTJ1E= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48046 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48046 I am writing a hook for gnus-article-mode and am a bit stumped as to what is The Right Way (TM) to access the headers of the current article. I could use regular expressions, but it seems so obvious that there must be a better way. So far I have only found the variable gnus-newsgroup-name. -- World works; done by its invalids