[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
doc-view and mailcap (was: Please install: Some improvements to doc-view
From: |
Reiner Steib |
Subject: |
doc-view and mailcap (was: Please install: Some improvements to doc-view.el) |
Date: |
Thu, 18 Oct 2007 00:04:10 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
On Wed, Oct 17 2007, Richard Stallman wrote:
> If the current terminal is not graphical, Gnus should fall back on
> the external displayer, since in some cases that will work.
On Wed, Oct 17 2007, Juri Linkov wrote:
[...]
> Yes, it seems this is just a matter of adding
>
> ("application/postscript"
> (viewer . doc-view-mode)
> (test . (fboundp 'doc-view-mode))
> (type . "application/postscript"))
[...]
> to `mailcap-mime-data'.
To follow Richard's suggestion, the test should be something like...
(and (fboundp 'doc-view-mode)
(display-graphic-p)
(image-type-available-p 'png))
or...
(and (fboundp 'doc-view-mode-p)
(doc-view-mode-p))
with (in `doc-view.el')...
(defun doc-view-mode-p ()
(and (display-graphic-p)
(image-type-available-p 'png)))
Shouldn't it?
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
- Re: mailcap viewers in dired; gnus-dired.el, mailcap.el, (continued)
- 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, 2007/10/15
- 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 <=
- Re: doc-view and mailcap, Juri Linkov, 2007/10/17
- Re: doc-view and mailcap, Reiner Steib, 2007/10/18
- doc-view and mailcap (was: Please install: Some improvements to doc-view.el), Reiner Steib, 2007/10/16
- Re: doc-view and mailcap, Stefan Monnier, 2007/10/16
- Re: doc-view and mailcap, Richard Stallman, 2007/10/17
- Re: doc-view and mailcap, Stefan Monnier, 2007/10/17
- Re: doc-view and mailcap, Reiner Steib, 2007/10/17
- Re: doc-view and mailcap, Juri Linkov, 2007/10/17
- Re: doc-view and mailcap, Richard Stallman, 2007/10/18
- Re: doc-view and mailcap (was: Please install: Some improvements to doc-view.el), Richard Stallman, 2007/10/17