From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rodolfo Medina Newsgroups: gmane.emacs.help Subject: ps-right-footer interactive setting (was: ps-print variables interactive setting) Date: Thu, 04 Sep 2008 22:47:38 +0100 Organization: SunSITE.dk - Supporting Open source Message-ID: <87aben37np.fsf@gmail.com> References: <87ej42m64o.fsf@gmail.com> <87ej412cpw.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220564450 29447 80.91.229.12 (4 Sep 2008 21:40:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2008 21:40:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 04 23:41:45 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KbMaH-0001BE-9J for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 23:41:45 +0200 Original-Received: from localhost ([127.0.0.1]:40128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbMZH-0000Qh-TR for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Sep 2008 17:40:43 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.erje.net!newsfeed.straub-nv.de!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!news.banetele.no!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:opHL25x8wKV0ZUdUIhiWLS3KDno= Original-Lines: 26 Original-NNTP-Posting-Host: 151.80.24.214 Original-X-Trace: news.sunsite.dk DXC=0N@`P`X98iC[5e>4Hh5XA@YSB=nbEKnkKl2^feVC_<6F:AocXk=\=_DT7bXfBO; G:EKAib\KDO`hBm=c5DAkLCDL<4HWK9JcIcOG`gWf>?A3GC Original-X-Complaints-To: staff@sunsite.dk Original-Xref: news.stanford.edu gnu.emacs.help:161938 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57284 Archived-At: Rodolfo Medina writes: > I wish to set some ps-print variables in an interactive way, i.e. be > prompted for the value that I want to set. 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 ) . 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? Thanks Rodolfo