[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ps-right-footer interactive setting

From: Rodolfo Medina
Subject: Re: ps-right-footer interactive setting
Date: Fri, 05 Sep 2008 11:21:04 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.50 (gnu/linux)

Rodolfo Medina <address@hidden> wrote:

>> Now I'm working on the ps-right-footer variable.  I wish to be prompted for
>> a page number so that the variable is set to:
>>  (list <page number>)
>> .  I did:
>> (defun my-ps-right-footer ()
>>   (interactive)
>>   (let ((my-page-number (read-number "page number? ")))
>>     (setq ps-print-footer t)
>>     (setq ps-right-footer (list 'my-page-number))
>>     )
>>   )
>> , but it doesn't work.  Any suggestion?

Barry Margolin <address@hidden> writes:

> It should be (list my-page number).  Quoting prevents the variable from 
> being evaluated.

Unfortunately it doesn't work either:

(defun my-ps-right-footer ()
  (let ((my-page-number (read-number "page number? ")))
    (setq ps-print-footer t)
    (setq ps-right-footer (list my-page-number))

produces a ps print error.  I can't find a solution.  Thanks for furhter

reply via email to

[Prev in Thread] Current Thread [Next in Thread]