From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: Adding to ps-print-hook problems Date: Mon, 16 Sep 2002 21:39:46 +0200 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <3D8608CE.9000802@ihs.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032206166 32352 127.0.0.1 (16 Sep 2002 19:56:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 16 Sep 2002 19:56:06 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17r1yU-0008PH-00 for ; Mon, 16 Sep 2002 21:56:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17r1yh-0006OP-00; Mon, 16 Sep 2002 15:56:15 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.rwth-aachen.de!news-koe1.dfn.de!news.uni-dortmund.de!Informatik.Uni-Dortmund.DE!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: lucy.cs.uni-dortmund.de Mail-Copies-To: never User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:3h8x5CRJjzTtHu0YtYk8FYAoctk= Original-Xref: nntp.stanford.edu comp.emacs:74544 gnu.emacs.help:104955 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1510 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1510 "Jeff Rancier" writes: > So, I guess the next question is: How do I bypass the interactive property > of ps-print-buffer-with-faces(), and have my hook function be interactive? You can have your hook function ask the user explicitly, rather than via the `interactive' spec. See read-from-minibuffer, completing-read, and friends. kai -- ~/.signature is: umop 3p!sdn (Frank Nobis)