[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: |
Tue, 16 Oct 2007 02:45:11 +0300 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
> I think both methods are very useful.
>
> Why are they both useful?
The mailcap feature is useful to get the names of the external programs.
Doc-view is useful to view rendered images of PDF/PS/DVI files in a
Emacs buffer.
> The Gnus mailcap mechanism provides several alternatives of external
> programs to run. There are many different file types associated with
> programs in the mailcap file, not only documents supported by doc-view.
>
> Ok, but when mailcap finds these kinds of documents,
> should it run the external program or should it use doc-view?
I think on Gnus attachments of PDF/PS/DVI files it should now use doc-view.
> But I think a better way would be to allow the user to select the
> preferred program, inspect the command line and be able to edit the
> command line before running a command. This can be achieved by putting
> program names found by the Gnus mailcap mechanism to the default value
> in the minibuffer activated after typing ! in Dired.
>
> This seems to be a suggestion for changing the Gnus mailcap
> feature. Is that right?
No, the mailcap feature only returns the names of the external programs.
So how to use them is a matter of other packages. Gnus always runs the
first found program to view the Gnus attachment. However, I think Dired
should get programs names from the mailcap feature, and present them in the
minibuffer activated by ! in Dired to allow the user select the desired
program.
--
Juri Linkov
http://www.jurta.org/emacs/
- mailcap viewers in dired; gnus-dired.el, mailcap.el (was: Please install: Some improvements to doc-view.el), (continued)
- 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
- Re: mailcap viewers in dired; gnus-dired.el, mailcap.el, Richard Stallman, 2007/10/14
- Re: mailcap viewers in dired; gnus-dired.el, mailcap.el, Juri Linkov, 2007/10/15
- Re: mailcap viewers in dired; gnus-dired.el, mailcap.el, Tassilo Horn, 2007/10/16
- Re: mailcap viewers in dired; gnus-dired.el, mailcap.el, Lars Magne Ingebrigtsen, 2007/10/18
- Re: mailcap viewers in dired; gnus-dired.el, mailcap.el, Richard Stallman, 2007/10/19
- Re: Please install: Some improvements to doc-view.el, Richard Stallman, 2007/10/14
- Re: Please install: Some improvements to doc-view.el,
Juri Linkov <=
- Re: Please install: Some improvements to doc-view.el, Richard Stallman, 2007/10/16
- Re: Please install: Some improvements to doc-view.el, Leo, 2007/10/16
- Re: Please install: Some improvements to doc-view.el, Richard Stallman, 2007/10/17
- Re: Please install: Some improvements to doc-view.el, Leo, 2007/10/17
- Re: Please install: Some improvements to doc-view.el, Richard Stallman, 2007/10/17
- Re: Please install: Some improvements to doc-view.el, Leo, 2007/10/17
- Re: Please install: Some improvements to doc-view.el, Richard Stallman, 2007/10/19
- doc-view and mailcap (was: Please install: Some improvements to doc-view.el), Reiner Steib, 2007/10/17
- Re: doc-view and mailcap, Juri Linkov, 2007/10/17
- Re: doc-view and mailcap, Reiner Steib, 2007/10/18