Describe that DocView text contents display is in a separate buffer

* doc/emacs/misc.texi (Document View): Adjust the docs to describe the
new behavior (separate buffer for the text contents) from bug#72241.
This commit is contained in:
Tassilo Horn 2024-07-25 08:21:52 +02:00
parent 210b98bc99
commit 6eb3827f7b

View file

@ -488,15 +488,16 @@ mode or DocView minor mode, repeating @kbd{C-c C-c}
underlying file contents.
@findex doc-view-open-text
When you visit a file which would normally be handled by DocView
mode but some requirement is not met (e.g., you operate in a terminal
frame or Emacs has no PNG support), you are queried if you want to
view the document's contents as plain text. If you confirm, the
buffer is put in text mode and DocView minor mode is activated. Thus,
by typing @kbd{C-c C-c} you switch to the fallback mode. With another
@kbd{C-c C-c} you return to DocView mode. The plain text contents can
also be displayed from within DocView mode by typing @kbd{C-c C-t}
(@code{doc-view-open-text}).
When you visit a file which would normally be handled by DocView mode
but some requirement is not met (e.g., you operate in a terminal frame
or Emacs has no PNG support), you are queried if you want to view the
document's contents as plain text. If you confirm, the buffer is put in
text mode and DocView minor mode is activated. Thus, by typing @kbd{C-c
C-c} you switch to the fallback mode. With another @kbd{C-c C-c} you
return to DocView mode. The plain text contents can also be displayed
in a separate buffer named like the original document buffer with suffix
@code{/text} by typing @kbd{C-c C-t} (@code{doc-view-open-text}) from
within DocView mode.
You can explicitly enable DocView mode with the command @kbd{M-x
doc-view-mode}. You can toggle DocView minor mode with @kbd{M-x