[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: doc-view and mailcap
From: |
Juri Linkov |
Subject: |
Re: doc-view and mailcap |
Date: |
Fri, 19 Oct 2007 03:42:25 +0300 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
>> IMHO, it should do the same as image mode for XPM files: "Type C-c C-c
>> to view the image as an image." IIUC, this has not been implemented
>> for doc-view yet, so I think we should open them with ps-mode for now.
>
> At least it should be consistent for all files that can both be edited
> (as text) or viewed.
However, there is a difference: some file types are more likely to be
edited (.ps files) while other are not (.pdf and .dvi). Almost nobody
will want to edit .pdf and .dvi.
So you can put .ps files in ps-mode and doc-view-minor-mode,
and put .pdf/.dvi files in major mode doc-view-mode
(there is no need to put .pdf/.dvi in fundamental-mode).
For a solution how to activate a major/minor mode you could look
in image-mode-maybe.
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: doc-view and mailcap, (continued)
- Re: doc-view and mailcap, Reiner Steib, 2007/10/17
- Re: doc-view and mailcap, Tassilo Horn, 2007/10/17
- Re: doc-view and mailcap, Reiner Steib, 2007/10/17
- Re: doc-view and mailcap, Stefan Monnier, 2007/10/18
- Re: doc-view and mailcap, Reiner Steib, 2007/10/18
- Re: doc-view and mailcap, Tassilo Horn, 2007/10/18
- Re: doc-view and mailcap, Tassilo Horn, 2007/10/18
- Re: doc-view and mailcap, Richard Stallman, 2007/10/18
- Re: doc-view and mailcap, Reiner Steib, 2007/10/18
- Re: doc-view and mailcap, Tassilo Horn, 2007/10/18
- Re: doc-view and mailcap,
Juri Linkov <=
- Re: doc-view and mailcap, Richard Stallman, 2007/10/19
- Re: Please install: Some improvements to doc-view.el, Juri Linkov, 2007/10/16
- Re: Please install: Some improvements to doc-view.el, Stefan Monnier, 2007/10/06
- Re: Please install: Some improvements to doc-view.el, Richard Stallman, 2007/10/07
- Re: Please install: Some improvements to doc-view.el, Richard Stallman, 2007/10/06