all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Tassilo Horn <tassilo@member.fsf.org>,
	5102@emacsbugs.donarmstrong.com, harven <harven@free.fr>
Subject: bug#5102: 23.1; doc-view on a buffer not linked to a file
Date: Sun, 06 Dec 2009 01:23:39 +0200	[thread overview]
Message-ID: <87pr6t58rg.fsf@mail.jurta.org> (raw)
In-Reply-To: <jwvzl5xntqh.fsf-monnier+emacsbugreports@gnu.org> (Stefan Monnier's message of "Sat, 05 Dec 2009 13:49:43 -0500")

>>> 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/





  reply	other threads:[~2009-12-05 23:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <jwv638i610l.fsf-monnier+emacsbugreports@gnu.org>
2009-12-02 12:17 ` bug#5102: 23.1; doc-view on a buffer not linked to a file harven
2009-12-04 21:50   ` Juri Linkov
2009-12-04 22:43     ` Tassilo Horn
2009-12-04 23:18       ` Drew Adams
2009-12-05 10:12         ` Tassilo Horn
2009-12-05 18:49       ` Stefan Monnier
2009-12-05 23:23         ` Juri Linkov [this message]
2009-12-07  2:38           ` Stefan Monnier
2009-12-07 17:51             ` Juri Linkov
2009-12-07 19:30   ` bug#5102: marked as done (23.1; doc-view on a buffer not linked to a file) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pr6t58rg.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=5102@emacsbugs.donarmstrong.com \
    --cc=harven@free.fr \
    --cc=monnier@iro.umontreal.ca \
    --cc=tassilo@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.