[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: |
Tassilo Horn |
Subject: |
Re: Please install: Some improvements to doc-view.el |
Date: |
Tue, 09 Oct 2007 23:30:16 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
Hi Richard,
> DocView and the Gnus mailcap mechanism are unrelated features.
>
> They are related because they do the same job: display non-textual
> formats for Emacs. They work in different ways, but each can still
> substitute for the other. If you have a PDF or PS or DVI file, you
> can display it either with doc-view or with the Gnus mailcap
> mechanism.
>
> So do we really want both methods? If so, when should each method be
> used?
Personally I think a solution which doesn't give the focus to another
application is preferable and thus should be the default. Gnus cannot
use doc-view since that depends on GNU Emacs whereas Gnus wants to run
on all Emacsen.
> Or how should the user choose?
Juri proposed a very good solution in <address@hidden> and
<address@hidden>.
In summary:
1. He proposed to make doc-view the standard viewer for pdf/dvi/ps files
and add a binding `C-c C-c' which would toggle between the rendered
image representation and the text representation just like image-mode
does. This way `v' in dired would use doc-view by default and `C-c
C-c' in doc-view-mode would switch to the text representation you get
when you hit `v' on a doc nowadays.
2. The Gnus mailcap mechanism could be used for the default command for
`dired-do-shell-command' (bound to `!' in dired).
I think this is a very good solution and I'm willing to implement point
1 if we agree on it.
Bye,
Tassilo
- Re: Doc-view as default viewer for pdf, ps and dvi files, (continued)
- 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
- Re: Doc-view as default viewer for pdf, ps and dvi files, Tassilo Horn, 2007/10/18
- Re: Please install: Some improvements to doc-view.el, Richard Stallman, 2007/10/07
- Re: Please install: Some improvements to doc-view.el, Juri Linkov, 2007/10/08
- Re: Please install: Some improvements to doc-view.el, Richard Stallman, 2007/10/09
- Re: Please install: Some improvements to doc-view.el,
Tassilo Horn <=
- Re: Please install: Some improvements to doc-view.el, Richard Stallman, 2007/10/15
- Re: Please install: Some improvements to doc-view.el, Tassilo Horn, 2007/10/15
- Scrolling in doc-view, Chong Yidong, 2007/10/17
- Re: Scrolling in doc-view, Tassilo Horn, 2007/10/18
- Re: Scrolling in doc-view, Tassilo Horn, 2007/10/18
- Re: Please install: Some improvements to doc-view.el, Juri Linkov, 2007/10/09
- mailcap viewers in dired; gnus-dired.el, mailcap.el (was: Please install: Some improvements to doc-view.el), Reiner Steib, 2007/10/09
- Re: mailcap viewers in dired; gnus-dired.el, mailcap.el (was: Please install: Some improvements to doc-view.el), Juri Linkov, 2007/10/09
- Re: mailcap viewers in dired; gnus-dired.el, mailcap.el, Reiner Steib, 2007/10/10
- Re: mailcap viewers in dired; gnus-dired.el, mailcap.el, Juri Linkov, 2007/10/10