[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Please install: Some improvements to doc-view.el
From: |
Juri Linkov |
Subject: |
Re: Please install: Some improvements to doc-view.el |
Date: |
Mon, 08 Oct 2007 22:34:42 +0300 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
>>> Since doc-view-mode doesn't call an external viewer, but instead
>>> renders the file as an image inside the Emacs buffer, I think a good
>>> solution would be to use the same user interface as is implemented by
>>> image-mode: by default, visiting a pdf/dvi file could display a
>>> rendered image (which is more preferable for most users than editing
>>> them, I guess). But if the user still wants to edit the source file
>>> or to view it as text, then the user could type `C-c C-c'.
>>
>> +1
>
> Would be ok for me, but I'll wait for a decision for the doc-view
> vs. Gnus mechanism before implementing it.
I think Gnus mechanism is irrelevant to doc-view. Gnus uses mailcap
mechanisms to find the appropriate mailcap entry and run an external
program in a separate process. doc-view displays the rendered image
in the Emacs buffer. So it could work exactly as image-mode for
pdf/ps/dvi files.
As for the mailcap feature, I recall there was a proposal to put
programs from the mailcap entry to the default value of the ! command
(`dired-do-shell-command').
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: Please install: Some improvements to doc-view.el, (continued)
- Re: Please install: Some improvements to doc-view.el, Tassilo Horn, 2007/10/02
- Re: Please install: Some improvements to doc-view.el, Richard Stallman, 2007/10/03
- Re: Please install: Some improvements to doc-view.el, Michaƫl Cadilhac, 2007/10/03
- Re: Please install: Some improvements to doc-view.el, Tassilo Horn, 2007/10/04
- Re: Please install: Some improvements to doc-view.el, Richard Stallman, 2007/10/05
- Re: Please install: Some improvements to doc-view.el, Tassilo Horn, 2007/10/05
- Re: Please install: Some improvements to doc-view.el, Tassilo Horn, 2007/10/06
- Re: Please install: Some improvements to doc-view.el, Juri Linkov, 2007/10/06
- Re: Please install: Some improvements to doc-view.el, Sascha Wilde, 2007/10/08
- Re: Please install: Some improvements to doc-view.el, Tassilo Horn, 2007/10/08
- Re: Please install: Some improvements to doc-view.el,
Juri Linkov <=
- Re: Please install: Some improvements to doc-view.el, Tassilo Horn, 2007/10/09
- Re: Please install: Some improvements to doc-view.el, Juri Linkov, 2007/10/09
- Doc-view as default viewer for pdf, ps and dvi files (was: Please install: Some improvements to doc-view.el), Tassilo Horn, 2007/10/10
- Re: Doc-view as default viewer for pdf, ps and dvi files (was: Please install: Some improvements to doc-view.el), Richard Stallman, 2007/10/11
- Re: Doc-view as default viewer for pdf, ps and dvi files, Tassilo Horn, 2007/10/12
- Re: Doc-view as default viewer for pdf, ps and dvi files, Richard Stallman, 2007/10/12
- Re: Doc-view as default viewer for pdf, ps and dvi files, Tassilo Horn, 2007/10/13
- Re: Doc-view as default viewer for pdf, ps and dvi files, Richard Stallman, 2007/10/13
- Re: Doc-view as default viewer for pdf, ps and dvi files, Juri Linkov, 2007/10/17
- Re: Doc-view as default viewer for pdf, ps and dvi files, Tassilo Horn, 2007/10/18