From: Yair Friedman <yfriedma@JohnBryce.Co.Il>
Subject: Re: Printing Article Subject in Banner
Date: 05 Mar 1998 08:37:40 +0200 [thread overview]
Message-ID: <7wyaypd4nf.fsf@lite.johnbryce.co.il> (raw)
In-Reply-To: Jake Colman's message of "04 Mar 1998 11:36:40 -0500"
Jake Colman <colman@ppllc.com> 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
next prev parent reply other threads:[~1998-03-05 6:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-04 16:36 Jake Colman
1998-03-04 18:33 ` Alan Shutko
1998-03-04 19:52 ` Jake Colman
1998-03-05 6:37 ` Yair Friedman [this message]
1998-03-05 14:58 ` Lars Balker Rasmussen
1998-03-05 17:28 ` Kai Grossjohann
1998-03-05 21:23 ` Colin Rafferty
1998-03-07 13:03 ` Lars Magne Ingebrigtsen
1998-03-09 14:49 ` Jake Colman
1998-03-13 21:23 ` Lars Magne Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7wyaypd4nf.fsf@lite.johnbryce.co.il \
--to=yfriedma@johnbryce.co.il \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).