Gnus development mailing list
 help / color / mirror / Atom feed
From: Jake Colman <colman@ppllc.com>
Cc: ding@gnus.org
Subject: Re: Printing Article Subject in Banner
Date: 04 Mar 1998 14:52:12 -0500	[thread overview]
Message-ID: <76afb68c9f.fsf@clay.principia.com> (raw)
In-Reply-To: Alan Shutko's message of "04 Mar 1998 12:33:26 -0600"

>>>>> "AS" == Alan Shutko <ats@acm.org> writes:


    AS> After the lambda, add

    AS> 	  (make-local-variable 'ps-left-header) 
    AS>           (make-local-variable 'ps-right-header)

OK.  I tried this, putting make-local-variable anywhere I could think of
'after' the lambda.  All to no avail.  Here's what I tried last:

(add-hook 'gnus-ps-print-hook
  (lambda ()              
    (make-local-variable 'ps-left-header)
    (make-local-variable 'ps-right-header)
    (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) ")")))
  ))

Still, after I print an article, it retains the settings for ps-left-header and
ps-right-header in all my other buffers.

-- 
Jake Colman                     

Principia Partners LLC                  Phone: (201) 946-0300
Harborside Financial Center               Fax: (201) 946-0320
902 Plaza II                           Beeper: (800) 505-2795
Jersey City, NJ 07311                  E-mail: colman@ppllc.com
                                       E-mail: jcolman@jnc.com
                                          web: http://www.ppllc.com


  reply	other threads:[~1998-03-04 19:52 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 [this message]
1998-03-05  6:37 ` Yair Friedman
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=76afb68c9f.fsf@clay.principia.com \
    --to=colman@ppllc.com \
    --cc=ding@gnus.org \
    /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).