diff options
| author | Chong Yidong | 2011-08-28 17:15:20 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-08-28 17:15:20 -0400 |
| commit | e2aeef63a646f08348c53b1ad94384f427593209 (patch) | |
| tree | 1436e66b960580a7ba2acfa10ced557c92d12380 /doc | |
| parent | a6326082984c2f0afa9d4ec104bc9df058cc5ef8 (diff) | |
| download | emacs-e2aeef63a646f08348c53b1ad94384f427593209.tar.gz emacs-e2aeef63a646f08348c53b1ad94384f427593209.zip | |
Add xrefs to View Mode node to Emacs manual.
* doc/emacs/files.texi (File Archives):
* doc/emacs/cal-xtra.texi (Diary Display):
* doc/emacs/help.texi (Help Mode): Add xref to View Mode.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/emacs/cal-xtra.texi | 8 | ||||
| -rw-r--r-- | doc/emacs/display.texi | 5 | ||||
| -rw-r--r-- | doc/emacs/files.texi | 14 | ||||
| -rw-r--r-- | doc/emacs/help.texi | 4 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 2 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 11 |
7 files changed, 21 insertions, 29 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index a08bd212b25..58b98189e29 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2011-08-28 Chong Yidong <cyd@stupidchicken.com> | 1 | 2011-08-28 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 2 | ||
| 3 | * files.texi (File Archives): | ||
| 4 | * cal-xtra.texi (Diary Display): | ||
| 5 | * help.texi (Help Mode): Add xref to View Mode. | ||
| 6 | |||
| 7 | 2011-08-28 Chong Yidong <cyd@stupidchicken.com> | ||
| 8 | |||
| 3 | * display.texi (View Mode): New node. Move view-file here from | 9 | * display.texi (View Mode): New node. Move view-file here from |
| 4 | Misc File Ops. Move view-buffer here from Misc Buffer. | 10 | Misc File Ops. Move view-buffer here from Misc Buffer. |
| 5 | 11 | ||
diff --git a/doc/emacs/cal-xtra.texi b/doc/emacs/cal-xtra.texi index 52898efc268..6d20c92a6d9 100644 --- a/doc/emacs/cal-xtra.texi +++ b/doc/emacs/cal-xtra.texi | |||
| @@ -538,13 +538,7 @@ are no diary entries, even if that day is a holiday. If you want such | |||
| 538 | days to be shown in the fancy diary buffer, set the variable | 538 | days to be shown in the fancy diary buffer, set the variable |
| 539 | @code{diary-list-include-blanks} to @code{t}.@refill | 539 | @code{diary-list-include-blanks} to @code{t}.@refill |
| 540 | 540 | ||
| 541 | @c View mode does not seem to be described in the manual. | 541 | The fancy diary buffer enables View mode (@pxref{View Mode}). |
| 542 | @c buffers.texi has a brief mention. | ||
| 543 | The fancy diary buffer enables View mode, a minor mode that provides | ||
| 544 | commands for scrolling and searching the text. For example, @key{SPC} | ||
| 545 | and @key{DEL} scroll forward and backward, and @key{s} starts an | ||
| 546 | incremental search. See the documentation of the function | ||
| 547 | @code{view-mode} for more information. | ||
| 548 | 542 | ||
| 549 | The alternative display method @code{diary-simple-display} shows the | 543 | The alternative display method @code{diary-simple-display} shows the |
| 550 | actual diary buffer, and uses invisible text to hide entries that don't | 544 | actual diary buffer, and uses invisible text to hide entries that don't |
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index aaa04230b6f..09e365d9d5f 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi | |||
| @@ -378,10 +378,11 @@ it. @xref{Disabling}. | |||
| 378 | screenfuls. It provides commands for scrolling through the buffer | 378 | screenfuls. It provides commands for scrolling through the buffer |
| 379 | conveniently but not for changing it. Apart from the usual Emacs | 379 | conveniently but not for changing it. Apart from the usual Emacs |
| 380 | cursor motion commands, you can type @key{SPC} to scroll forward one | 380 | cursor motion commands, you can type @key{SPC} to scroll forward one |
| 381 | windowful, or @key{DEL} to scroll backward. | 381 | windowful, @key{DEL} to scroll backward, and @kbd{s} to start an |
| 382 | incremental search. | ||
| 382 | 383 | ||
| 383 | Typing @kbd{q} disables View mode, and switches back to the buffer | 384 | Typing @kbd{q} disables View mode, and switches back to the buffer |
| 384 | and position before View mode was enabled. Alternatively, type | 385 | and position before View mode was enabled. Alternatively, typing |
| 385 | @kbd{e} disables View mode, keeping the current buffer and position. | 386 | @kbd{e} disables View mode, keeping the current buffer and position. |
| 386 | 387 | ||
| 387 | @findex view-buffer | 388 | @findex view-buffer |
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index a41e14e5fcb..2672c30363b 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi | |||
| @@ -1657,13 +1657,13 @@ Tar mode is used also for compressed archives---files with extensions | |||
| 1657 | The keys @kbd{e}, @kbd{f} and @key{RET} all extract a component file | 1657 | The keys @kbd{e}, @kbd{f} and @key{RET} all extract a component file |
| 1658 | into its own buffer. You can edit it there, and if you save the | 1658 | into its own buffer. You can edit it there, and if you save the |
| 1659 | buffer, the edited version will replace the version in the Tar buffer. | 1659 | buffer, the edited version will replace the version in the Tar buffer. |
| 1660 | @kbd{v} extracts a file into a buffer in View mode. @kbd{o} extracts | 1660 | @kbd{v} extracts a file into a buffer in View mode (@pxref{View |
| 1661 | the file and displays it in another window, so you could edit the file | 1661 | Mode}). @kbd{o} extracts the file and displays it in another window, |
| 1662 | and operate on the archive simultaneously. @kbd{d} marks a file for | 1662 | so you could edit the file and operate on the archive simultaneously. |
| 1663 | deletion when you later use @kbd{x}, and @kbd{u} unmarks a file, as in | 1663 | @kbd{d} marks a file for deletion when you later use @kbd{x}, and |
| 1664 | Dired. @kbd{C} copies a file from the archive to disk and @kbd{R} | 1664 | @kbd{u} unmarks a file, as in Dired. @kbd{C} copies a file from the |
| 1665 | renames a file within the archive. @kbd{g} reverts the buffer from | 1665 | archive to disk and @kbd{R} renames a file within the archive. |
| 1666 | the archive on disk. | 1666 | @kbd{g} reverts the buffer from the archive on disk. |
| 1667 | 1667 | ||
| 1668 | The keys @kbd{M}, @kbd{G}, and @kbd{O} change the file's permission | 1668 | The keys @kbd{M}, @kbd{G}, and @kbd{O} change the file's permission |
| 1669 | bits, group, and owner, respectively. | 1669 | bits, group, and owner, respectively. |
diff --git a/doc/emacs/help.texi b/doc/emacs/help.texi index bf93892c0db..9ff995138f5 100644 --- a/doc/emacs/help.texi +++ b/doc/emacs/help.texi | |||
| @@ -405,8 +405,8 @@ the variable @code{apropos-documentation-sort-by-scores} is | |||
| 405 | @node Help Mode | 405 | @node Help Mode |
| 406 | @section Help Mode Commands | 406 | @section Help Mode Commands |
| 407 | 407 | ||
| 408 | Help buffers provide the same commands as View mode (@pxref{Misc File | 408 | Help buffers provide the same commands as View mode (@pxref{View |
| 409 | Ops}), plus a few special commands of their own. | 409 | Mode}), plus a few special commands of their own. |
| 410 | 410 | ||
| 411 | @table @kbd | 411 | @table @kbd |
| 412 | @item @key{SPC} | 412 | @item @key{SPC} |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index b0328dba3f1..aae0be5a054 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | ||
| 3 | * files.texi (Changing Files, Create/Delete Dirs): Document new | 3 | * files.texi (Changing Files, Create/Delete Dirs): Document new |
| 4 | arguments for delete-file, delete-directory, and copy-directory. | 4 | arguments for delete-file, delete-directory, and copy-directory. |
| 5 | (Visiting Functions): Remove view-file; it is documented in the | ||
| 6 | Emacs manual. | ||
| 5 | 7 | ||
| 6 | * frames.texi (Layout Parameters): The defaults for the | 8 | * frames.texi (Layout Parameters): The defaults for the |
| 7 | menu-bar-lines and tool-bar-lines parameters depend on the mode. | 9 | menu-bar-lines and tool-bar-lines parameters depend on the mode. |
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 25afb810a88..bd904bf49c0 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -203,17 +203,6 @@ When this command is called interactively, it prompts for | |||
| 203 | @var{filename}. | 203 | @var{filename}. |
| 204 | @end deffn | 204 | @end deffn |
| 205 | 205 | ||
| 206 | @deffn Command view-file filename | ||
| 207 | This command visits @var{filename} using View mode, returning to the | ||
| 208 | previous buffer when you exit View mode. View mode is a minor mode that | ||
| 209 | provides commands to skim rapidly through the file, but does not let you | ||
| 210 | modify the text. Entering View mode runs the normal hook | ||
| 211 | @code{view-mode-hook}. @xref{Hooks}. | ||
| 212 | |||
| 213 | When @code{view-file} is called interactively, it prompts for | ||
| 214 | @var{filename}. | ||
| 215 | @end deffn | ||
| 216 | |||
| 217 | @defopt find-file-wildcards | 206 | @defopt find-file-wildcards |
| 218 | If this variable is non-@code{nil}, then the various @code{find-file} | 207 | If this variable is non-@code{nil}, then the various @code{find-file} |
| 219 | commands check for wildcard characters and visit all the files that | 208 | commands check for wildcard characters and visit all the files that |