aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2012-01-01 16:21:38 +0800
committerChong Yidong2012-01-01 16:21:38 +0800
commitb8ecfdfefb31b4e8b08b65cb64787b4f284de133 (patch)
tree9afcd11952ea3fa66c7560525d0664a34dee4918
parent94d4c7dc47adbb7571206a60c6d7445a22ecf40e (diff)
downloademacs-b8ecfdfefb31b4e8b08b65cb64787b4f284de133.tar.gz
emacs-b8ecfdfefb31b4e8b08b65cb64787b4f284de133.zip
Updates to misc.texi in Emacs manual.
* misc.texi (Gnus, Buffers of Gnus): Copyedits. (Gnus Startup): Note that the system might not be set up for news. Describe group levels more clearly. (Gnus Group Buffer, Gnus Summary Buffer): New nodes, split from Summary of Gnus. (Document View): Copyedits. Move zoom commads to DocView Navigation node. (DocView Navigation, DocView Searching, DocView Slicing) (DocView Conversion): Nodes renamed from Navigation, etc. * sending.texi (Mail Sending): Add message-kill-buffer-on-exit.
-rw-r--r--admin/FOR-RELEASE1
-rw-r--r--doc/emacs/ChangeLog14
-rw-r--r--doc/emacs/emacs.texi11
-rw-r--r--doc/emacs/misc.texi424
-rw-r--r--doc/emacs/sending.texi75
5 files changed, 280 insertions, 245 deletions
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE
index e8e756081ed..114ace6065a 100644
--- a/admin/FOR-RELEASE
+++ b/admin/FOR-RELEASE
@@ -154,7 +154,6 @@ killing.texi cyd
154kmacro.texi cyd 154kmacro.texi cyd
155macos.texi 155macos.texi
156maintaining.texi cyd 156maintaining.texi cyd
157major.texi
158mark.texi cyd 157mark.texi cyd
159mini.texi 158mini.texi
160misc.texi 159misc.texi
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index dbe32e9236a..30ba8779e72 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,17 @@
12012-01-01 Chong Yidong <cyd@gnu.org>
2
3 * misc.texi (Gnus, Buffers of Gnus): Copyedits.
4 (Gnus Startup): Note that the system might not be set up for news.
5 Describe group levels more clearly.
6 (Gnus Group Buffer, Gnus Summary Buffer): New nodes, split from
7 Summary of Gnus.
8 (Document View): Copyedits. Move zoom commads to DocView
9 Navigation node.
10 (DocView Navigation, DocView Searching, DocView Slicing)
11 (DocView Conversion): Nodes renamed from Navigation, etc.
12
13 * sending.texi (Mail Sending): Add message-kill-buffer-on-exit.
14
12011-12-31 Eli Zaretskii <eliz@gnu.org> 152011-12-31 Eli Zaretskii <eliz@gnu.org>
2 16
3 * basic.texi (Moving Point): Fix the description of C-n and C-p. 17 * basic.texi (Moving Point): Fix the description of C-n and C-p.
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi
index ca6162ff824..9db0bd4616e 100644
--- a/doc/emacs/emacs.texi
+++ b/doc/emacs/emacs.texi
@@ -919,10 +919,10 @@ Customizing the Calendar and Diary
919 919
920Document Viewing 920Document Viewing
921 921
922* Navigation:: Navigation inside DocView buffers. 922* DocView Navigation:: Navigating DocView buffers.
923* Searching:: Searching inside documents. 923* DocView Searching:: Searching inside documents.
924* Slicing:: Specifying which part of pages should be displayed. 924* DocView Slicing:: Specifying which part of a page is displayed.
925* Conversion:: Influencing and triggering conversion. 925* DocView Conversion:: Influencing and triggering conversion.
926 926
927Sending Mail 927Sending Mail
928 928
@@ -974,7 +974,8 @@ Gnus
974 974
975* Buffers of Gnus:: The group, summary, and article buffers. 975* Buffers of Gnus:: The group, summary, and article buffers.
976* Gnus Startup:: What you should know about starting Gnus. 976* Gnus Startup:: What you should know about starting Gnus.
977* Summary of Gnus:: A short description of the basic Gnus commands. 977* Gnus Group Buffer:: A short description of Gnus group commands.
978* Gnus Summary Buffer:: A short description of Gnus summary commands.
978 979
979Running Shell Commands from Emacs 980Running Shell Commands from Emacs
980 981
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 714e7f3441c..3d86241a497 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -6,7 +6,7 @@
6@chapter Miscellaneous Commands 6@chapter Miscellaneous Commands
7 7
8 This chapter contains several brief topics that do not fit anywhere 8 This chapter contains several brief topics that do not fit anywhere
9else: viewing ``document files'', reading netnews, running shell 9else: viewing ``document files'', reading Usenet news, running shell
10commands and shell subprocesses, using a single shared Emacs for 10commands and shell subprocesses, using a single shared Emacs for
11utilities that expect to run an editor as a subprocess, printing 11utilities that expect to run an editor as a subprocess, printing
12hardcopy, sorting text, narrowing display to part of the buffer, 12hardcopy, sorting text, narrowing display to part of the buffer,
@@ -23,12 +23,13 @@ various diversions and amusements.
23@node Gnus 23@node Gnus
24@section Gnus 24@section Gnus
25@cindex Gnus 25@cindex Gnus
26@cindex reading netnews 26@cindex Usenet news
27@cindex newsreader
27 28
28Gnus is an Emacs package primarily designed for reading and posting 29 Gnus is an Emacs package primarily designed for reading and posting
29Usenet news. It can also be used to read and respond to messages from a 30Usenet news. It can also be used to read and respond to messages from
30number of other sources---mail, remote directories, digests, and so on. 31a number of other sources---email, remote directories, digests, and so
31Here we introduce Gnus and describe several basic features. 32on. Here we introduce Gnus and describe several basic features.
32@ifnottex 33@ifnottex
33For full details, see @ref{Top, Gnus,, gnus, The Gnus Manual}. 34For full details, see @ref{Top, Gnus,, gnus, The Gnus Manual}.
34@end ifnottex 35@end ifnottex
@@ -37,198 +38,216 @@ For full details on Gnus, type @kbd{C-h i} and then select the Gnus
37manual. 38manual.
38@end iftex 39@end iftex
39 40
40@findex gnus
41To start Gnus, type @kbd{M-x gnus @key{RET}}.
42
43@menu 41@menu
44* Buffers of Gnus:: The group, summary, and article buffers. 42* Buffers of Gnus:: The group, summary, and article buffers.
45* Gnus Startup:: What you should know about starting Gnus. 43* Gnus Startup:: What you should know about starting Gnus.
46* Summary of Gnus:: A short description of the basic Gnus commands. 44* Gnus Group Buffer:: A short description of Gnus group commands.
45* Gnus Summary Buffer:: A short description of Gnus summary commands.
47@end menu 46@end menu
48 47
49@node Buffers of Gnus 48@node Buffers of Gnus
50@subsection Gnus Buffers 49@subsection Gnus Buffers
51 50
52Unlike most Emacs packages, Gnus uses several buffers to display 51 Gnus uses several buffers to display information and to receive
53information and to receive commands. The three Gnus buffers users use 52commands. The three most commonly-used Gnus buffers are the
54most are the @dfn{group buffer}, the @dfn{summary buffer} and the 53@dfn{group buffer}, the @dfn{summary buffer} and the @dfn{article
55@dfn{article buffer}. 54buffer}.
56 55
57The @dfn{group buffer} contains a list of newsgroups. This is the 56 The @dfn{group buffer} contains a list of article sources (e.g.@:
58first buffer Gnus displays when it starts up. It normally displays 57newsgroups and email inboxes), which are collectively referred to as
59only the groups to which you subscribe and that contain unread 58@dfn{groups}. This is the first buffer Gnus displays when it starts
60articles. Use this buffer to select a specific group. 59up. It normally displays only the groups to which you subscribe and
61 60that contain unread articles. From this buffer, you can select a
62The @dfn{summary buffer} lists one line for each article in a single 61group to read.
63group. By default, the author, the subject and the line number are 62
64displayed for each article, but this is customizable, like most aspects 63 The @dfn{summary buffer} lists the articles in a single group,
65of Gnus display. The summary buffer is created when you select a group 64showing one article per line. By default, it displays each article's
66in the group buffer, and is killed when you exit the group. Use this 65author, subject, and line
67buffer to select an article. 66@iftex
68 67number.
69The @dfn{article buffer} displays the article. In normal Gnus usage, 68@end iftex
70you see this buffer but you don't select it---all useful 69@ifnottex
71article-oriented commands work in the summary buffer. But you can 70number, but this is customizable; @xref{Summary Buffer Format,,, gnus,
72select the article buffer, and execute all Gnus commands from that 71The Gnus Manual}.
73buffer, if you want to. 72@end ifnottex
73The summary buffer is created when you select a group in the group
74buffer, and is killed when you exit the group.
75
76 From the summary buffer, you can choose an article to view. The
77article is displayed in the @dfn{article buffer}. In normal Gnus
78usage, you view this buffer but do not select it---all useful Gnus
79commands can be invoked from the summary buffer. But you can select
80the article buffer, and execute Gnus commands from it, if you wish.
74 81
75@node Gnus Startup 82@node Gnus Startup
76@subsection When Gnus Starts Up 83@subsection When Gnus Starts Up
77 84
78At startup, Gnus reads your @file{.newsrc} news initialization file 85@findex gnus
79and attempts to communicate with the local news server, which is a 86@cindex @file{.newsrc} file
80repository of news articles. The news server need not be the same 87 If your system has been set up for reading Usenet news, getting
81computer you are logged in on. 88started with Gnus is easy---just type @kbd{M-x gnus}.
82 89
83If you start Gnus and connect to the server, but do not see any 90 On starting up, Gnus reads your @dfn{news initialization file}: a
84newsgroups listed in the group buffer, type @kbd{L} or @kbd{A k} to get 91file named @file{.newsrc} in your home directory which lists your
85a listing of all the groups. Then type @kbd{u} to toggle 92Usenet newsgroups and subscriptions (this file is not unique to Gnus;
86subscription to groups. 93it is used by many other newsreader programs). It then tries to
87 94contact the system's default news server, which is typically specified
88The first time you start Gnus, Gnus subscribes you to a few selected 95by the @samp{NNTPSERVER} environment variable.
89groups. All other groups start out as @dfn{killed groups} for you; you 96
90can list them with @kbd{A k}. All new groups that subsequently come to 97 If your system does not have a default news server, or if you wish
91exist at the news server become @dfn{zombie groups} for you; type @kbd{A 98to use Gnus for reading email, then before invoking @kbd{M-x gnus} you
92z} to list them. You can subscribe to a group shown in these lists 99need to tell Gnus where to get news and/or mail. To do this,
93using the @kbd{u} command. 100customize the variables @code{gnus-select-method} and/or
94 101@code{gnus-secondary-select-methods}.
95When you quit Gnus with @kbd{q}, it automatically records in your 102@iftex
96@file{.newsrc} and @file{.newsrc.eld} initialization files the 103See the Gnus manual for details.
97subscribed or unsubscribed status of all groups. You should normally 104@end iftex
98not edit these files manually, but you may if you know how. 105@ifnottex
106@xref{Finding the News,,, gnus, The Gnus Manual}.
107@end ifnottex
99 108
100@node Summary of Gnus 109 Once Gnus has started up, it displays the group buffer. By default,
101@subsection Summary of Gnus Commands 110the group buffer shows only a small number of @dfn{subscribed groups}.
111Groups with other statuses---@dfn{unsubscribed}, @dfn{killed}, or
112@dfn{zombie}---are hidden. The first time you start Gnus, any group
113to which you are not subscribed is made into a killed group; any group
114that subsequently appears on the news server becomes a zombie group.
102 115
103Reading news is a two-step process: 116 To proceed, you must select a group in the group buffer to open the
117summary buffer for that group; then, select an article in the summary
118buffer to view its article buffer in a separate window. The following
119sections explain how to use the group and summary buffers to do this.
104 120
105@enumerate 121 To quit Gnus, type @kbd{q} in the group buffer. This automatically
106@item 122records your group statuses in the files @file{.newsrc} and
107Choose a group in the group buffer. 123@file{.newsrc.eld}, so that they take effect in subsequent Gnus
124sessions.
108 125
109@item 126@node Gnus Group Buffer
110Select articles from the summary buffer. Each article selected is 127@subsection Using the Gnus Group Buffer
111displayed in the article buffer in a large window, below the summary
112buffer in its small window.
113@end enumerate
114 128
115 Each Gnus buffer has its own special commands; the meanings of any 129 The following commands are available in the Gnus group buffer:
116given key in the various Gnus buffers are usually analogous, even if
117not identical. Here are commands for the group and summary buffers:
118 130
119@table @kbd 131@table @kbd
120@kindex q @r{(Gnus Group mode)} 132@kindex SPC @r{(Gnus Group mode)}
121@findex gnus-group-exit 133@findex gnus-group-read-group
122@item q 134@item @key{SPC}
123In the group buffer, update your @file{.newsrc} initialization file 135Switch to the summary buffer for the group on the current line.
124and quit Gnus.
125 136
126In the summary buffer, exit the current group and return to the 137@kindex l @r{(Gnus Group mode)}
127group buffer. Thus, typing @kbd{q} twice quits Gnus. 138@kindex A s @r{(Gnus Group mode)}
139@findex gnus-group-list-groups
140@item l
141@itemx A s
142In the group buffer, list only the groups to which you subscribe and
143which contain unread articles (this is the default listing).
128 144
129@kindex L @r{(Gnus Group mode)} 145@kindex L @r{(Gnus Group mode)}
146@kindex A u @r{(Gnus Group mode)}
130@findex gnus-group-list-all-groups 147@findex gnus-group-list-all-groups
131@item L 148@item L
132In the group buffer, list all the groups available on your news 149@itemx A u
133server (except those you have killed). This may be a long list! 150List all subscribed and unsubscribed groups, but not killed or zombie
151groups.
134 152
135@kindex l @r{(Gnus Group mode)} 153@kindex A k @r{(Gnus Group mode)}
136@findex gnus-group-list-groups 154@findex gnus-group-list-all-groups
137@item l 155@item A k
138In the group buffer, list only the groups to which you subscribe and 156List killed groups.
139which contain unread articles. 157
158@kindex A z @r{(Gnus Group mode)}
159@findex gnus-group-list-all-groups
160@item A z
161List zombie groups.
140 162
141@kindex u @r{(Gnus Group mode)} 163@kindex u @r{(Gnus Group mode)}
142@findex gnus-group-unsubscribe-current-group 164@findex gnus-group-unsubscribe-current-group
143@cindex subscribe groups 165@cindex subscribe groups
144@cindex unsubscribe groups 166@cindex unsubscribe groups
145@item u 167@item u
146In the group buffer, unsubscribe from (or subscribe to) the group listed 168Toggle the subscription status of the group on the current line
147in the line that point is on. When you quit Gnus by typing @kbd{q}, 169(i.e.@: turn a subscribed group into an unsubscribed group, or vice
148Gnus lists in your @file{.newsrc} file which groups you have subscribed 170versa). Invoking this on a killed or zombie group turns it into an
149to. The next time you start Gnus, you won't see this group, 171unsubscribed group.
150because Gnus normally displays only subscribed-to groups.
151 172
152@kindex C-k @r{(Gnus)} 173@kindex C-k @r{(Gnus Group mode)}
153@findex gnus-group-kill-group 174@findex gnus-group-kill-group
154@item C-k 175@item C-k
155In the group buffer, ``kill'' the current line's group---don't 176Kill the group on the current line. Killed groups are not recorded in
156even list it in @file{.newsrc} from now on. This affects future 177the @file{.newsrc} file, and they are not shown in the @kbd{l} or
157Gnus sessions as well as the present session. 178@kbd{L} listings.
158 179
159When you quit Gnus by typing @kbd{q}, Gnus writes information 180@kindex DEL @r{(Gnus Group mode)}
160in the file @file{.newsrc} describing all newsgroups except those you 181@item @key{DEL}
161have ``killed.'' 182Move point to the previous group containing unread articles.
162 183
163@kindex SPC @r{(Gnus)} 184@kindex n @r{(Gnus Group mode)}
164@findex gnus-group-read-group 185@findex gnus-group-next-unread-group
165@item @key{SPC} 186@findex gnus-summary-next-unread-article
166In the group buffer, select the group on the line under the cursor 187@item n
167and display the first unread article in that group. 188Move point to the next unread group.
168 189
169@need 1000 190@kindex p @r{(Gnus Group mode)}
170In the summary buffer, 191@findex gnus-group-prev-unread-group
192@findex gnus-summary-prev-unread-article
193@item p
194Move point to the previous unread group.
171 195
172@itemize @bullet 196@kindex q @r{(Gnus Group mode)}
173@item 197@findex gnus-group-exit
174Select the article on the line under the cursor if none is selected. 198@item q
199Update your Gnus settings, and quit Gnus.
200@end table
175 201
176@item 202@node Gnus Summary Buffer
177Scroll the text of the selected article (if there is one). 203@subsection Using the Gnus Summary Buffer
178 204
179@item 205 The following commands are available in the Gnus summary buffer:
180Select the next unread article if at the end of the current article.
181@end itemize
182 206
183Thus, you can move through all the articles by repeatedly typing @key{SPC}. 207@table @kbd
208@kindex SPC @r{(Gnus Summary mode)}
209@findex gnus-group-read-group
210@item @key{SPC}
211If there is no article selected, select the article on the current
212line and display its article buffer. Otherwise, try scrolling the
213selected article buffer in its window; on reaching the end of the
214buffer, select the next unread article.
184 215
185@kindex DEL @r{(Gnus)} 216Thus, you can read through all articles by repeatedly typing
186@item @key{DEL} 217@key{SPC}.
187In the group buffer, move point to the previous group containing
188unread articles.
189 218
219@kindex DEL @r{(Gnus Summary mode)}
190@findex gnus-summary-prev-page 220@findex gnus-summary-prev-page
191In the summary buffer, scroll the text of the article backwards. 221@item @key{DEL}
222Scroll the text of the article backwards.
192 223
193@kindex n @r{(Gnus)} 224@kindex n @r{(Gnus Summary mode)}
194@findex gnus-group-next-unread-group 225@findex gnus-group-next-unread-group
195@findex gnus-summary-next-unread-article 226@findex gnus-summary-next-unread-article
196@item n 227@item n
197Move point to the next unread group, or select the next unread article. 228Select the next unread article.
198 229
199@kindex p @r{(Gnus)} 230@kindex p @r{(Gnus Summary mode)}
200@findex gnus-group-prev-unread-group 231@findex gnus-group-prev-unread-group
201@findex gnus-summary-prev-unread-article 232@findex gnus-summary-prev-unread-article
202@item p 233@item p
203Move point to the previous unread group, or select the previous 234Select the previous unread article.
204unread article.
205
206@kindex C-n @r{(Gnus Group mode)}
207@findex gnus-group-next-group
208@kindex C-p @r{(Gnus Group mode)}
209@findex gnus-group-prev-group
210@kindex C-n @r{(Gnus Summary mode)}
211@findex gnus-summary-next-subject
212@kindex C-p @r{(Gnus Summary mode)}
213@findex gnus-summary-prev-subject
214@item C-n
215@itemx C-p
216Move point to the next or previous item, even if it is marked as read.
217This does not select the article or group on that line.
218 235
219@kindex s @r{(Gnus Summary mode)} 236@kindex s @r{(Gnus Summary mode)}
220@findex gnus-summary-isearch-article 237@findex gnus-summary-isearch-article
221@item s 238@item s
222In the summary buffer, do an incremental search of the current text in 239Do an incremental search on the selected article buffer, as if you
223the article buffer, just as if you switched to the article buffer and 240switched to the buffer and typed @kbd{C-s} (@pxref{Incremental
224typed @kbd{C-s}. 241Search}).
225 242
226@kindex M-s @r{(Gnus Summary mode)} 243@kindex M-s @r{(Gnus Summary mode)}
227@findex gnus-summary-search-article-forward 244@findex gnus-summary-search-article-forward
228@item M-s @var{regexp} @key{RET} 245@item M-s @var{regexp} @key{RET}
229In the summary buffer, search forward for articles containing a match 246Search forward for articles containing a match for @var{regexp}.
230for @var{regexp}.
231 247
248@kindex q @r{(Gnus Summary mode)}
249@item q
250Exit the summary buffer and return to the group buffer.
232@end table 251@end table
233 252
234@node Document View 253@node Document View
@@ -244,64 +263,54 @@ for @var{regexp}.
244@cindex document viewer (DocView) 263@cindex document viewer (DocView)
245@findex doc-view-mode 264@findex doc-view-mode
246 265
247DocView mode (@code{doc-view-mode}) is a viewer for DVI, PostScript 266 DocView mode is a major mode for viewing DVI, PostScript (PS), PDF,
248(PS), PDF, OpenDocument, and Microsoft Office documents. It provides 267OpenDocument, and Microsoft Office documents. It provides features
249features such as slicing, zooming, and searching inside documents. It 268such as slicing, zooming, and searching inside documents. It works by
250works by converting the document to a set of images using the 269converting the document to a set of images using the @command{gs}
251@command{gs} (GhostScript) command and other external tools 270(GhostScript) command and other external tools @footnote{@code{gs} is
252@footnote{@code{gs} is a hard requirement. For DVI files, 271a hard requirement. For DVI files, @code{dvipdf} or @code{dvipdfm} is
253@code{dvipdf} or @code{dvipdfm} is needed. For OpenDocument and 272needed. For OpenDocument and Microsoft Office documents, the
254Microsoft Office documents, the @code{unoconv} tool is needed.}, and 273@code{unoconv} tool is needed.}, and displaying those images.
255displaying those images.
256 274
257@findex doc-view-toggle-display 275@findex doc-view-toggle-display
258@findex doc-view-toggle-display 276@findex doc-view-toggle-display
259@cindex doc-view-minor-mode 277@cindex doc-view-minor-mode
260 When you visit a document file with the exception of PostScript 278 When you visit a document file that can be displayed with DocView
261files, Emacs automatically switches to DocView mode if possible 279mode, Emacs automatically uses DocView mode @footnote{The needed
262@footnote{The needed external tools for this document type have to be 280external tools for the document type must be available, and Emacs must
263available, emacs needs to run in a graphical frame, and PNG image 281be running in a graphical frame and have PNG image support. If any of
264support has to be compiled into emacs. If any of these requirements 282these requirements is not fulfilled, Emacs falls back to another major
265is not fulfilled, DocView falls back to an appropriate mode.}. When 283mode.}. As an exception, when you visit a PostScript file, Emacs
266you visit a PostScript file, Emacs switches to PS mode, a major mode 284switches to PS mode, a major mode for editing PostScript files as
267for editing PostScript files as text; however, it also enables DocView 285text; however, it also enables DocView minor mode, so you can type
268minor mode, so you can type @kbd{C-c C-c} to view the document with 286@kbd{C-c C-c} to view the document with DocView. In either DocView
269DocView. (PDF and DVI files, unlike PostScript files, are not usually 287mode or DocView minor mode, repeating @kbd{C-c C-c}
270human-editable.) In either case, repeating @kbd{C-c C-c} 288(@code{doc-view-toggle-display}) toggles between DocView and the
271(@code{doc-view-toggle-display}) toggles between DocView and the file 289underlying file contents.
272text. 290
273 291 You can explicitly enable DocView mode with the command @code{M-x
274 You can explicitly toggle DocView mode with the command @code{M-x 292doc-view-mode}. You can toggle DocView minor mode with @code{M-x
275doc-view-mode}, and DocView minor mode with the command @code{M-x
276doc-view-minor-mode}. 293doc-view-minor-mode}.
277 294
278 When DocView mode starts, it displays a welcome screen and begins 295 When DocView mode starts, it displays a welcome screen and begins
279formatting the file, page by page. It displays the first page once 296formatting the file, page by page. It displays the first page once
280that has been formatted. 297that has been formatted.
281 298
282@findex doc-view-enlarge
283@findex doc-view-shrink
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,
288set or customize the variable @code{doc-view-resolution}.
289
290 To kill the DocView buffer, type @kbd{k} 299 To kill the DocView buffer, type @kbd{k}
291(@code{doc-view-kill-proc-and-buffer}). To bury it, type @kbd{q} 300(@code{doc-view-kill-proc-and-buffer}). To bury it, type @kbd{q}
292(@code{quit-window}). 301(@code{quit-window}).
293 302
294@menu 303@menu
295* Navigation:: Navigation inside DocView buffers. 304* Navigation: DocView Navigation. Navigating DocView buffers.
296* Searching:: Searching inside documents. 305* Searching: DocView Searching. Searching inside documents.
297* Slicing:: Specifying which part of pages should be displayed. 306* Slicing: DocView Slicing. Specifying which part of a page is displayed.
298* Conversion:: Influencing and triggering conversion. 307* Conversion: DocView Conversion. Influencing and triggering conversion.
299@end menu 308@end menu
300 309
301@node Navigation 310@node DocView Navigation
302@subsection Navigation 311@subsection DocView Navigation
303 312
304When in DocView mode, you can scroll the current page using the usual 313 In DocView mode, you can scroll the current page using the usual
305Emacs movement keys: @kbd{C-p}, @kbd{C-n}, @kbd{C-b}, @kbd{C-f}, and 314Emacs movement keys: @kbd{C-p}, @kbd{C-n}, @kbd{C-b}, @kbd{C-f}, and
306the arrow keys. 315the arrow keys.
307 316
@@ -315,6 +324,10 @@ displays the next page if you are at the end of the current page.
315 324
316@findex doc-view-next-page 325@findex doc-view-next-page
317@findex doc-view-previous-page 326@findex doc-view-previous-page
327@kindex n @r{(DocView mode)}
328@kindex p @r{(DocView mode)}
329@kindex C-x ] @r{(DocView mode)}
330@kindex C-x [ @r{(DocView mode)}
318 You can also display the next page by typing @kbd{n}, @key{next} or 331 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 332@kbd{C-x ]} (@code{doc-view-next-page}). To display the previous
320page, type @kbd{p}, @key{prior} or @kbd{C-x [} 333page, type @kbd{p}, @key{prior} or @kbd{C-x [}
@@ -322,23 +335,38 @@ page, type @kbd{p}, @key{prior} or @kbd{C-x [}
322 335
323@findex doc-view-scroll-up-or-next-page 336@findex doc-view-scroll-up-or-next-page
324@findex doc-view-scroll-down-or-previous-page 337@findex doc-view-scroll-down-or-previous-page
325 The @key{SPC} (@code{doc-view-scroll-up-or-next-page}) key is a 338@kindex SPC @r{(DocView mode)}
326convenient way to advance through the document. It scrolls within the 339@kindex DEL @r{(DocView mode)}
327current page or advances to the next. @key{DEL} moves backwards in a 340 @key{SPC} (@code{doc-view-scroll-up-or-next-page}) is a convenient
328similar way (@code{doc-view-scroll-down-or-previous-page}). 341way to advance through the document. It scrolls within the current
342page or advances to the next. @key{DEL} moves backwards in a similar
343way (@code{doc-view-scroll-down-or-previous-page}).
329 344
330@findex doc-view-first-page 345@findex doc-view-first-page
331@findex doc-view-last-page 346@findex doc-view-last-page
332@findex doc-view-goto-page 347@findex doc-view-goto-page
348@kindex M-< @r{(DocView mode)}
349@kindex M-> @r{(DocView mode)}
333 To go to the first page, type @kbd{M-<} 350 To go to the first page, type @kbd{M-<}
334(@code{doc-view-first-page}); to go to the last one, type @kbd{M->} 351(@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 352(@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}). 353@kbd{M-g M-g} or @kbd{M-g g} (@code{doc-view-goto-page}).
337 354
338@node Searching 355@findex doc-view-enlarge
339@subsection Searching 356@findex doc-view-shrink
340 357@vindex doc-view-resolution
341While in DocView mode, you can search the file's text for a regular 358@kindex + @r{(DocView mode)}
359@kindex - @r{(DocView mode)}
360 You can enlarge or shrink the document with @kbd{+}
361(@code{doc-view-enlarge}) and @kbd{-} (@code{doc-view-shrink}). These
362commands work by reconverting the document at the new size. To
363specify the default size for DocView, customize the variable
364@code{doc-view-resolution}.
365
366@node DocView Searching
367@subsection DocView Searching
368
369 In DocView mode, you can search the file's text for a regular
342expression (@pxref{Regexps}). The interface for searching is inspired 370expression (@pxref{Regexps}). The interface for searching is inspired
343by @code{isearch} (@pxref{Incremental Search}). 371by @code{isearch} (@pxref{Incremental Search}).
344 372
@@ -359,8 +387,8 @@ To force display of this tooltip, type @kbd{C-t}
359argument; i.e., @kbd{C-u C-s} for a forward search or @kbd{C-u C-r} 387argument; i.e., @kbd{C-u C-s} for a forward search or @kbd{C-u C-r}
360for a backward search. 388for a backward search.
361 389
362@node Slicing 390@node DocView Slicing
363@subsection Slicing 391@subsection DocView Slicing
364 392
365Documents often have wide margins for printing. They are annoying 393Documents often have wide margins for printing. They are annoying
366when reading the document on the screen, because they use up screen 394when reading the document on the screen, because they use up screen
@@ -388,37 +416,33 @@ select the slice.
388(@code{doc-view-reset-slice}). Then DocView shows the entire page 416(@code{doc-view-reset-slice}). Then DocView shows the entire page
389including its entire margins. 417including its entire margins.
390 418
391@node Conversion 419@node DocView Conversion
392@subsection Conversion 420@subsection DocView Conversion
393 421
394@vindex doc-view-cache-directory 422@vindex doc-view-cache-directory
395@findex doc-view-clear-cache 423@findex doc-view-clear-cache
396For efficiency, DocView caches the images produced by @command{gs}. 424 For efficiency, DocView caches the images produced by @command{gs}.
397The name of this directory is given by the variable 425The name of this directory is given by the variable
398@code{doc-view-cache-directory}. You can clear the cache directory by 426@code{doc-view-cache-directory}. You can clear the cache directory by
399typing @code{M-x doc-view-clear-cache}. 427typing @code{M-x doc-view-clear-cache}.
400 428
401@findex doc-view-kill-proc 429@findex doc-view-kill-proc
402@findex doc-view-kill-proc-and-buffer 430@findex doc-view-kill-proc-and-buffer
403 To force a reconversion of the currently viewed document, type 431 To force reconversion of the currently viewed document, type @kbd{r}
404@kbd{r} or @kbd{g} (@code{revert-buffer}). To kill the converter 432or @kbd{g} (@code{revert-buffer}). To kill the converter process
405process associated with the current buffer, type @kbd{K} 433associated with the current buffer, type @kbd{K}
406(@code{doc-view-kill-proc}). The command @kbd{k} 434(@code{doc-view-kill-proc}). The command @kbd{k}
407(@code{doc-view-kill-proc-and-buffer}) kills the converter process and 435(@code{doc-view-kill-proc-and-buffer}) kills the converter process and
408the DocView buffer. 436the DocView buffer.
409 437
410 The zoom commands @kbd{+} (@code{doc-view-enlarge}) and @kbd{-}
411(@code{doc-view-shrink}) need to reconvert the document at the new
412size. The current page is converted first.
413
414@node Shell 438@node Shell
415@section Running Shell Commands from Emacs 439@section Running Shell Commands from Emacs
416@cindex subshell 440@cindex subshell
417@cindex shell commands 441@cindex shell commands
418 442
419 Emacs has commands for passing single command lines to inferior shell 443 Emacs has commands for passing single command lines to shell
420processes; it can also run a shell interactively with input and output 444subprocesses, and for running a shell interactively with input and
421to an Emacs buffer named @samp{*shell*} or run a shell inside a terminal 445output to an Emacs buffer, and for running a shell in a terminal
422emulator window. 446emulator window.
423 447
424@table @kbd 448@table @kbd
diff --git a/doc/emacs/sending.texi b/doc/emacs/sending.texi
index 1c6df362c78..331a25ef813 100644
--- a/doc/emacs/sending.texi
+++ b/doc/emacs/sending.texi
@@ -328,11 +328,9 @@ in greater detail. @xref{Top,,Message, message, Message}.
328@node Mail Sending 328@node Mail Sending
329@subsection Mail Sending 329@subsection Mail Sending
330 330
331 There are two commands to send a message you have been editing:
332
333@table @kbd 331@table @kbd
334@item C-c C-c 332@item C-c C-c
335Send the message, and deselect the mail buffer (@code{message-send-and-exit}). 333Send the message, and bury the mail buffer (@code{message-send-and-exit}).
336@item C-c C-s 334@item C-c C-s
337Send the message, and leave the mail buffer selected (@code{message-send}). 335Send the message, and leave the mail buffer selected (@code{message-send}).
338@end table 336@end table
@@ -340,35 +338,24 @@ Send the message, and leave the mail buffer selected (@code{message-send}).
340@kindex C-c C-s @r{(Message mode)} 338@kindex C-c C-s @r{(Message mode)}
341@kindex C-c C-c @r{(Message mode)} 339@kindex C-c C-c @r{(Message mode)}
342@findex message-send 340@findex message-send
343 If you want to send a message and be done with it, type @kbd{C-c 341@vindex message-kill-buffer-on-exit
344C-c} (@code{mail-send-and-exit}). This sends the message and then 342 The usual command to send a message is @kbd{C-c C-c}
345either deletes the window or switches to another buffer. It also 343(@code{mail-send-and-exit}). This sends the message and then
346``buries'' the mail buffer, putting it at the lowest priority for 344``buries'' the mail buffer, putting it at the lowest priority for
347reselection. This is the usual command for sending a message. 345reselection. If you want it to kill the mail buffer instead, change
346the variable @code{message-kill-buffer-on-exit} to @code{t}.
348 347
349@findex message-send-and-exit 348@findex message-send-and-exit
350 The command @kbd{C-c C-s} (@code{message-send}) sends the message 349 The command @kbd{C-c C-s} (@code{message-send}) sends the message
351and marks the mail buffer unmodified, but leaves the buffer selected. 350and leaves the buffer selected. Use this command if you want to
352Use this command if you want to modify the message (perhaps with new 351modify the message (perhaps with new recipients) and send it again.
353recipients) and send it again.
354 352
355@vindex message-send-hook 353@vindex message-send-hook
356 Sending a message runs the hook @code{message-send-hook}. 354 Sending a message runs the hook @code{message-send-hook}. It also
357 355marks the mail buffer as unmodified, except if the mail buffer is also
358 In a file-visiting buffer, sending the message does not clear the 356a file-visiting buffer (in that case, only saving the file does that,
359modified flag, because only saving the file should do that. Also, you 357and you don't get a warning if you try to send the same message
360don't get a warning if you try to send the same message twice. 358twice).
361
362@vindex sendmail-coding-system
363 When you send a message containing non-@acronym{ASCII} characters,
364they need to be encoded with a coding system (@pxref{Coding Systems}).
365Usually the coding system is specified automatically by your chosen
366language environment (@pxref{Language Environments}). You can
367explicitly specify the coding system for outgoing mail by setting the
368variable @code{sendmail-coding-system} (@pxref{Recognize Coding}). If
369the coding system thus determined does not handle the characters in a
370particular message, Emacs asks you to select the coding system to use,
371showing a list of possible coding systems.
372 359
373@cindex SMTP 360@cindex SMTP
374@cindex Feedmail 361@cindex Feedmail
@@ -376,24 +363,23 @@ showing a list of possible coding systems.
376@cindex Mailclient 363@cindex Mailclient
377@vindex send-mail-function 364@vindex send-mail-function
378 The variable @code{send-mail-function} controls how the message is 365 The variable @code{send-mail-function} controls how the message is
379delivered. Its value should be a function, which can be one of the 366delivered. Its value should be one of the following functions:
380following:
381 367
382@table @code 368@table @code
383@item sendmail-query-once 369@item sendmail-query-once
384This function queries for a delivery method (one of the other entries 370Query for a delivery method (one of the other entries in this list),
385in this list), and uses that method for this message. Then it saves 371and use that method for this message; then save the method to
386the method to @code{send-mail-function}, so that the method is used 372@code{send-mail-function}, so that it is used for future deliveries.
387for future deliveries. This is the default, unless you have already 373This is the default, unless you have already set the variables for
388configured the @code{smtpmail-send-it} method. 374sending mail via @code{smtpmail-send-it} (see below).
389 375
390@item smtpmail-send-it 376@item smtpmail-send-it
391Send mail through an external mail host, such as your Internet service 377Send mail using the through an external mail host, such as your
392provider's outgoing SMTP mail server. If you have not told Emacs how 378Internet service provider's outgoing SMTP mail server. If you have
393to contact the SMTP server, it prompts for this information (which is 379not told Emacs how to contact the SMTP server, it prompts for this
394saved in the variables @code{smtpmail-smtp-server} and 380information, which is saved in the variables
395@code{smtpmail-auth-credentials}). @xref{Top,,Emacs SMTP Library, 381@code{smtpmail-smtp-server} and @code{smtpmail-auth-credentials}.
396smtpmail, Sending mail via SMTP}. 382@xref{Top,,Emacs SMTP Library, smtpmail, Sending mail via SMTP}.
397 383
398@item sendmail-send-it 384@item sendmail-send-it
399Send mail using the system's default @command{sendmail} program, or 385Send mail using the system's default @command{sendmail} program, or
@@ -410,6 +396,17 @@ messages for later sending. See the commentary section in the file
410@file{feedmail.el} for details. 396@file{feedmail.el} for details.
411@end table 397@end table
412 398
399@vindex sendmail-coding-system
400 When you send a message containing non-@acronym{ASCII} characters,
401they need to be encoded with a coding system (@pxref{Coding Systems}).
402Usually the coding system is specified automatically by your chosen
403language environment (@pxref{Language Environments}). You can
404explicitly specify the coding system for outgoing mail by setting the
405variable @code{sendmail-coding-system} (@pxref{Recognize Coding}). If
406the coding system thus determined does not handle the characters in a
407particular message, Emacs asks you to select the coding system to use,
408showing a list of possible coding systems.
409
413@node Header Editing 410@node Header Editing
414@subsection Mail Header Editing 411@subsection Mail Header Editing
415 412