From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "John Halton" Newsgroups: gmane.emacs.help Subject: Re: ps-print doesn't omit invisible text Date: Mon, 11 Dec 2006 09:44:56 +0000 Message-ID: References: <4579E3B4.9030607@gmail.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1165840585 9614 80.91.229.10 (11 Dec 2006 12:36:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Dec 2006 12:36:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 11 13:36:24 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GtkOK-00042D-5B for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Dec 2006 13:36:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GtkOJ-0008PA-Jw for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Dec 2006 07:36:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gthia-0000sz-Le for help-gnu-emacs@gnu.org; Mon, 11 Dec 2006 04:45:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GthiV-0000q0-UZ for help-gnu-emacs@gnu.org; Mon, 11 Dec 2006 04:45:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GthiV-0000pk-Hu for help-gnu-emacs@gnu.org; Mon, 11 Dec 2006 04:44:59 -0500 Original-Received: from [66.249.92.174] (helo=ug-out-1314.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GthiV-0002s1-Ak for help-gnu-emacs@gnu.org; Mon, 11 Dec 2006 04:44:59 -0500 Original-Received: by ug-out-1314.google.com with SMTP id j3so1512582ugf for ; Mon, 11 Dec 2006 01:44:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=L/ftsMCtRXi2Zn4frB3uqhCHUpHVO04HOm0+Ozy9zjYyvU/K9hFzG9Q6V6TVe4OP0nW4NLuRqzNnqJnFpoMOy1uPkTZkfinwtSMD2CzvzV4gu6kfGWahtOYbdTKEYZpdzLr8PHaBMhSRmwXAQLYwib3ZvCepssOqfIMl44Azpv4= Original-Received: by 10.78.136.9 with SMTP id j9mr1202576hud.1165830296877; Mon, 11 Dec 2006 01:44:56 -0800 (PST) Original-Received: by 10.78.159.1 with HTTP; Mon, 11 Dec 2006 01:44:56 -0800 (PST) Original-To: help-gnu-emacs@gnu.org In-Reply-To: <4579E3B4.9030607@gmail.com> Content-Disposition: inline X-Mailman-Approved-At: Mon, 11 Dec 2006 07:35:34 -0500 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:39417 Archived-At: On 12/8/06, John Halton wrote: > Kevin Rodgers wrote: > > John Halton wrote: > >> I'm using an emacs mode (tagging.el) that uses invisible overlays to > >> hide text that doesn't match a given tag (a la folding.el). > >> > >> However, when I print out the buffer, I get the whole buffer including > >> invisible text, not just the text displaying on screen. By contrast, > >> quick print via web browser (from the File menu) only prints out the > >> visible text. > >> > >> Looking at the ps-print.el file, it looks like ps-print does have the > >> ability to skip invisible text when printing, but I'm too much of a > >> LISP ignoramus to understand why it should be failing to do so in this > >> instance. > >> > >> I'm running Emacs 22.0.91.1 under Windows (work PC...), installed from > >> EmacsW32. However, the same issue also occurs in Emacs 21. > > > > Are you using `M-x ps-print-buffer-with-faces' to print the buffer? > > No, just ps-print-buffer. I take it that's where I may be going wrong? > Makes sense. > > Will try it when I'm back at work on Monday. Thanks! > > John Yep, that sorted it. Thanks again.