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: Mon, 07 Dec 2009 19:51:06 +0200 Organization: JURTA Message-ID: <87y6ley8q9.fsf@mail.jurta.org> References: <87ljhlbmdt.fsf@ergodik.univ-brest.fr> <87bpiezfov.fsf@mail.jurta.org> <87zl5ygy1f.fsf@thinkpad.tsdh.de> <87pr6t58rg.fsf@mail.jurta.org> 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 1260213572 5853 80.91.229.12 (7 Dec 2009 19:19:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Dec 2009 19:19:32 +0000 (UTC) Cc: Tassilo Horn , 5102@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 07 20:19:24 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 1NHj7E-0000xw-BE for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Dec 2009 20:19:24 +0100 Original-Received: from localhost ([127.0.0.1]:60003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHj7D-0001cr-QZ for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Dec 2009 14:19:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHhzh-00068G-I1 for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2009 13:07:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHhzd-00064X-Jt for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2009 13:07:33 -0500 Original-Received: from [199.232.76.173] (port=36497 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHhzc-000640-No for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2009 13:07:28 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33511) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NHhzc-0001Ht-47 for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2009 13:07:28 -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 nB7I7P8O025827; Mon, 7 Dec 2009 10:07:25 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB7I56Pc025047; Mon, 7 Dec 2009 10:05:06 -0800 Resent-Date: Mon, 7 Dec 2009 10:05:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Juri Linkov Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 07 Dec 2009 18:05:06 +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.126020867624280 (code B ref 5102); Mon, 07 Dec 2009 18:05:06 +0000 Original-Received: (at 5102) by emacsbugs.donarmstrong.com; 7 Dec 2009 17:57:56 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.starman.ee (smtp-out3.starman.ee [85.253.0.5]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB7HvsAh024277 for <5102@emacsbugs.donarmstrong.com>; Mon, 7 Dec 2009 09:57:55 -0800 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.97.43.cable.starman.ee [82.131.97.43]) by mx1.starman.ee (Postfix) with ESMTP id 8BF6F3F4298; Mon, 7 Dec 2009 19:57:48 +0200 (EET) In-Reply-To: (Stefan Monnier's message of "Sun, 06 Dec 2009 21:38:40 -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: Mon, 07 Dec 2009 13:07:33 -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:33369 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. 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. > > Witha bit more help. I've installed the patch below which seems to work > for me, It works for me too. I'm not sure if we have to wait Harven's confirmation to close this bug because his mails unfortunately bounce back. -- Juri Linkov http://www.jurta.org/emacs/