From 4f732a07c434ee25ddfe699bcf356b509015bb7c Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Thu, 25 Jul 2024 08:21:52 +0200 Subject: [PATCH] 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. (cherry picked from commit 6eb3827f7bf757ef63c3e8e4a9971e18cf36423f) --- doc/emacs/misc.texi | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index d1e8217f579..5972b5db491 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -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 -- 2.39.2