From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#5102: 23.1; doc-view on a buffer not linked to a file Date: Fri, 4 Dec 2009 15:18:07 -0800 Message-ID: <113BAA608FFB4EC086F3D0A24CFC0557@us.oracle.com> References: <87ljhlbmdt.fsf@ergodik.univ-brest.fr><87bpiezfov.fsf@mail.jurta.org> <87zl5ygy1f.fsf@thinkpad.tsdh.de> Reply-To: Drew Adams , 5102@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1259969302 22206 80.91.229.12 (4 Dec 2009 23:28:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Dec 2009 23:28:22 +0000 (UTC) Cc: 'harven' To: "'Tassilo Horn'" , <5102@emacsbugs.donarmstrong.com>, "'Juri Linkov'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 05 00:28:15 2009 Return-path: Envelope-to: geb-bug-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 1NGhZM-0000fP-Jh for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Dec 2009 00:28:13 +0100 Original-Received: from localhost ([127.0.0.1]:46521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGhZL-00086V-Vs for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Dec 2009 18:28:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGhYi-0007g7-VQ for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2009 18:27:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGhYe-0007bp-Ey for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2009 18:27:32 -0500 Original-Received: from [199.232.76.173] (port=40966 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGhYd-0007bY-PI for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2009 18:27:27 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42266) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NGhYd-0001OO-3N for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2009 18:27:27 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB4NROH8006958; Fri, 4 Dec 2009 15:27:25 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB4NP8vv006730; Fri, 4 Dec 2009 15:25:08 -0800 Resent-Date: Fri, 4 Dec 2009 15:25:08 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 04 Dec 2009 23:25:08 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 5102 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5102-submit@emacsbugs.donarmstrong.com id=B5102.12599687076157 (code B ref 5102); Fri, 04 Dec 2009 23:25:08 +0000 Original-Received: (at 5102) by emacsbugs.donarmstrong.com; 4 Dec 2009 23:18:27 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from rgminet11.oracle.com (rcsinet11.oracle.com [148.87.113.123]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB4NIPbh006154 for <5102@emacsbugs.donarmstrong.com>; Fri, 4 Dec 2009 15:18:26 -0800 Original-Received: from rgminet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nB4NIWJh010363 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 4 Dec 2009 23:18:33 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rgminet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nB4K2l95030505; Fri, 4 Dec 2009 23:18:17 GMT Original-Received: from abhmt016.oracle.com by acsmt353.oracle.com with ESMTP id 813026661259968683; Fri, 04 Dec 2009 15:18:03 -0800 Original-Received: from dradamslap1 (/24.5.185.59) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 04 Dec 2009 15:18:03 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87zl5ygy1f.fsf@thinkpad.tsdh.de> Thread-Index: Acp1NquI87Qm3O+cTxiWTy+MXPGo0QAAEecg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt356.oracle.com [141.146.40.156] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.4B1998B8.00D9:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 04 Dec 2009 18:27:32 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33222 Archived-At: > No, it cannot handle non-file buffers, because ghostscript and friends > only handle input files and don't support piping in the > output. I don't mean to meddle here, and I might be way off base. But FYI, printing.el uses ghostview (gsview32.exe on Windows), which IIRC comes with ghostscript (gsprint.exe on Windows), in order to show buffer contents. You might take a look at that. Look at, for instance, menu item Printing > PostScript Preview > Buffer > 1-up. The menus are pretty much identical between PostScript Preview and Printing, and between viewing/printing a file and viewing/printing a buffer. HTH.