From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Robert Thorpe" Newsgroups: gmane.emacs.help Subject: Re: ps-print doesn't omit invisible text Date: 8 Dec 2006 06:11:49 -0800 Organization: http://groups.google.com Message-ID: <1165587109.129502.228790@l12g2000cwl.googlegroups.com> References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1165588913 28926 80.91.229.10 (8 Dec 2006 14:41:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Dec 2006 14:41:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 08 15:41:51 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 1Gsgv4-00079R-8z for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Dec 2006 15:41:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gsgv3-0004kN-QI for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Dec 2006 09:41:45 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!l12g2000cwl.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 163.244.62.65 Original-X-Trace: posting.google.com 1165587115 2579 127.0.0.1 (8 Dec 2006 14:11:55 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 8 Dec 2006 14:11:55 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 EMF1ASPROXY03 Complaints-To: groups-abuse@google.com Injection-Info: l12g2000cwl.googlegroups.com; posting-host=163.244.62.65; posting-account=hWoAPxMAAAAnBKSBz1ZivwUPPjEuve7bvVCHZQ8rhrluPfwcBJd92w Original-Xref: shelby.stanford.edu gnu.emacs.help:143747 Original-To: help-gnu-emacs@gnu.org 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:39349 Archived-At: 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. If the result of ps-print-buffer is different from that of print-buffer then this is an Emacs bug and should be reported. If not it may be a bug in "tagging.el" using odd ways to make things invisible.