[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Doc-view as default viewer for pdf, ps and dvi files
From: |
Tassilo Horn |
Subject: |
Re: Doc-view as default viewer for pdf, ps and dvi files |
Date: |
Sat, 13 Oct 2007 10:25:39 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> Because with C-c C-c you can toggle between image or text display,
> but you wen't leave doc-view-mode. After C-c C-e you switch to
> another major mode and cannot toggle back with another C-c C-e.
>
> Now that I understand that, it makes sense. But I did not grasp this
> after the first message. So could you please say this explicitly
> where this feature is documented?
The usage comment in doc-view.el says
,----
| ;; To use it simply open a document file with
| ;;
| ;; C-x C-f ~/path/to/document RET
| ;;
| ;; and the document will be converted and displayed, if your emacs supports
png
| ;; images. With `C-c C-c' you can toggle between the rendered images
| ;; representation and the source text representation of the document. With
| ;; `C-c C-e' you can switch to an appropriate editing mode for the document.
`----
And the function docstrings say
,----
| (defun doc-view-toggle-display ()
| "Start or stop displaying a document file as a set of images.
| This command toggles between showing the text of the document
| file and showing the document as a set of images."
`----
and
,----
| (defun doc-view-edit-doc ()
| "Leave `doc-view-mode' and open the current doc with an appropriate editing
mode."
`----
If you decide to install the patch this feature should be added to the
texinfo docs, too. Here's the entry for image-mode, the entry for
doc-view-mode would be quite similar, because I took image-mode as
pattern.
,----[ (info "(emacs)File Conveniences") ]
| Visiting image files automatically selects Image mode. This major
| mode allows you to toggle between displaying the file as an image in
| the Emacs buffer, and displaying its underlying text representation,
| using the command `C-c C-c' (`image-toggle-display'). This works only
| when Emacs can display the specific image type. If the displayed
| image is wider or taller than the frame, the usual point motion keys
| (`C-f', `C-p', and so forth) cause different parts of the image to be
| displayed.
`----
Bye,
Tassilo
- Re: Please install: Some improvements to doc-view.el, (continued)
- 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, 2007/10/08
- 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 <=
- 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, 2007/10/09
- 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