From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/14427 Path: main.gmane.org!not-for-mail From: Yair Friedman Newsgroups: gmane.emacs.gnus.general Subject: Re: Printing Article Subject in Banner Date: 05 Mar 1998 08:37:40 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <7wyaypd4nf.fsf@lite.johnbryce.co.il> References: <76btvml8fb.fsf@clay.principia.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035153621 14902 80.91.224.250 (20 Oct 2002 22:40:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:40:21 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id WAA13308 for ; Wed, 4 Mar 1998 22:51:08 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id AAA02790 for ; Thu, 5 Mar 1998 00:46:33 -0600 (CST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id BAN10525; Thu, 5 Mar 1998 01:21:42 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 05 Mar 1998 00:44:17 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id AAA10671 for ; Thu, 5 Mar 1998 00:44:07 -0600 (CST) Original-Received: (qmail 12423 invoked by uid 504); 5 Mar 1998 06:43:24 -0000 Original-Received: (qmail 12420 invoked from network); 5 Mar 1998 06:43:23 -0000 Original-Received: from dns.johnbryce.co.il (HELO dmz.johnbryce.co.il) (194.90.135.162) by claymore.vcinet.com with SMTP; 5 Mar 1998 06:43:22 -0000 Original-Received: from lite.johnbryce.co.il (jb-firewall.johnbryce.co.il [199.203.99.121]) by dmz.johnbryce.co.il (8.8.5/8.8.5) with SMTP id IAA16759 for ; Thu, 5 Mar 1998 08:55:13 +0200 Original-Received: by lite.johnbryce.co.il (AIX 3.2/UCB 5.64/4.03) id AA36925; Thu, 5 Mar 1998 08:37:41 +0200 Original-To: ding@gnus.org In-Reply-To: Jake Colman's message of "04 Mar 1998 11:36:40 -0500" Original-Lines: 24 X-Mailer: Gnus v5.4.64/Emacs 19.33 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:14427 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:14427 Jake Colman writes: > 1) Problem: after doing an AP, subsequent ps-print-buffer commands on other > buffers do not display the buffer name in the banner. Instead, it continues > to display the most recently printed article's subject. Try this (untested). (add-hook 'gnus-ps-print-hook (lambda () (when (string-match (buffer-name) "*Article*") (setq ps-left-header (list (concat "(" (mail-header-subject gnus-current-headers) ")") (concat "(" (mail-header-from gnus-current-headers) ")"))) (setq ps-right-header (list "/pagenumberstring load" (concat "(" (mail-header-date gnus-current-headers) ")")))))) -- Yair Friedman. John Bryce (Systems) 1984 Ltd. 7 Hamarpeh St. Har-Hotzvom Science Based Industry Campus Jerusalem 97 774, Israel