[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5102: 23.1; doc-view on a buffer not linked to a file
From: |
Juri Linkov |
Subject: |
bug#5102: 23.1; doc-view on a buffer not linked to a file |
Date: |
Sun, 06 Dec 2009 01:23:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) |
>>> 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:
<harven@free.fr>: 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/
bug#5102: marked as done (23.1; doc-view on a buffer not linked to a file), Emacs bug Tracking System, 2009/12/07