From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#5102: 23.1; doc-view on a buffer not linked to a file Date: Sun, 06 Dec 2009 01:23:39 +0200 Organization: JURTA Message-ID: <87pr6t58rg.fsf@mail.jurta.org> References: <87ljhlbmdt.fsf@ergodik.univ-brest.fr> <87bpiezfov.fsf@mail.jurta.org> <87zl5ygy1f.fsf@thinkpad.tsdh.de> Reply-To: Juri Linkov , 5102@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1260056905 29171 80.91.229.12 (5 Dec 2009 23:48:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Dec 2009 23:48:25 +0000 (UTC) Cc: Tassilo Horn , 5102@emacsbugs.donarmstrong.com, harven To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 06 00:48:17 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 1NH4MK-0000IB-3N for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Dec 2009 00:48:16 +0100 Original-Received: from localhost ([127.0.0.1]:38816 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NH4MK-0006W8-1i for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Dec 2009 18:48:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NH4Lh-0006DU-Mk for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 18:47:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NH4Lc-0006CB-Nj for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 18:47:36 -0500 Original-Received: from [199.232.76.173] (port=34146 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NH4Lc-0006C8-HP for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 18:47:32 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:35350) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NH4Lc-0003iH-4A for bug-gnu-emacs@gnu.org; Sat, 05 Dec 2009 18:47:32 -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 nB5NlPC4018161; Sat, 5 Dec 2009 15:47:30 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB5NU896016064; Sat, 5 Dec 2009 15:30:08 -0800 Resent-Date: Sat, 5 Dec 2009 15:30:08 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 05 Dec 2009 23:30: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.126005546815355 (code B ref 5102); Sat, 05 Dec 2009 23:30:08 +0000 Original-Received: (at 5102) by emacsbugs.donarmstrong.com; 5 Dec 2009 23:24:28 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx2.starman.ee (smtp-out4.starman.ee [85.253.0.6]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB5NOQ9n015344 for <5102@emacsbugs.donarmstrong.com>; Sat, 5 Dec 2009 15:24:27 -0800 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.97.127.cable.starman.ee [82.131.97.127]) by mx2.starman.ee (Postfix) with ESMTP id 7B4243F40A9; Sun, 6 Dec 2009 01:24:20 +0200 (EET) In-Reply-To: (Stefan Monnier's message of "Sat, 05 Dec 2009 13:49:43 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 05 Dec 2009 18:47:36 -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:33297 Archived-At: >>> Tassilo, please tell whether DocView is designed to work in non-file >>> buffers? > > Yes, it is. > >> No, it cannot handle non-file buffers, because ghostscript and friends >> only handle input files and don't support piping in the output. So the > > It already has special code for Tramp and jka-compr files, where it > saves the buffer's content to a temp file. > > Harven(?), does the patch below help? Mails to Harven bounce back with the error: : host mx1.free.fr said: 550 5.2.1 This mailbox has been blocked due to inactivity (in reply to RCPT TO command) So I tried out your patch and it fails with: Debugger entered--Lisp error: (wrong-type-argument stringp nil) file-name-nondirectory(nil) doc-view-mode() doc-view-toggle-display() call-interactively(doc-view-toggle-display nil nil) I don't understand how do you expect it to work. -- Juri Linkov http://www.jurta.org/emacs/