diff options
| author | Chong Yidong | 2011-08-25 12:30:46 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-08-25 12:30:46 -0400 |
| commit | 856ce114ff54a5b7801eda7eb771f02b6bb98630 (patch) | |
| tree | b1ac83dd32980dcda0d4e5dff8014784cb0d4d2a | |
| parent | f404f8bc6354c41f96f23ef6cf00c72d00cd798b (diff) | |
| download | emacs-856ce114ff54a5b7801eda7eb771f02b6bb98630.tar.gz emacs-856ce114ff54a5b7801eda7eb771f02b6bb98630.zip | |
Fix Emacs manual chapter numbers in last change.
| -rw-r--r-- | doc/emacs/ChangeLog | 2 | ||||
| -rw-r--r-- | doc/emacs/calendar.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/emacs.texi | 7 | ||||
| -rw-r--r-- | doc/emacs/misc.texi | 413 | ||||
| -rw-r--r-- | doc/emacs/rmail.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/sending.texi | 2 |
6 files changed, 178 insertions, 250 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index bf600a42690..9050efa83d0 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-08-25 Chong Yidong <cyd@stupidchicken.com> | 1 | 2011-08-25 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 2 | ||
| 3 | * misc.texi (Printing): Convert subnodes into subsections. | ||
| 4 | |||
| 3 | * text.texi (Two-Column): Move into Text chapter. | 5 | * text.texi (Two-Column): Move into Text chapter. |
| 4 | 6 | ||
| 5 | * picture-xtra.texi (Picture Mode): Group with Editing Binary | 7 | * picture-xtra.texi (Picture Mode): Group with Editing Binary |
diff --git a/doc/emacs/calendar.texi b/doc/emacs/calendar.texi index 9de223854c1..71a2dba7d08 100644 --- a/doc/emacs/calendar.texi +++ b/doc/emacs/calendar.texi | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | @c Copyright (C) 1985-1987, 1993-1995, 1997, 2000-2011 | 2 | @c Copyright (C) 1985-1987, 1993-1995, 1997, 2000-2011 |
| 3 | @c Free Software Foundation, Inc. | 3 | @c Free Software Foundation, Inc. |
| 4 | @c See file emacs.texi for copying conditions. | 4 | @c See file emacs.texi for copying conditions. |
| 5 | @node Calendar/Diary, Document View, Dired, Top | 5 | @node Calendar/Diary |
| 6 | @chapter The Calendar and the Diary | 6 | @chapter The Calendar and the Diary |
| 7 | @cindex calendar | 7 | @cindex calendar |
| 8 | @findex calendar | 8 | @findex calendar |
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi index 1b5ae415982..24a7e6d62e6 100644 --- a/doc/emacs/emacs.texi +++ b/doc/emacs/emacs.texi | |||
| @@ -195,10 +195,10 @@ Advanced Features | |||
| 195 | the number of characters you must type. | 195 | the number of characters you must type. |
| 196 | * Dired:: Directory and file manager. | 196 | * Dired:: Directory and file manager. |
| 197 | * Calendar/Diary:: Calendar and diary facilities. | 197 | * Calendar/Diary:: Calendar and diary facilities. |
| 198 | * Document View:: Viewing PDF, PS and DVI files. | ||
| 199 | * Sending Mail:: Sending mail in Emacs. | 198 | * Sending Mail:: Sending mail in Emacs. |
| 200 | * Rmail:: Reading mail in Emacs. | 199 | * Rmail:: Reading mail in Emacs. |
| 201 | * Gnus:: A flexible mail and news reader. | 200 | * Gnus:: A flexible mail and news reader. |
| 201 | * Document View:: Viewing PDF, PS and DVI files. | ||
| 202 | * Shell:: Executing shell commands from Emacs. | 202 | * Shell:: Executing shell commands from Emacs. |
| 203 | * Emacs Server:: Using Emacs as an editing server. | 203 | * Emacs Server:: Using Emacs as an editing server. |
| 204 | * Printing:: Printing hardcopies of buffers or regions. | 204 | * Printing:: Printing hardcopies of buffers or regions. |
| @@ -1489,12 +1489,13 @@ Lisp programming. | |||
| 1489 | @c Includes vc1-xtra, emerge-xtra. | 1489 | @c Includes vc1-xtra, emerge-xtra. |
| 1490 | @include maintaining.texi | 1490 | @include maintaining.texi |
| 1491 | @include abbrevs.texi | 1491 | @include abbrevs.texi |
| 1492 | @include sending.texi | ||
| 1493 | @include rmail.texi | ||
| 1494 | @c Includes dired-xtra. | 1492 | @c Includes dired-xtra. |
| 1495 | @include dired.texi | 1493 | @include dired.texi |
| 1496 | @c Includes cal-xtra. | 1494 | @c Includes cal-xtra. |
| 1497 | @include calendar.texi | 1495 | @include calendar.texi |
| 1496 | @include sending.texi | ||
| 1497 | @include rmail.texi | ||
| 1498 | @c Includes picture-xtra.texi | ||
| 1498 | @include misc.texi | 1499 | @include misc.texi |
| 1499 | @include custom.texi | 1500 | @include custom.texi |
| 1500 | @include trouble.texi | 1501 | @include trouble.texi |
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index d49c5c034d0..e43a8adce74 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -20,187 +20,7 @@ various diversions and amusements. | |||
| 20 | @raisesections | 20 | @raisesections |
| 21 | @end ifnottex | 21 | @end ifnottex |
| 22 | 22 | ||
| 23 | @node Document View, Sending Mail, Calendar/Diary, Top | 23 | @node Gnus |
| 24 | @section Document Viewing | ||
| 25 | @cindex DVI file | ||
| 26 | @cindex PDF file | ||
| 27 | @cindex PS file | ||
| 28 | @cindex Postscript file | ||
| 29 | @cindex OpenDocument file | ||
| 30 | @cindex Microsoft Office file | ||
| 31 | @cindex DocView mode | ||
| 32 | @cindex mode, DocView | ||
| 33 | @cindex document viewer (DocView) | ||
| 34 | @findex doc-view-mode | ||
| 35 | |||
| 36 | DocView mode (@code{doc-view-mode}) is a viewer for DVI, Postscript | ||
| 37 | (PS), PDF, OpenDocument, and Microsoft Office documents. It provides | ||
| 38 | features such as slicing, zooming, and searching inside documents. It | ||
| 39 | works by converting the document to a set of images using the | ||
| 40 | @command{gs} (GhostScript) command and other external tools | ||
| 41 | @footnote{@code{gs} is a hard requirement. For DVI files, | ||
| 42 | @code{dvipdf} or @code{dvipdfm} is needed. For OpenDocument and | ||
| 43 | Microsoft Office documents, the @code{unoconv} tool is needed.}, and | ||
| 44 | displaying those images. | ||
| 45 | |||
| 46 | @findex doc-view-toggle-display | ||
| 47 | @findex doc-view-toggle-display | ||
| 48 | @cindex doc-view-minor-mode | ||
| 49 | When you visit a document file with the exception of Postscript | ||
| 50 | files, Emacs automatically switches to DocView mode if possible | ||
| 51 | @footnote{The needed external tools for this document type have to be | ||
| 52 | available, emacs needs to run in a graphical frame, and PNG image | ||
| 53 | support has to be compiled into emacs. If any of these requirements | ||
| 54 | is not fulfilled, DocView falls back to an appropriate mode.}. When | ||
| 55 | you visit a Postscript file, Emacs switches to PS mode, a major mode | ||
| 56 | for editing Postscript files as text; however, it also enables DocView | ||
| 57 | minor mode, so you can type @kbd{C-c C-c} to view the document with | ||
| 58 | DocView. (PDF and DVI files, unlike Postscript files, are not usually | ||
| 59 | human-editable.) In either case, repeating @kbd{C-c C-c} | ||
| 60 | (@code{doc-view-toggle-display}) toggles between DocView and the file | ||
| 61 | text. | ||
| 62 | |||
| 63 | You can explicitly toggle DocView mode with the command @code{M-x | ||
| 64 | doc-view-mode}, and DocView minor mode with the command @code{M-x | ||
| 65 | doc-view-minor-mode}. | ||
| 66 | |||
| 67 | When DocView mode starts, it displays a welcome screen and begins | ||
| 68 | formatting the file, page by page. It displays the first page once | ||
| 69 | that has been formatted. | ||
| 70 | |||
| 71 | @findex doc-view-enlarge | ||
| 72 | @findex doc-view-shrink | ||
| 73 | @vindex doc-view-resolution | ||
| 74 | When in DocView mode, you can enlarge or shrink the document with | ||
| 75 | @kbd{+} (@code{doc-view-enlarge}) and @kbd{-} | ||
| 76 | (@code{doc-view-shrink}). To specify the default size for DocView, | ||
| 77 | set or customize the variable @code{doc-view-resolution}. | ||
| 78 | |||
| 79 | To kill the DocView buffer, type @kbd{k} | ||
| 80 | (@code{doc-view-kill-proc-and-buffer}). To bury it, type @kbd{q} | ||
| 81 | (@code{quit-window}). | ||
| 82 | |||
| 83 | @menu | ||
| 84 | * Navigation:: Navigation inside DocView buffers. | ||
| 85 | * Searching:: Searching inside documents. | ||
| 86 | * Slicing:: Specifying which part of pages should be displayed. | ||
| 87 | * Conversion:: Influencing and triggering conversion. | ||
| 88 | @end menu | ||
| 89 | |||
| 90 | @node Navigation | ||
| 91 | @subsection Navigation | ||
| 92 | |||
| 93 | When in DocView mode, you can scroll the current page using the usual | ||
| 94 | Emacs movement keys: @kbd{C-p}, @kbd{C-n}, @kbd{C-b}, @kbd{C-f}, and | ||
| 95 | the arrow keys. | ||
| 96 | |||
| 97 | @vindex doc-view-continuous | ||
| 98 | By default, the line-motion keys @kbd{C-p} and @kbd{C-n} stop | ||
| 99 | scrolling at the beginning and end of the current page, respectively. | ||
| 100 | However, if you change the variable @code{doc-view-continuous} to a | ||
| 101 | non-@code{nil} value, then @kbd{C-p} displays the previous page if you | ||
| 102 | are already at the beginning of the current page, and @kbd{C-n} | ||
| 103 | displays the next page if you are at the end of the current page. | ||
| 104 | |||
| 105 | @findex doc-view-next-page | ||
| 106 | @findex doc-view-previous-page | ||
| 107 | You can also display the next page by typing @kbd{n}, @key{next} or | ||
| 108 | @kbd{C-x ]} (@code{doc-view-next-page}). To display the previous | ||
| 109 | page, type @kbd{p}, @key{prior} or @kbd{C-x [} | ||
| 110 | (@code{doc-view-previous-page}). | ||
| 111 | |||
| 112 | @findex doc-view-scroll-up-or-next-page | ||
| 113 | @findex doc-view-scroll-down-or-previous-page | ||
| 114 | The @key{SPC} (@code{doc-view-scroll-up-or-next-page}) key is a | ||
| 115 | convenient way to advance through the document. It scrolls within the | ||
| 116 | current page or advances to the next. @key{DEL} moves backwards in a | ||
| 117 | similar way (@code{doc-view-scroll-down-or-previous-page}). | ||
| 118 | |||
| 119 | @findex doc-view-first-page | ||
| 120 | @findex doc-view-last-page | ||
| 121 | @findex doc-view-goto-page | ||
| 122 | To go to the first page, type @kbd{M-<} | ||
| 123 | (@code{doc-view-first-page}); to go to the last one, type @kbd{M->} | ||
| 124 | (@code{doc-view-last-page}). To jump to a page by its number, type | ||
| 125 | @kbd{M-g M-g} or @kbd{M-g g} (@code{doc-view-goto-page}). | ||
| 126 | |||
| 127 | @node Searching | ||
| 128 | @subsection Searching | ||
| 129 | |||
| 130 | While in DocView mode, you can search the file's text for a regular | ||
| 131 | expression (@pxref{Regexps}). The interface for searching is inspired | ||
| 132 | by @code{isearch} (@pxref{Incremental Search}). | ||
| 133 | |||
| 134 | @findex doc-view-search | ||
| 135 | @findex doc-view-search-backward | ||
| 136 | @findex doc-view-show-tooltip | ||
| 137 | To begin a search, type @kbd{C-s} (@code{doc-view-search}) or | ||
| 138 | @kbd{C-r} (@code{doc-view-search-backward}). This reads a regular | ||
| 139 | expression using a minibuffer, then echoes the number of matches found | ||
| 140 | within the document. You can move forward and back among the matches | ||
| 141 | by typing @kbd{C-s} and @kbd{C-r}. DocView mode has no way to show | ||
| 142 | the match inside the page image; instead, it displays a tooltip (at | ||
| 143 | the mouse position) listing all matching lines in the current page. | ||
| 144 | To force display of this tooltip, type @kbd{C-t} | ||
| 145 | (@code{doc-view-show-tooltip}). | ||
| 146 | |||
| 147 | To start a new search, use the search command with a prefix | ||
| 148 | argument; i.e., @kbd{C-u C-s} for a forward search or @kbd{C-u C-r} | ||
| 149 | for a backward search. | ||
| 150 | |||
| 151 | @node Slicing | ||
| 152 | @subsection Slicing | ||
| 153 | |||
| 154 | Documents often have wide margins for printing. They are annoying | ||
| 155 | when reading the document on the screen, because they use up screen | ||
| 156 | space and can cause inconvenient scrolling. | ||
| 157 | |||
| 158 | @findex doc-view-set-slice | ||
| 159 | @findex doc-view-set-slice-using-mouse | ||
| 160 | With DocView you can hide these margins by selecting a @dfn{slice} | ||
| 161 | of pages to display. A slice is a rectangle within the page area; | ||
| 162 | once you specify a slice in DocView, it applies to whichever page you | ||
| 163 | look at. | ||
| 164 | |||
| 165 | To specify the slice numerically, type @kbd{s s} | ||
| 166 | (@code{doc-view-set-slice}); then enter the top left pixel position | ||
| 167 | and the slice's width and height. | ||
| 168 | @c ??? how does this work? | ||
| 169 | |||
| 170 | A more convenient graphical way to specify the slice is with @kbd{s | ||
| 171 | m} (@code{doc-view-set-slice-using-mouse}), where you use the mouse to | ||
| 172 | select the slice. | ||
| 173 | @c ??? How does this work? | ||
| 174 | |||
| 175 | @findex doc-view-reset-slice | ||
| 176 | To cancel the selected slice, type @kbd{s r} | ||
| 177 | (@code{doc-view-reset-slice}). Then DocView shows the entire page | ||
| 178 | including its entire margins. | ||
| 179 | |||
| 180 | @node Conversion | ||
| 181 | @subsection Conversion | ||
| 182 | |||
| 183 | @vindex doc-view-cache-directory | ||
| 184 | @findex doc-view-clear-cache | ||
| 185 | For efficiency, DocView caches the images produced by @command{gs}. | ||
| 186 | The name of this directory is given by the variable | ||
| 187 | @code{doc-view-cache-directory}. You can clear the cache directory by | ||
| 188 | typing @code{M-x doc-view-clear-cache}. | ||
| 189 | |||
| 190 | @findex doc-view-kill-proc | ||
| 191 | @findex doc-view-kill-proc-and-buffer | ||
| 192 | To force a reconversion of the currently viewed document, type | ||
| 193 | @kbd{r} or @kbd{g} (@code{revert-buffer}). To kill the converter | ||
| 194 | process associated with the current buffer, type @kbd{K} | ||
| 195 | (@code{doc-view-kill-proc}). The command @kbd{k} | ||
| 196 | (@code{doc-view-kill-proc-and-buffer}) kills the converter process and | ||
| 197 | the DocView buffer. | ||
| 198 | |||
| 199 | The zoom commands @kbd{+} (@code{doc-view-enlarge}) and @kbd{-} | ||
| 200 | (@code{doc-view-shrink}) need to reconvert the document at the new | ||
| 201 | size. The current page is converted first. | ||
| 202 | |||
| 203 | @node Gnus, Shell, Rmail, Top | ||
| 204 | @section Gnus | 24 | @section Gnus |
| 205 | @cindex Gnus | 25 | @cindex Gnus |
| 206 | @cindex reading netnews | 26 | @cindex reading netnews |
| @@ -411,82 +231,187 @@ for @var{regexp}. | |||
| 411 | 231 | ||
| 412 | @end table | 232 | @end table |
| 413 | 233 | ||
| 414 | @ignore | 234 | @node Document View |
| 415 | @node Where to Look | 235 | @section Document Viewing |
| 416 | @subsection Where to Look Further | 236 | @cindex DVI file |
| 237 | @cindex PDF file | ||
| 238 | @cindex PS file | ||
| 239 | @cindex Postscript file | ||
| 240 | @cindex OpenDocument file | ||
| 241 | @cindex Microsoft Office file | ||
| 242 | @cindex DocView mode | ||
| 243 | @cindex mode, DocView | ||
| 244 | @cindex document viewer (DocView) | ||
| 245 | @findex doc-view-mode | ||
| 417 | 246 | ||
| 418 | @c Too many references to the name of the manual if done with xref in TeX! | 247 | DocView mode (@code{doc-view-mode}) is a viewer for DVI, Postscript |
| 419 | Gnus is powerful and customizable. Here are references to a few | 248 | (PS), PDF, OpenDocument, and Microsoft Office documents. It provides |
| 420 | @ifnottex | 249 | features such as slicing, zooming, and searching inside documents. It |
| 421 | additional topics: | 250 | works by converting the document to a set of images using the |
| 251 | @command{gs} (GhostScript) command and other external tools | ||
| 252 | @footnote{@code{gs} is a hard requirement. For DVI files, | ||
| 253 | @code{dvipdf} or @code{dvipdfm} is needed. For OpenDocument and | ||
| 254 | Microsoft Office documents, the @code{unoconv} tool is needed.}, and | ||
| 255 | displaying those images. | ||
| 422 | 256 | ||
| 423 | @end ifnottex | 257 | @findex doc-view-toggle-display |
| 424 | @iftex | 258 | @findex doc-view-toggle-display |
| 425 | additional topics in @cite{The Gnus Manual}: | 259 | @cindex doc-view-minor-mode |
| 260 | When you visit a document file with the exception of Postscript | ||
| 261 | files, Emacs automatically switches to DocView mode if possible | ||
| 262 | @footnote{The needed external tools for this document type have to be | ||
| 263 | available, emacs needs to run in a graphical frame, and PNG image | ||
| 264 | support has to be compiled into emacs. If any of these requirements | ||
| 265 | is not fulfilled, DocView falls back to an appropriate mode.}. When | ||
| 266 | you visit a Postscript file, Emacs switches to PS mode, a major mode | ||
| 267 | for editing Postscript files as text; however, it also enables DocView | ||
| 268 | minor mode, so you can type @kbd{C-c C-c} to view the document with | ||
| 269 | DocView. (PDF and DVI files, unlike Postscript files, are not usually | ||
| 270 | human-editable.) In either case, repeating @kbd{C-c C-c} | ||
| 271 | (@code{doc-view-toggle-display}) toggles between DocView and the file | ||
| 272 | text. | ||
| 426 | 273 | ||
| 427 | @itemize @bullet | 274 | You can explicitly toggle DocView mode with the command @code{M-x |
| 428 | @item | 275 | doc-view-mode}, and DocView minor mode with the command @code{M-x |
| 429 | Follow discussions on specific topics.@* | 276 | doc-view-minor-mode}. |
| 430 | See section ``Threading.'' | ||
| 431 | 277 | ||
| 432 | @item | 278 | When DocView mode starts, it displays a welcome screen and begins |
| 433 | Read digests. See section ``Document Groups.'' | 279 | formatting the file, page by page. It displays the first page once |
| 280 | that has been formatted. | ||
| 434 | 281 | ||
| 435 | @item | 282 | @findex doc-view-enlarge |
| 436 | Refer to and jump to the parent of the current article.@* | 283 | @findex doc-view-shrink |
| 437 | See section ``Finding the Parent.'' | 284 | @vindex doc-view-resolution |
| 285 | When in DocView mode, you can enlarge or shrink the document with | ||
| 286 | @kbd{+} (@code{doc-view-enlarge}) and @kbd{-} | ||
| 287 | (@code{doc-view-shrink}). To specify the default size for DocView, | ||
| 288 | set or customize the variable @code{doc-view-resolution}. | ||
| 438 | 289 | ||
| 439 | @item | 290 | To kill the DocView buffer, type @kbd{k} |
| 440 | Refer to articles by using Message-IDs included in the messages.@* | 291 | (@code{doc-view-kill-proc-and-buffer}). To bury it, type @kbd{q} |
| 441 | See section ``Article Keymap.'' | 292 | (@code{quit-window}). |
| 442 | 293 | ||
| 443 | @item | 294 | @menu |
| 444 | Save articles. See section ``Saving Articles.'' | 295 | * Navigation:: Navigation inside DocView buffers. |
| 296 | * Searching:: Searching inside documents. | ||
| 297 | * Slicing:: Specifying which part of pages should be displayed. | ||
| 298 | * Conversion:: Influencing and triggering conversion. | ||
| 299 | @end menu | ||
| 445 | 300 | ||
| 446 | @item | 301 | @node Navigation |
| 447 | Have Gnus score articles according to various criteria, like author | 302 | @subsection Navigation |
| 448 | name, subject, or string in the body of the articles.@* | ||
| 449 | See section ``Scoring.'' | ||
| 450 | 303 | ||
| 451 | @item | 304 | When in DocView mode, you can scroll the current page using the usual |
| 452 | Send an article to a newsgroup.@* | 305 | Emacs movement keys: @kbd{C-p}, @kbd{C-n}, @kbd{C-b}, @kbd{C-f}, and |
| 453 | See section ``Composing Messages.'' | 306 | the arrow keys. |
| 454 | @end itemize | ||
| 455 | @end iftex | ||
| 456 | @ifnottex | ||
| 457 | @itemize @bullet | ||
| 458 | @item | ||
| 459 | Follow discussions on specific topics.@* | ||
| 460 | @xref{Threading, , Reading Based on Conversation Threads, | ||
| 461 | gnus, The Gnus Manual}. | ||
| 462 | 307 | ||
| 463 | @item | 308 | @vindex doc-view-continuous |
| 464 | Read digests. @xref{Document Groups, , , gnus, The Gnus Manual}. | 309 | By default, the line-motion keys @kbd{C-p} and @kbd{C-n} stop |
| 310 | scrolling at the beginning and end of the current page, respectively. | ||
| 311 | However, if you change the variable @code{doc-view-continuous} to a | ||
| 312 | non-@code{nil} value, then @kbd{C-p} displays the previous page if you | ||
| 313 | are already at the beginning of the current page, and @kbd{C-n} | ||
| 314 | displays the next page if you are at the end of the current page. | ||
| 465 | 315 | ||
| 466 | @item | 316 | @findex doc-view-next-page |
| 467 | Refer to and jump to the parent of the current article.@* | 317 | @findex doc-view-previous-page |
| 468 | @xref{Finding the Parent, , , gnus, The Gnus Manual}. | 318 | You can also display the next page by typing @kbd{n}, @key{next} or |
| 319 | @kbd{C-x ]} (@code{doc-view-next-page}). To display the previous | ||
| 320 | page, type @kbd{p}, @key{prior} or @kbd{C-x [} | ||
| 321 | (@code{doc-view-previous-page}). | ||
| 469 | 322 | ||
| 470 | @item | 323 | @findex doc-view-scroll-up-or-next-page |
| 471 | Refer to articles by using Message-IDs included in the messages.@* | 324 | @findex doc-view-scroll-down-or-previous-page |
| 472 | @xref{Article Keymap, , , gnus, The Gnus Manual}. | 325 | The @key{SPC} (@code{doc-view-scroll-up-or-next-page}) key is a |
| 326 | convenient way to advance through the document. It scrolls within the | ||
| 327 | current page or advances to the next. @key{DEL} moves backwards in a | ||
| 328 | similar way (@code{doc-view-scroll-down-or-previous-page}). | ||
| 473 | 329 | ||
| 474 | @item | 330 | @findex doc-view-first-page |
| 475 | Save articles. @xref{Saving Articles, , , gnus, The Gnus Manual}. | 331 | @findex doc-view-last-page |
| 332 | @findex doc-view-goto-page | ||
| 333 | To go to the first page, type @kbd{M-<} | ||
| 334 | (@code{doc-view-first-page}); to go to the last one, type @kbd{M->} | ||
| 335 | (@code{doc-view-last-page}). To jump to a page by its number, type | ||
| 336 | @kbd{M-g M-g} or @kbd{M-g g} (@code{doc-view-goto-page}). | ||
| 476 | 337 | ||
| 477 | @item | 338 | @node Searching |
| 478 | Have Gnus score articles according to various criteria, like author | 339 | @subsection Searching |
| 479 | name, subject, or string in the body of the articles.@* | ||
| 480 | @xref{Scoring, , , gnus, The Gnus Manual}. | ||
| 481 | 340 | ||
| 482 | @item | 341 | While in DocView mode, you can search the file's text for a regular |
| 483 | Send an article to a newsgroup.@* | 342 | expression (@pxref{Regexps}). The interface for searching is inspired |
| 484 | @xref{Composing Messages, , , gnus, The Gnus Manual}. | 343 | by @code{isearch} (@pxref{Incremental Search}). |
| 485 | @end itemize | 344 | |
| 486 | @end ifnottex | 345 | @findex doc-view-search |
| 487 | @end ignore | 346 | @findex doc-view-search-backward |
| 347 | @findex doc-view-show-tooltip | ||
| 348 | To begin a search, type @kbd{C-s} (@code{doc-view-search}) or | ||
| 349 | @kbd{C-r} (@code{doc-view-search-backward}). This reads a regular | ||
| 350 | expression using a minibuffer, then echoes the number of matches found | ||
| 351 | within the document. You can move forward and back among the matches | ||
| 352 | by typing @kbd{C-s} and @kbd{C-r}. DocView mode has no way to show | ||
| 353 | the match inside the page image; instead, it displays a tooltip (at | ||
| 354 | the mouse position) listing all matching lines in the current page. | ||
| 355 | To force display of this tooltip, type @kbd{C-t} | ||
| 356 | (@code{doc-view-show-tooltip}). | ||
| 357 | |||
| 358 | To start a new search, use the search command with a prefix | ||
| 359 | argument; i.e., @kbd{C-u C-s} for a forward search or @kbd{C-u C-r} | ||
| 360 | for a backward search. | ||
| 361 | |||
| 362 | @node Slicing | ||
| 363 | @subsection Slicing | ||
| 364 | |||
| 365 | Documents often have wide margins for printing. They are annoying | ||
| 366 | when reading the document on the screen, because they use up screen | ||
| 367 | space and can cause inconvenient scrolling. | ||
| 368 | |||
| 369 | @findex doc-view-set-slice | ||
| 370 | @findex doc-view-set-slice-using-mouse | ||
| 371 | With DocView you can hide these margins by selecting a @dfn{slice} | ||
| 372 | of pages to display. A slice is a rectangle within the page area; | ||
| 373 | once you specify a slice in DocView, it applies to whichever page you | ||
| 374 | look at. | ||
| 375 | |||
| 376 | To specify the slice numerically, type @kbd{s s} | ||
| 377 | (@code{doc-view-set-slice}); then enter the top left pixel position | ||
| 378 | and the slice's width and height. | ||
| 379 | @c ??? how does this work? | ||
| 380 | |||
| 381 | A more convenient graphical way to specify the slice is with @kbd{s | ||
| 382 | m} (@code{doc-view-set-slice-using-mouse}), where you use the mouse to | ||
| 383 | select the slice. | ||
| 384 | @c ??? How does this work? | ||
| 385 | |||
| 386 | @findex doc-view-reset-slice | ||
| 387 | To cancel the selected slice, type @kbd{s r} | ||
| 388 | (@code{doc-view-reset-slice}). Then DocView shows the entire page | ||
| 389 | including its entire margins. | ||
| 390 | |||
| 391 | @node Conversion | ||
| 392 | @subsection Conversion | ||
| 393 | |||
| 394 | @vindex doc-view-cache-directory | ||
| 395 | @findex doc-view-clear-cache | ||
| 396 | For efficiency, DocView caches the images produced by @command{gs}. | ||
| 397 | The name of this directory is given by the variable | ||
| 398 | @code{doc-view-cache-directory}. You can clear the cache directory by | ||
| 399 | typing @code{M-x doc-view-clear-cache}. | ||
| 400 | |||
| 401 | @findex doc-view-kill-proc | ||
| 402 | @findex doc-view-kill-proc-and-buffer | ||
| 403 | To force a reconversion of the currently viewed document, type | ||
| 404 | @kbd{r} or @kbd{g} (@code{revert-buffer}). To kill the converter | ||
| 405 | process associated with the current buffer, type @kbd{K} | ||
| 406 | (@code{doc-view-kill-proc}). The command @kbd{k} | ||
| 407 | (@code{doc-view-kill-proc-and-buffer}) kills the converter process and | ||
| 408 | the DocView buffer. | ||
| 409 | |||
| 410 | The zoom commands @kbd{+} (@code{doc-view-enlarge}) and @kbd{-} | ||
| 411 | (@code{doc-view-shrink}) need to reconvert the document at the new | ||
| 412 | size. The current page is converted first. | ||
| 488 | 413 | ||
| 489 | @node Shell, Emacs Server, Gnus, Top | 414 | @node Shell |
| 490 | @section Running Shell Commands from Emacs | 415 | @section Running Shell Commands from Emacs |
| 491 | @cindex subshell | 416 | @cindex subshell |
| 492 | @cindex shell commands | 417 | @cindex shell commands |
| @@ -1788,7 +1713,7 @@ not compatible with @code{lpr}. | |||
| 1788 | @end menu | 1713 | @end menu |
| 1789 | 1714 | ||
| 1790 | @node PostScript, PostScript Variables,, Printing | 1715 | @node PostScript, PostScript Variables,, Printing |
| 1791 | @section PostScript Hardcopy | 1716 | @subsection PostScript Hardcopy |
| 1792 | 1717 | ||
| 1793 | These commands convert buffer contents to PostScript, | 1718 | These commands convert buffer contents to PostScript, |
| 1794 | either printing it or leaving it in another Emacs buffer. | 1719 | either printing it or leaving it in another Emacs buffer. |
| @@ -1878,7 +1803,7 @@ supports ISO 8859-1 characters. | |||
| 1878 | @end ifnottex | 1803 | @end ifnottex |
| 1879 | 1804 | ||
| 1880 | @node PostScript Variables, Printing Package, PostScript, Printing | 1805 | @node PostScript Variables, Printing Package, PostScript, Printing |
| 1881 | @section Variables for PostScript Hardcopy | 1806 | @subsection Variables for PostScript Hardcopy |
| 1882 | 1807 | ||
| 1883 | @vindex ps-lpr-command | 1808 | @vindex ps-lpr-command |
| 1884 | @vindex ps-lpr-switches | 1809 | @vindex ps-lpr-switches |
| @@ -1973,7 +1898,7 @@ includes a single directory @file{/usr/local/share/emacs/fonts/bdf}. | |||
| 1973 | described in the Lisp files @file{ps-print.el} and @file{ps-mule.el}. | 1898 | described in the Lisp files @file{ps-print.el} and @file{ps-mule.el}. |
| 1974 | 1899 | ||
| 1975 | @node Printing Package,, PostScript Variables, Printing | 1900 | @node Printing Package,, PostScript Variables, Printing |
| 1976 | @section Printing Package | 1901 | @subsection Printing Package |
| 1977 | @cindex Printing package | 1902 | @cindex Printing package |
| 1978 | 1903 | ||
| 1979 | The basic Emacs facilities for printing hardcopy can be extended | 1904 | The basic Emacs facilities for printing hardcopy can be extended |
diff --git a/doc/emacs/rmail.texi b/doc/emacs/rmail.texi index 97459f02937..0a9594d3798 100644 --- a/doc/emacs/rmail.texi +++ b/doc/emacs/rmail.texi | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | @c Copyright (C) 1985-1987, 1993-1995, 1997, 2001-2011 | 2 | @c Copyright (C) 1985-1987, 1993-1995, 1997, 2001-2011 |
| 3 | @c Free Software Foundation, Inc. | 3 | @c Free Software Foundation, Inc. |
| 4 | @c See file emacs.texi for copying conditions. | 4 | @c See file emacs.texi for copying conditions. |
| 5 | @node Rmail, Gnus, Sending Mail, Top | 5 | @node Rmail |
| 6 | @chapter Reading Mail with Rmail | 6 | @chapter Reading Mail with Rmail |
| 7 | @cindex Rmail | 7 | @cindex Rmail |
| 8 | @cindex reading mail | 8 | @cindex reading mail |
diff --git a/doc/emacs/sending.texi b/doc/emacs/sending.texi index 10251cc39ae..02857459cc1 100644 --- a/doc/emacs/sending.texi +++ b/doc/emacs/sending.texi | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | @c Copyright (C) 1985-1987, 1993-1995, 1997, 2000-2011 | 2 | @c Copyright (C) 1985-1987, 1993-1995, 1997, 2000-2011 |
| 3 | @c Free Software Foundation, Inc. | 3 | @c Free Software Foundation, Inc. |
| 4 | @c See file emacs.texi for copying conditions. | 4 | @c See file emacs.texi for copying conditions. |
| 5 | @node Sending Mail, Rmail, Document View, Top | 5 | @node Sending Mail |
| 6 | @chapter Sending Mail | 6 | @chapter Sending Mail |
| 7 | @cindex sending mail | 7 | @cindex sending mail |
| 8 | @cindex mail | 8 | @cindex mail |