Mercurial > emacs
annotate doc/misc/gnus-faq.texi @ 112445:93fcbcb698b0
Improve configuration of makeinfo.
* Makefile.in (MAKEINFO): Now controlled by `configure'.
(MAKEINFO_OPTS): New variable. Use it where appropriate.
(ENVADD): Updated.
author | Werner Lemberg <wl@gnu.org> |
---|---|
date | Sun, 23 Jan 2011 11:38:14 +0100 |
parents | 417b1e4d63cd |
children |
rev | line source |
---|---|
84299 | 1 @c \input texinfo @c -*-texinfo-*- |
2 @c Uncomment 1st line before texing this file alone. | |
3 @c %**start of header | |
109264 | 4 @c Copyright (C) 1995, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
112218
376148b31b5e
Add 2011 to FSF/AIST copyright years.
Glenn Morris <rgm@gnu.org>
parents:
109264
diff
changeset
|
5 @c 2009, 2010, 2011 Free Software Foundation, Inc. |
84299 | 6 @c |
7 @setfilename gnus-faq.info | |
8 @settitle Frequently Asked Questions | |
9 @c %**end of header | |
10 @c | |
11 | |
12 @node Frequently Asked Questions | |
13 @section Frequently Asked Questions | |
14 | |
15 @menu | |
16 * FAQ - Changes:: | |
17 * FAQ - Introduction:: About Gnus and this FAQ. | |
18 * FAQ 1 - Installation FAQ:: Installation of Gnus. | |
19 * FAQ 2 - Startup / Group buffer:: Start up questions and the | |
20 first buffer Gnus shows you. | |
21 * FAQ 3 - Getting Messages:: Making Gnus read your mail | |
22 and news. | |
23 * FAQ 4 - Reading messages:: How to efficiently read | |
24 messages. | |
25 * FAQ 5 - Composing messages:: Composing mails or Usenet | |
26 postings. | |
27 * FAQ 6 - Old messages:: Importing, archiving, | |
28 searching and deleting messages. | |
29 * FAQ 7 - Gnus in a dial-up environment:: Reading mail and news while | |
30 offline. | |
31 * FAQ 8 - Getting help:: When this FAQ isn't enough. | |
32 * FAQ 9 - Tuning Gnus:: How to make Gnus faster. | |
33 * FAQ - Glossary:: Terms used in the FAQ | |
34 explained. | |
35 @end menu | |
36 | |
37 @subheading Abstract | |
38 | |
39 This is the new Gnus Frequently Asked Questions list. | |
40 | |
41 Please submit features and suggestions to the | |
110790
1f25b03df4ad
Merge changes made in Gnus trunk.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
110102
diff
changeset
|
42 @email{ding@@gnus.org, ding list}. |
84299 | 43 |
44 @node FAQ - Changes | |
45 @subheading Changes | |
46 | |
47 | |
48 | |
49 @itemize @bullet | |
50 | |
51 @item | |
96024 | 52 2008-06-15: Adjust for message-fill-column. Add x-face-file. |
53 Clarify difference between ding and gnu.emacs.gnus. Remove | |
54 reference to discontinued service. | |
55 | |
56 @item | |
57 2006-04-15: Added tip on how to delete sent buffer on exit. | |
84299 | 58 @end itemize |
59 | |
60 @node FAQ - Introduction | |
61 @subheading Introduction | |
62 | |
63 This is the Gnus Frequently Asked Questions list. | |
64 | |
65 Gnus is a Usenet Newsreader and Electronic Mail User Agent implemented | |
66 as a part of Emacs. It's been around in some form for almost a decade | |
67 now, and has been distributed as a standard part of Emacs for much of | |
68 that time. Gnus 5 is the latest (and greatest) incarnation. The | |
69 original version was called GNUS, and was written by Masanobu UMEDA. | |
70 When autumn crept up in '94, Lars Magne Ingebrigtsen grew bored and | |
71 decided to rewrite Gnus. | |
72 | |
73 Its biggest strength is the fact that it is extremely | |
74 customizable. It is somewhat intimidating at first glance, but | |
75 most of the complexity can be ignored until you're ready to take | |
76 advantage of it. If you receive a reasonable volume of e-mail | |
77 (you're on various mailing lists), or you would like to read | |
78 high-volume mailing lists but cannot keep up with them, or read | |
79 high volume newsgroups or are just bored, then Gnus is what you | |
80 want. | |
81 | |
82 This FAQ was maintained by Justin Sheehy until March 2002. He | |
83 would like to thank Steve Baur and Per Abrahamsen for doing a wonderful | |
84 job with this FAQ before him. We would like to do the same - thanks, | |
85 Justin! | |
86 | |
87 This version is much nicer than the unofficial hypertext | |
88 versions that are archived at Utrecht, Oxford, Smart Pages, Ohio | |
89 State, and other FAQ archives. See the resources question below | |
90 if you want information on obtaining it in another format. | |
91 | |
92 The information contained here was compiled with the assistance | |
93 of the Gnus development mailing list, and any errors or | |
110790
1f25b03df4ad
Merge changes made in Gnus trunk.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
110102
diff
changeset
|
94 misprints are the Gnus team's fault, sorry. |
84299 | 95 |
96 @node FAQ 1 - Installation FAQ | |
97 @subsection Installation FAQ | |
98 | |
99 @menu | |
96024 | 100 * FAQ 1-1:: What is the latest version of Gnus? |
101 * FAQ 1-2:: What's new in 5.10? | |
102 * FAQ 1-3:: Where and how to get Gnus? | |
103 * FAQ 1-4:: What to do with the tarball now? | |
104 * FAQ 1-5:: I sometimes read references to No Gnus and Oort Gnus, | |
105 what are those? | |
106 * FAQ 1-6:: Which version of Emacs do I need? | |
107 * FAQ 1-7:: How do I run Gnus on both Emacs and XEmacs? | |
84299 | 108 @end menu |
109 | |
96024 | 110 @node FAQ 1-1 |
84299 | 111 @subsubheading Question 1.1 |
112 | |
113 What is the latest version of Gnus? | |
114 | |
115 @subsubheading Answer | |
116 | |
117 Jingle please: Gnus 5.10 is released, get it while it's | |
118 hot! As well as the step in version number is rather | |
119 small, Gnus 5.10 has tons of new features which you | |
85713
f023b81ee7b4
* gnus.texi, gnus-faq.texi, message.texi: Bump version to Gnus v5.13.
Reiner Steib <Reiner.Steib@gmx.de>
parents:
85712
diff
changeset
|
120 shouldn't miss. The current release (5.13) should be at |
84299 | 121 least as stable as the latest release of the 5.8 series. |
122 | |
96024 | 123 @node FAQ 1-2 |
84299 | 124 @subsubheading Question 1.2 |
125 | |
126 What's new in 5.10? | |
127 | |
128 @subsubheading Answer | |
129 | |
130 First of all, you should have a look into the file | |
131 GNUS-NEWS in the toplevel directory of the Gnus tarball, | |
132 there the most important changes are listed. Here's a | |
133 short list of the changes I find especially | |
134 important/interesting: | |
135 | |
136 @itemize @bullet | |
137 | |
138 @item | |
139 Major rewrite of the Gnus agent, Gnus agent is now | |
140 active by default. | |
141 | |
142 @item | |
143 Many new article washing functions for dealing with | |
144 ugly formatted articles. | |
145 | |
146 @item | |
147 Anti Spam features. | |
148 | |
149 @item | |
150 Message-utils now included in Gnus. | |
151 | |
152 @item | |
153 New format specifiers for summary lines, e.g. %B for | |
154 a complex trn-style thread tree. | |
155 @end itemize | |
156 | |
96024 | 157 @node FAQ 1-3 |
84299 | 158 @subsubheading Question 1.3 |
159 | |
160 Where and how to get Gnus? | |
161 | |
162 @subsubheading Answer | |
163 | |
164 Gnus is released independent from releases of Emacs and XEmacs. | |
165 Therefore, the version bundled with Emacs or the version in XEmacs' | |
166 package system might not be up to date (e.g. Gnus 5.9 bundled with Emacs | |
96024 | 167 21 is outdated). |
84299 | 168 You can get the latest released version of Gnus from |
96024 | 169 @uref{http://www.gnus.org/dist/gnus.tar.gz} |
170 or via anonymous FTP from | |
84299 | 171 @uref{ftp://ftp.gnus.org/pub/gnus/gnus.tar.gz}. |
172 | |
96024 | 173 @node FAQ 1-4 |
84299 | 174 @subsubheading Question 1.4 |
175 | |
176 What to do with the tarball now? | |
177 | |
178 @subsubheading Answer | |
179 | |
180 Untar it via @samp{tar xvzf gnus.tar.gz} and do the common | |
181 @samp{./configure; make; make install} circle. | |
182 (under MS-Windows either get the Cygwin environment from | |
183 @uref{http://www.cygwin.com} | |
184 which allows you to do what's described above or unpack the | |
185 tarball with some packer (e.g. Winace from | |
186 @uref{http://www.winace.com}) | |
187 and use the batch-file make.bat included in the tarball to install | |
188 Gnus.) If you don't want to (or aren't allowed to) install Gnus | |
189 system-wide, you can install it in your home directory and add the | |
190 following lines to your ~/.xemacs/init.el or ~/.emacs: | |
191 | |
192 @example | |
193 (add-to-list 'load-path "/path/to/gnus/lisp") | |
194 (if (featurep 'xemacs) | |
195 (add-to-list 'Info-directory-list "/path/to/gnus/texi/") | |
196 (add-to-list 'Info-default-directory-list "/path/to/gnus/texi/")) | |
197 @end example | |
198 @noindent | |
199 | |
200 Make sure that you don't have any Gnus related stuff | |
201 before this line, on MS Windows use something like | |
202 "C:/path/to/lisp" (yes, "/"). | |
203 | |
96024 | 204 @node FAQ 1-5 |
84299 | 205 @subsubheading Question 1.5 |
206 | |
207 I sometimes read references to No Gnus and Oort Gnus, | |
208 what are those? | |
209 | |
210 @subsubheading Answer | |
211 | |
212 Oort Gnus was the name of the development version of | |
213 Gnus, which became Gnus 5.10 in autumn 2003. No Gnus is | |
214 the name of the current development version which will | |
215 once become Gnus 5.12 or Gnus 6. (If you're wondering why | |
216 not 5.11, the odd version numbers are normally used for | |
217 the Gnus versions bundled with Emacs) | |
218 | |
96024 | 219 @node FAQ 1-6 |
84299 | 220 @subsubheading Question 1.6 |
221 | |
222 Which version of Emacs do I need? | |
223 | |
224 @subsubheading Answer | |
225 | |
226 Gnus 5.10 requires an Emacs version that is greater than or equal | |
227 to Emacs 20.7 or XEmacs 21.1. | |
228 The development versions of Gnus (aka No Gnus) requires Emacs 21 | |
229 or XEmacs 21.4. | |
230 | |
96024 | 231 @node FAQ 1-7 |
84299 | 232 @subsubheading Question 1.7 |
233 | |
234 How do I run Gnus on both Emacs and XEmacs? | |
235 | |
236 @subsubheading Answer | |
237 | |
238 You can't use the same copy of Gnus in both as the Lisp | |
239 files are byte-compiled to a format which is different | |
240 depending on which Emacs did the compilation. Get one copy | |
241 of Gnus for Emacs and one for XEmacs. | |
242 | |
243 @node FAQ 2 - Startup / Group buffer | |
244 @subsection Startup / Group buffer | |
245 | |
246 @menu | |
96024 | 247 * FAQ 2-1:: Every time I start Gnus I get a message "Gnus auto-save |
248 file exists. Do you want to read it?", what does this mean and | |
249 how to prevent it? | |
250 * FAQ 2-2:: Gnus doesn't remember which groups I'm subscribed to, | |
251 what's this? | |
252 * FAQ 2-3:: How to change the format of the lines in Group buffer? | |
253 * FAQ 2-4:: My group buffer becomes a bit crowded, is there a way to | |
254 sort my groups into categories so I can easier browse through | |
255 them? | |
256 * FAQ 2-5:: How to manually sort the groups in Group buffer? How to | |
257 sort the groups in a topic? | |
84299 | 258 @end menu |
259 | |
96024 | 260 @node FAQ 2-1 |
84299 | 261 @subsubheading Question 2.1 |
262 | |
263 Every time I start Gnus I get a message "Gnus auto-save | |
264 file exists. Do you want to read it?", what does this mean | |
265 and how to prevent it? | |
266 | |
267 @subsubheading Answer | |
268 | |
269 This message means that the last time you used Gnus, it | |
270 wasn't properly exited and therefor couldn't write its | |
271 informations to disk (e.g. which messages you read), you | |
272 are now asked if you want to restore those informations | |
273 from the auto-save file. | |
274 | |
275 To prevent this message make sure you exit Gnus | |
276 via @samp{q} in group buffer instead of | |
277 just killing Emacs. | |
278 | |
96024 | 279 @node FAQ 2-2 |
84299 | 280 @subsubheading Question 2.2 |
281 | |
282 Gnus doesn't remember which groups I'm subscribed to, | |
283 what's this? | |
284 | |
285 @subsubheading Answer | |
286 | |
287 You get the message described in the q/a pair above while | |
288 starting Gnus, right? It's an other symptom for the same | |
289 problem, so read the answer above. | |
290 | |
96024 | 291 @node FAQ 2-3 |
84299 | 292 @subsubheading Question 2.3 |
293 | |
294 How to change the format of the lines in Group buffer? | |
295 | |
296 @subsubheading Answer | |
297 | |
298 You've got to tweak the value of the variable | |
299 gnus-group-line-format. See the manual node "Group Line | |
300 Specification" for information on how to do this. An | |
301 example for this (guess from whose .gnus :-)): | |
302 | |
303 @example | |
304 (setq gnus-group-line-format "%P%M%S[%5t]%5y : %(%g%)\n") | |
305 @end example | |
306 @noindent | |
307 | |
96024 | 308 @node FAQ 2-4 |
84299 | 309 @subsubheading Question 2.4 |
310 | |
311 My group buffer becomes a bit crowded, is there a way to | |
312 sort my groups into categories so I can easier browse | |
313 through them? | |
314 | |
315 @subsubheading Answer | |
316 | |
317 Gnus offers the topic mode, it allows you to sort your | |
318 groups in, well, topics, e.g. all groups dealing with | |
319 Linux under the topic linux, all dealing with music under | |
320 the topic music and all dealing with scottish music under | |
321 the topic scottish which is a subtopic of music. | |
322 | |
323 To enter topic mode, just hit t while in Group buffer. Now | |
324 you can use @samp{T n} to create a topic | |
325 at point and @samp{T m} to move a group to | |
326 a specific topic. For more commands see the manual or the | |
327 menu. You might want to include the %P specifier at the | |
328 beginning of your gnus-group-line-format variable to have | |
329 the groups nicely indented. | |
330 | |
96024 | 331 @node FAQ 2-5 |
84299 | 332 @subsubheading Question 2.5 |
333 | |
334 How to manually sort the groups in Group buffer? How to | |
335 sort the groups in a topic? | |
336 | |
337 @subsubheading Answer | |
338 | |
339 Move point over the group you want to move and | |
340 hit @samp{C-k}, now move point to the | |
341 place where you want the group to be and | |
342 hit @samp{C-y}. | |
343 | |
344 @node FAQ 3 - Getting Messages | |
345 @subsection Getting Messages | |
346 | |
347 @menu | |
96024 | 348 * FAQ 3-1:: I just installed Gnus, started it via @samp{M-x gnus} |
349 but it only says "nntp (news) open error", what to do? | |
350 * FAQ 3-2:: I'm working under Windows and have no idea what | |
351 ~/.gnus.el means. | |
352 * FAQ 3-3:: My news server requires authentication, how to store | |
353 user name and password on disk? | |
354 * FAQ 3-4:: Gnus seems to start up OK, but I can't find out how to | |
355 subscribe to a group. | |
356 * FAQ 3-5:: Gnus doesn't show all groups / Gnus says I'm not allowed | |
357 to post on this server as well as I am, what's that? | |
358 * FAQ 3-6:: I want Gnus to fetch news from several servers, is this | |
359 possible? | |
360 * FAQ 3-7:: And how about local spool files? | |
361 * FAQ 3-8:: OK, reading news works now, but I want to be able to | |
362 read my mail with Gnus, too. How to do it? | |
363 * FAQ 3-9:: And what about IMAP? | |
364 * FAQ 3-10:: At the office we use one of those MS Exchange servers, | |
365 can I use Gnus to read my mail from it? | |
366 * FAQ 3-11:: Can I tell Gnus not to delete the mails on the server it | |
367 retrieves via POP3? | |
84299 | 368 @end menu |
369 | |
96024 | 370 @node FAQ 3-1 |
84299 | 371 @subsubheading Question 3.1 |
372 | |
373 I just installed Gnus, started it via | |
374 @samp{M-x gnus} | |
375 but it only says "nntp (news) open error", what to do? | |
376 | |
377 @subsubheading Answer | |
378 | |
379 You've got to tell Gnus where to fetch the news from. Read | |
380 the documentation for information on how to do this. As a | |
381 first start, put those lines in ~/.gnus.el: | |
382 | |
383 @example | |
384 (setq gnus-select-method '(nntp "news.yourprovider.net")) | |
385 (setq user-mail-address "you@@yourprovider.net") | |
386 (setq user-full-name "Your Name") | |
387 @end example | |
388 @noindent | |
389 | |
96024 | 390 @node FAQ 3-2 |
84299 | 391 @subsubheading Question 3.2 |
392 | |
393 I'm working under Windows and have no idea what ~/.gnus.el means. | |
394 | |
395 @subsubheading Answer | |
396 | |
397 The ~/ means the home directory where Gnus and Emacs look | |
398 for the configuration files. However, you don't really | |
399 need to know what this means, it suffices that Emacs knows | |
400 what it means :-) You can type | |
401 @samp{C-x C-f ~/.gnus.el RET } | |
402 (yes, with the forward slash, even on Windows), and | |
403 Emacs will open the right file for you. (It will most | |
404 likely be new, and thus empty.) | |
405 However, I'd discourage you from doing so, since the | |
406 directory Emacs chooses will most certainly not be what | |
407 you want, so let's do it the correct way. | |
408 The first thing you've got to do is to | |
409 create a suitable directory (no blanks in directory name | |
410 please) e.g. c:\myhome. Then you must set the environment | |
411 variable HOME to this directory. To do this under Win9x | |
412 or Me include the line | |
413 | |
414 @example | |
415 SET HOME=C:\myhome | |
416 @end example | |
417 @noindent | |
418 | |
419 in your autoexec.bat and reboot. Under NT, 2000 and XP, hit | |
96024 | 420 Winkey+Pause/Break to enter system options (if it doesn't work, go |
421 to Control Panel -> System -> Advanced). There you'll find the | |
422 possibility to set environment variables. Create a new one with | |
423 name HOME and value C:\myhome. Rebooting is not necessary. | |
84299 | 424 |
425 Now to create ~/.gnus.el, say | |
426 @samp{C-x C-f ~/.gnus.el RET C-x C-s}. | |
427 in Emacs. | |
428 | |
96024 | 429 @node FAQ 3-3 |
84299 | 430 @subsubheading Question 3.3 |
431 | |
432 My news server requires authentication, how to store | |
433 user name and password on disk? | |
434 | |
435 @subsubheading Answer | |
436 | |
437 Create a file ~/.authinfo which includes for each server a line like this | |
438 | |
439 @example | |
440 machine news.yourprovider.net login YourUserName password YourPassword | |
441 @end example | |
442 @noindent | |
443 . | |
444 Make sure that the file isn't readable to others if you | |
445 work on a OS which is capable of doing so. (Under Unix | |
446 say | |
447 @example | |
448 chmod 600 ~/.authinfo | |
449 @end example | |
450 @noindent | |
451 | |
452 in a shell.) | |
453 | |
96024 | 454 @node FAQ 3-4 |
84299 | 455 @subsubheading Question 3.4 |
456 | |
457 Gnus seems to start up OK, but I can't find out how to | |
458 subscribe to a group. | |
459 | |
460 @subsubheading Answer | |
461 | |
462 If you know the name of the group say @samp{U | |
463 name.of.group RET} in group buffer (use the | |
464 tab-completion Luke). Otherwise hit ^ in group buffer, | |
465 this brings you to the server buffer. Now place point (the | |
466 cursor) over the server which carries the group you want, | |
467 hit @samp{RET}, move point to the group | |
468 you want to subscribe to and say @samp{u} | |
469 to subscribe to it. | |
470 | |
96024 | 471 @node FAQ 3-5 |
84299 | 472 @subsubheading Question 3.5 |
473 | |
474 Gnus doesn't show all groups / Gnus says I'm not allowed to | |
475 post on this server as well as I am, what's that? | |
476 | |
477 @subsubheading Answer | |
478 | |
479 Some providers allow restricted anonymous access and full | |
480 access only after authorization. To make Gnus send authinfo | |
481 to those servers append | |
482 | |
483 @example | |
484 force yes | |
485 @end example | |
486 @noindent | |
487 | |
488 to the line for those servers in ~/.authinfo. | |
489 | |
96024 | 490 @node FAQ 3-6 |
84299 | 491 @subsubheading Question 3.6 |
492 | |
493 I want Gnus to fetch news from several servers, is this possible? | |
494 | |
495 @subsubheading Answer | |
496 | |
497 Of course. You can specify more sources for articles in the | |
498 variable gnus-secondary-select-methods. Add something like | |
499 this in ~/.gnus.el: | |
500 | |
501 @example | |
502 (add-to-list 'gnus-secondary-select-methods | |
503 '(nntp "news.yourSecondProvider.net")) | |
504 (add-to-list 'gnus-secondary-select-methods | |
505 '(nntp "news.yourThirdProvider.net")) | |
506 @end example | |
507 @noindent | |
508 | |
96024 | 509 @node FAQ 3-7 |
84299 | 510 @subsubheading Question 3.7 |
511 | |
512 And how about local spool files? | |
513 | |
514 @subsubheading Answer | |
515 | |
516 No problem, this is just one more select method called | |
517 nnspool, so you want this: | |
518 | |
519 @example | |
520 (add-to-list 'gnus-secondary-select-methods '(nnspool "")) | |
521 @end example | |
522 @noindent | |
523 | |
524 Or this if you don't want an NNTP Server as primary news source: | |
525 | |
526 @example | |
527 (setq gnus-select-method '(nnspool "")) | |
528 @end example | |
529 @noindent | |
530 | |
531 Gnus will look for the spool file in /usr/spool/news, if you | |
532 want something different, change the line above to something like this: | |
533 | |
534 @example | |
535 (add-to-list 'gnus-secondary-select-methods | |
536 '(nnspool "" | |
109264 | 537 (nnspool-directory "/usr/local/myspoolddir"))) |
84299 | 538 @end example |
539 @noindent | |
540 | |
541 This sets the spool directory for this server only. | |
542 You might have to specify more stuff like the program used | |
543 to post articles, see the Gnus manual on how to do this. | |
544 | |
96024 | 545 @node FAQ 3-8 |
84299 | 546 @subsubheading Question 3.8 |
547 | |
548 OK, reading news works now, but I want to be able to read my mail | |
549 with Gnus, too. How to do it? | |
550 | |
551 @subsubheading Answer | |
552 | |
553 That's a bit harder since there are many possible sources | |
554 for mail, many possible ways for storing mail and many | |
555 different ways for sending mail. The most common cases are | |
556 these: 1: You want to read your mail from a pop3 server and | |
557 send them directly to a SMTP Server 2: Some program like | |
558 fetchmail retrieves your mail and stores it on disk from | |
559 where Gnus shall read it. Outgoing mail is sent by | |
560 Sendmail, Postfix or some other MTA. Sometimes, you even | |
561 need a combination of the above cases. | |
562 | |
563 However, the first thing to do is to tell Gnus in which way | |
564 it should store the mail, in Gnus terminology which back end | |
565 to use. Gnus supports many different back ends, the most | |
566 commonly used one is nnml. It stores every mail in one file | |
567 and is therefor quite fast. However you might prefer a one | |
568 file per group approach if your file system has problems with | |
569 many small files, the nnfolder back end is then probably the | |
570 choice for you. To use nnml add the following to ~/.gnus.el: | |
571 | |
572 @example | |
573 (add-to-list 'gnus-secondary-select-methods '(nnml "")) | |
574 @end example | |
575 @noindent | |
576 | |
577 As you might have guessed, if you want nnfolder, it's | |
578 | |
579 @example | |
580 (add-to-list 'gnus-secondary-select-methods '(nnfolder "")) | |
581 @end example | |
582 @noindent | |
583 | |
584 Now we need to tell Gnus, where to get it's mail from. If | |
585 it's a POP3 server, then you need something like this: | |
586 | |
587 @example | |
588 (eval-after-load "mail-source" | |
589 '(add-to-list 'mail-sources '(pop :server "pop.YourProvider.net" | |
590 :user "yourUserName" | |
591 :password "yourPassword"))) | |
592 @end example | |
593 @noindent | |
594 | |
595 Make sure ~/.gnus.el isn't readable to others if you store | |
596 your password there. If you want to read your mail from a | |
597 traditional spool file on your local machine, it's | |
598 | |
599 @example | |
600 (eval-after-load "mail-source" | |
601 '(add-to-list 'mail-sources '(file :path "/path/to/spool/file")) | |
602 @end example | |
603 @noindent | |
604 | |
605 If it's a Maildir, with one file per message as used by | |
606 postfix, Qmail and (optionally) fetchmail it's | |
607 | |
608 @example | |
609 (eval-after-load "mail-source" | |
610 '(add-to-list 'mail-sources '(maildir :path "/path/to/Maildir/" | |
611 :subdirs ("cur" "new"))) | |
612 @end example | |
613 @noindent | |
614 | |
615 And finally if you want to read your mail from several files | |
616 in one directory, for example because procmail already split your | |
617 mail, it's | |
618 | |
619 @example | |
620 (eval-after-load "mail-source" | |
621 '(add-to-list 'mail-sources | |
109264 | 622 '(directory :path "/path/to/procmail-dir/" |
623 :suffix ".prcml"))) | |
84299 | 624 @end example |
625 @noindent | |
626 | |
627 Where :suffix ".prcml" tells Gnus only to use files with the | |
628 suffix .prcml. | |
629 | |
630 OK, now you only need to tell Gnus how to send mail. If you | |
631 want to send mail via sendmail (or whichever MTA is playing | |
632 the role of sendmail on your system), you don't need to do | |
633 anything. However, if you want to send your mail to an | |
634 SMTP Server you need the following in your ~/.gnus.el | |
635 | |
636 @example | |
637 (setq send-mail-function 'smtpmail-send-it) | |
638 (setq message-send-mail-function 'smtpmail-send-it) | |
639 (setq smtpmail-default-smtp-server "smtp.yourProvider.net") | |
640 @end example | |
641 @noindent | |
642 | |
96024 | 643 @node FAQ 3-9 |
84299 | 644 @subsubheading Question 3.9 |
645 | |
646 And what about IMAP? | |
647 | |
648 @subsubheading Answer | |
649 | |
650 There are two ways of using IMAP with Gnus. The first one is | |
651 to use IMAP like POP3, that means Gnus fetches the mail from | |
652 the IMAP server and stores it on disk. If you want to do | |
653 this (you don't really want to do this) add the following to | |
654 ~/.gnus.el | |
655 | |
656 @example | |
657 (add-to-list 'mail-sources '(imap :server "mail.mycorp.com" | |
658 :user "username" | |
659 :pass "password" | |
660 :stream network | |
661 :authentication login | |
662 :mailbox "INBOX" | |
663 :fetchflag "\\Seen")) | |
664 @end example | |
665 @noindent | |
666 | |
667 You might have to tweak the values for stream and/or | |
668 authentication, see the Gnus manual node "Mail Source | |
669 Specifiers" for possible values. | |
670 | |
671 If you want to use IMAP the way it's intended, you've got to | |
672 follow a different approach. You've got to add the nnimap | |
673 back end to your select method and give the information | |
674 about the server there. | |
675 | |
676 @example | |
677 (add-to-list 'gnus-secondary-select-methods | |
109264 | 678 '(nnimap "Give the baby a name" |
679 (nnimap-address "imap.yourProvider.net") | |
680 (nnimap-port 143) | |
681 (nnimap-list-pattern "archive.*"))) | |
84299 | 682 @end example |
683 @noindent | |
684 | |
685 Again, you might have to specify how to authenticate to the | |
686 server if Gnus can't guess the correct way, see the Manual | |
687 Node "IMAP" for detailed information. | |
688 | |
96024 | 689 @node FAQ 3-10 |
84299 | 690 @subsubheading Question 3.10 |
691 | |
692 At the office we use one of those MS Exchange servers, can I use | |
693 Gnus to read my mail from it? | |
694 | |
695 @subsubheading Answer | |
696 | |
697 Offer your administrator a pair of new running shoes for | |
698 activating IMAP on the server and follow the instructions | |
699 above. | |
700 | |
96024 | 701 @node FAQ 3-11 |
84299 | 702 @subsubheading Question 3.11 |
703 | |
704 Can I tell Gnus not to delete the mails on the server it | |
705 retrieves via POP3? | |
706 | |
707 @subsubheading Answer | |
708 | |
709 First of all, that's not the way POP3 is intended to work, | |
710 if you have the possibility, you should use the IMAP | |
711 Protocol if you want your messages to stay on the | |
712 server. Nevertheless there might be situations where you | |
713 need the feature, but sadly Gnus itself has no predefined | |
714 functionality to do so. | |
715 | |
716 However this is Gnus county so there are possibilities to | |
717 achieve what you want. The easiest way is to get an external | |
718 program which retrieves copies of the mail and stores them | |
719 on disk, so Gnus can read it from there. On Unix systems you | |
720 could use e.g. fetchmail for this, on MS Windows you can use | |
721 Hamster, an excellent local news and mail server. | |
722 | |
723 The other solution would be, to replace the method Gnus | |
724 uses to get mail from POP3 servers by one which is capable | |
725 of leaving the mail on the server. If you use XEmacs, get | |
726 the package mail-lib, it includes an enhanced pop3.el, | |
727 look in the file, there's documentation on how to tell | |
728 Gnus to use it and not to delete the retrieved mail. For | |
729 GNU Emacs look for the file epop3.el which can do the same | |
730 (If you know the home of this file, please send me an | |
731 e-mail). You can also tell Gnus to use an external program | |
732 (e.g. fetchmail) to fetch your mail, see the info node | |
733 "Mail Source Specifiers" in the Gnus manual on how to do | |
734 it. | |
735 | |
736 @node FAQ 4 - Reading messages | |
737 @subsection Reading messages | |
738 | |
739 @menu | |
96024 | 740 * FAQ 4-1:: When I enter a group, all read messages are gone. How to |
741 view them again? | |
742 * FAQ 4-2:: How to tell Gnus to show an important message every time | |
743 I enter a group, even when it's read? | |
744 * FAQ 4-3:: How to view the headers of a message? | |
745 * FAQ 4-4:: How to view the raw unformatted message? | |
746 * FAQ 4-5:: How can I change the headers Gnus displays by default at | |
747 the top of the article buffer? | |
748 * FAQ 4-6:: I'd like Gnus NOT to render HTML-mails but show me the | |
749 text part if it's available. How to do it? | |
750 * FAQ 4-7:: Can I use some other browser than w3 to render my | |
751 HTML-mails? | |
752 * FAQ 4-8:: Is there anything I can do to make poorly formatted | |
753 mails more readable? | |
754 * FAQ 4-9:: Is there a way to automatically ignore posts by specific | |
755 authors or with specific words in the subject? And can I | |
756 highlight more interesting ones in some way? | |
757 * FAQ 4-10:: How can I disable threading in some (e.g. mail-) groups, | |
758 or set other variables specific for some groups? | |
759 * FAQ 4-11:: Can I highlight messages written by me and follow-ups to | |
760 those? | |
761 * FAQ 4-12:: The number of total messages in a group which Gnus | |
762 displays in group buffer is by far to high, especially in mail | |
763 groups. Is this a bug? | |
764 * FAQ 4-13:: I don't like the layout of summary and article buffer, | |
765 how to change it? Perhaps even a three pane display? | |
766 * FAQ 4-14:: I don't like the way the Summary buffer looks, how to | |
767 tweak it? | |
768 * FAQ 4-15:: How to split incoming mails in several groups? | |
84299 | 769 @end menu |
770 | |
96024 | 771 @node FAQ 4-1 |
84299 | 772 @subsubheading Question 4.1 |
773 | |
774 When I enter a group, all read messages are gone. How to view them again? | |
775 | |
776 @subsubheading Answer | |
777 | |
778 If you enter the group by saying | |
779 @samp{RET} | |
780 in group buffer with point over the group, only unread and ticked messages are loaded. Say | |
781 @samp{C-u RET} | |
782 instead to load all available messages. If you want only the e.g. 300 newest say | |
783 @samp{C-u 300 RET} | |
784 | |
785 Loading only unread messages can be annoying if you have threaded view enabled, say | |
786 | |
787 @example | |
788 (setq gnus-fetch-old-headers 'some) | |
789 @end example | |
790 @noindent | |
791 | |
792 in ~/.gnus.el to load enough old articles to prevent teared threads, replace 'some with t to load | |
793 all articles (Warning: Both settings enlarge the amount of data which is | |
794 fetched when you enter a group and slow down the process of entering a group). | |
795 | |
796 If you already use Gnus 5.10, you can say | |
797 @samp{/o N} | |
798 In summary buffer to load the last N messages, this feature is not available in 5.8.8 | |
799 | |
800 If you don't want all old messages, but the parent of the message you're just reading, | |
801 you can say @samp{^}, if you want to retrieve the whole thread | |
802 the message you're just reading belongs to, @samp{A T} is your friend. | |
803 | |
96024 | 804 @node FAQ 4-2 |
84299 | 805 @subsubheading Question 4.2 |
806 | |
807 How to tell Gnus to show an important message every time I | |
808 enter a group, even when it's read? | |
809 | |
810 @subsubheading Answer | |
811 | |
812 You can tick important messages. To do this hit | |
813 @samp{u} while point is in summary buffer | |
814 over the message. When you want to remove the mark, hit | |
815 either @samp{d} (this deletes the tick | |
816 mark and set's unread mark) or @samp{M c} | |
817 (which deletes all marks for the message). | |
818 | |
96024 | 819 @node FAQ 4-3 |
84299 | 820 @subsubheading Question 4.3 |
821 | |
822 How to view the headers of a message? | |
823 | |
824 @subsubheading Answer | |
825 | |
826 Say @samp{t} | |
827 to show all headers, one more | |
828 @samp{t} | |
829 hides them again. | |
830 | |
96024 | 831 @node FAQ 4-4 |
84299 | 832 @subsubheading Question 4.4 |
833 | |
834 How to view the raw unformatted message? | |
835 | |
836 @subsubheading Answer | |
837 | |
838 Say | |
839 @samp{C-u g} | |
840 to show the raw message | |
841 @samp{g} | |
842 returns to normal view. | |
843 | |
96024 | 844 @node FAQ 4-5 |
84299 | 845 @subsubheading Question 4.5 |
846 | |
847 How can I change the headers Gnus displays by default at | |
848 the top of the article buffer? | |
849 | |
850 @subsubheading Answer | |
851 | |
852 The variable gnus-visible-headers controls which headers | |
853 are shown, its value is a regular expression, header lines | |
854 which match it are shown. So if you want author, subject, | |
855 date, and if the header exists, Followup-To and MUA / NUA | |
856 say this in ~/.gnus.el: | |
857 | |
858 @example | |
859 (setq gnus-visible-headers | |
860 '("^From" "^Subject" "^Date" "^Newsgroups" "^Followup-To" | |
109264 | 861 "^User-Agent" "^X-Newsreader" "^X-Mailer")) |
84299 | 862 @end example |
863 @noindent | |
864 | |
96024 | 865 @node FAQ 4-6 |
84299 | 866 @subsubheading Question 4.6 |
867 | |
868 I'd like Gnus NOT to render HTML-mails but show me the | |
869 text part if it's available. How to do it? | |
870 | |
871 @subsubheading Answer | |
872 | |
873 Say | |
874 | |
875 @example | |
876 (eval-after-load "mm-decode" | |
877 '(progn | |
878 (add-to-list 'mm-discouraged-alternatives "text/html") | |
879 (add-to-list 'mm-discouraged-alternatives "text/richtext"))) | |
880 @end example | |
881 @noindent | |
882 | |
883 in ~/.gnus.el. If you don't want HTML rendered, even if there's no text alternative add | |
884 | |
885 @example | |
886 (setq mm-automatic-display (remove "text/html" mm-automatic-display)) | |
887 @end example | |
888 @noindent | |
889 | |
890 too. | |
891 | |
96024 | 892 @node FAQ 4-7 |
84299 | 893 @subsubheading Question 4.7 |
894 | |
895 Can I use some other browser than w3 to render my HTML-mails? | |
896 | |
897 @subsubheading Answer | |
898 | |
899 Only if you use Gnus 5.10 or younger. In this case you've got the | |
900 choice between w3, w3m, links, lynx and html2text, which | |
901 one is used can be specified in the variable | |
902 mm-text-html-renderer, so if you want links to render your | |
903 mail say | |
904 | |
905 @example | |
906 (setq mm-text-html-renderer 'links) | |
907 @end example | |
908 @noindent | |
909 | |
96024 | 910 @node FAQ 4-8 |
84299 | 911 @subsubheading Question 4.8 |
912 | |
913 Is there anything I can do to make poorly formatted mails | |
914 more readable? | |
915 | |
916 @subsubheading Answer | |
917 | |
918 Gnus offers you several functions to "wash" incoming mail, you can | |
919 find them if you browse through the menu, item | |
920 Article->Washing. The most interesting ones are probably "Wrap | |
921 long lines" (@samp{W w}), "Decode ROT13" | |
922 (@samp{W r}) and "Outlook Deuglify" which repairs | |
923 the dumb quoting used by many users of Microsoft products | |
924 (@samp{W Y f} gives you full deuglify. | |
925 See @samp{W Y C-h} or have a look at the menus for | |
926 other deuglifications). Outlook deuglify is only available since | |
927 Gnus 5.10. | |
928 | |
96024 | 929 @node FAQ 4-9 |
84299 | 930 @subsubheading Question 4.9 |
931 | |
932 Is there a way to automatically ignore posts by specific | |
933 authors or with specific words in the subject? And can I | |
934 highlight more interesting ones in some way? | |
935 | |
936 @subsubheading Answer | |
937 | |
938 You want Scoring. Scoring means, that you define rules | |
939 which assign each message an integer value. Depending on | |
940 the value the message is highlighted in summary buffer (if | |
941 it's high, say +2000) or automatically marked read (if the | |
942 value is low, say -800) or some other action happens. | |
943 | |
944 There are basically three ways of setting up rules which assign | |
945 the scoring-value to messages. The first and easiest way is to set | |
946 up rules based on the article you are just reading. Say you're | |
947 reading a message by a guy who always writes nonsense and you want | |
948 to ignore his messages in the future. Hit | |
949 @samp{L}, to set up a rule which lowers the score. | |
950 Now Gnus asks you which the criteria for lowering the Score shall | |
951 be. Hit @samp{?} twice to see all possibilities, | |
952 we want @samp{a} which means the author (the from | |
953 header). Now Gnus wants to know which kind of matching we want. | |
954 Hit either @samp{e} for an exact match or | |
955 @samp{s} for substring-match and delete afterwards | |
956 everything but the name to score down all authors with the given | |
957 name no matter which email address is used. Now you need to tell | |
958 Gnus when to apply the rule and how long it should last, hit e.g. | |
959 @samp{p} to apply the rule now and let it last | |
960 forever. If you want to raise the score instead of lowering it say | |
961 @samp{I} instead of @samp{L}. | |
962 | |
963 You can also set up rules by hand. To do this say @samp{V | |
964 f} in summary buffer. Then you are asked for the name | |
965 of the score file, it's name.of.group.SCORE for rules valid in | |
966 only one group or all.Score for rules valid in all groups. See the | |
967 Gnus manual for the exact syntax, basically it's one big list | |
968 whose elements are lists again. the first element of those lists | |
969 is the header to score on, then one more list with what to match, | |
970 which score to assign, when to expire the rule and how to do the | |
971 matching. If you find me very interesting, you could e.g. add the | |
972 following to your all.Score: | |
973 | |
974 @example | |
975 (("references" ("hschmi22.userfqdn.rz-online.de" 500 nil s)) | |
976 ("message-id" ("hschmi22.userfqdn.rz-online.de" 999 nil s))) | |
977 @end example | |
978 @noindent | |
979 | |
980 This would add 999 to the score of messages written by me | |
981 and 500 to the score of messages which are a (possibly | |
982 indirect) answer to a message written by me. Of course | |
983 nobody with a sane mind would do this :-) | |
984 | |
985 The third alternative is adaptive scoring. This means Gnus | |
986 watches you and tries to find out what you find | |
987 interesting and what annoying and sets up rules | |
988 which reflect this. Adaptive scoring can be a huge help | |
989 when reading high traffic groups. If you want to activate | |
990 adaptive scoring say | |
991 | |
992 @example | |
993 (setq gnus-use-adaptive-scoring t) | |
994 @end example | |
995 @noindent | |
996 | |
997 in ~/.gnus.el. | |
998 | |
96024 | 999 @node FAQ 4-10 |
84299 | 1000 @subsubheading Question 4.10 |
1001 | |
1002 How can I disable threading in some (e.g. mail-) groups, or | |
1003 set other variables specific for some groups? | |
1004 | |
1005 @subsubheading Answer | |
1006 | |
1007 While in group buffer move point over the group and hit | |
1008 @samp{G c}, this opens a buffer where you | |
1009 can set options for the group. At the bottom of the buffer | |
1010 you'll find an item that allows you to set variables | |
1011 locally for the group. To disable threading enter | |
1012 gnus-show-threads as name of variable and nil as | |
1013 value. Hit button done at the top of the buffer when | |
1014 you're ready. | |
1015 | |
96024 | 1016 @node FAQ 4-11 |
84299 | 1017 @subsubheading Question 4.11 |
1018 | |
1019 Can I highlight messages written by me and follow-ups to | |
1020 those? | |
1021 | |
1022 @subsubheading Answer | |
1023 | |
1024 Stop those "Can I ..." questions, the answer is always yes | |
1025 in Gnus Country :-). It's a three step process: First we | |
1026 make faces (specifications of how summary-line shall look | |
1027 like) for those postings, then we'll give them some | |
1028 special score and finally we'll tell Gnus to use the new | |
110790
1f25b03df4ad
Merge changes made in Gnus trunk.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
110102
diff
changeset
|
1029 faces. |
84299 | 1030 |
96024 | 1031 @node FAQ 4-12 |
84299 | 1032 @subsubheading Question 4.12 |
1033 | |
1034 The number of total messages in a group which Gnus | |
1035 displays in group buffer is by far to high, especially in | |
1036 mail groups. Is this a bug? | |
1037 | |
1038 @subsubheading Answer | |
1039 | |
1040 No, that's a matter of design of Gnus, fixing this would | |
1041 mean reimplementation of major parts of Gnus' | |
1042 back ends. Gnus thinks "highest-article-number - | |
1043 lowest-article-number = total-number-of-articles". This | |
1044 works OK for Usenet groups, but if you delete and move | |
1045 many messages in mail groups, this fails. To cure the | |
1046 symptom, enter the group via @samp{C-u RET} | |
1047 (this makes Gnus get all messages), then | |
1048 hit @samp{M P b} to mark all messages and | |
1049 then say @samp{B m name.of.group} to move | |
1050 all messages to the group they have been in before, they | |
1051 get new message numbers in this process and the count is | |
1052 right again (until you delete and move your mail to other | |
1053 groups again). | |
1054 | |
96024 | 1055 @node FAQ 4-13 |
84299 | 1056 @subsubheading Question 4.13 |
1057 | |
1058 I don't like the layout of summary and article buffer, how | |
1059 to change it? Perhaps even a three pane display? | |
1060 | |
1061 @subsubheading Answer | |
1062 | |
1063 You can control the windows configuration by calling the | |
1064 function gnus-add-configuration. The syntax is a bit | |
1065 complicated but explained very well in the manual node | |
1066 "Window Layout". Some popular examples: | |
1067 | |
1068 Instead 25% summary 75% article buffer 35% summary and 65% | |
1069 article (the 1.0 for article means "take the remaining | |
1070 space"): | |
1071 | |
1072 @example | |
1073 (gnus-add-configuration | |
1074 '(article (vertical 1.0 (summary .35 point) (article 1.0)))) | |
1075 @end example | |
1076 @noindent | |
1077 | |
1078 A three pane layout, Group buffer on the left, summary | |
1079 buffer top-right, article buffer bottom-right: | |
1080 | |
1081 @example | |
1082 (gnus-add-configuration | |
1083 '(article | |
1084 (horizontal 1.0 | |
109264 | 1085 (vertical 25 |
1086 (group 1.0)) | |
1087 (vertical 1.0 | |
1088 (summary 0.25 point) | |
1089 (article 1.0))))) | |
84299 | 1090 (gnus-add-configuration |
1091 '(summary | |
1092 (horizontal 1.0 | |
109264 | 1093 (vertical 25 |
1094 (group 1.0)) | |
1095 (vertical 1.0 | |
1096 (summary 1.0 point))))) | |
84299 | 1097 @end example |
1098 @noindent | |
1099 | |
96024 | 1100 @node FAQ 4-14 |
84299 | 1101 @subsubheading Question 4.14 |
1102 | |
1103 I don't like the way the Summary buffer looks, how to tweak it? | |
1104 | |
1105 @subsubheading Answer | |
1106 | |
1107 You've got to play around with the variable | |
1108 gnus-summary-line-format. It's value is a string of | |
1109 symbols which stand for things like author, date, subject | |
1110 etc. A list of the available specifiers can be found in the | |
1111 manual node "Summary Buffer Lines" and the often forgotten | |
1112 node "Formatting Variables" and it's sub-nodes. There | |
1113 you'll find useful things like positioning the cursor and | |
1114 tabulators which allow you a summary in table form, but | |
1115 sadly hard tabulators are broken in 5.8.8. | |
1116 | |
1117 Since 5.10, Gnus offers you some very nice new specifiers, | |
1118 e.g. %B which draws a thread-tree and %&user-date which | |
1119 gives you a date where the details are dependent of the | |
1120 articles age. Here's an example which uses both: | |
1121 | |
1122 @example | |
1123 (setq gnus-summary-line-format ":%U%R %B %s %-60=|%4L |%-20,20f |%&user-date; \n") | |
1124 @end example | |
1125 @noindent | |
1126 | |
1127 resulting in: | |
1128 | |
1129 @example | |
1130 :O Re: [Richard Stallman] rfc2047.el | 13 |Lars Magne Ingebrigt |Sat 23:06 | |
1131 :O Re: Revival of the ding-patches list | 13 |Lars Magne Ingebrigt |Sat 23:12 | |
1132 :R > Re: Find correct list of articles for a gro| 25 |Lars Magne Ingebrigt |Sat 23:16 | |
1133 :O \-> ... | 21 |Kai Grossjohann | 0:01 | |
1134 :R > Re: Cry for help: deuglify.el - moving stuf| 28 |Lars Magne Ingebrigt |Sat 23:34 | |
1135 :O \-> ... | 115 |Raymond Scholz | 1:24 | |
1136 :O \-> ... | 19 |Lars Magne Ingebrigt |15:33 | |
1137 :O Slow mailing list | 13 |Lars Magne Ingebrigt |Sat 23:49 | |
1138 :O Re: `@@' mark not documented | 13 |Lars Magne Ingebrigt |Sat 23:50 | |
1139 :R > Re: Gnus still doesn't count messages prope| 23 |Lars Magne Ingebrigt |Sat 23:57 | |
1140 :O \-> ... | 18 |Kai Grossjohann | 0:35 | |
1141 :O \-> ... | 13 |Lars Magne Ingebrigt | 0:56 | |
1142 @end example | |
1143 @noindent | |
1144 | |
96024 | 1145 @node FAQ 4-15 |
84299 | 1146 @subsubheading Question 4.15 |
1147 | |
1148 How to split incoming mails in several groups? | |
1149 | |
1150 @subsubheading Answer | |
1151 | |
1152 Gnus offers two possibilities for splitting mail, the easy | |
1153 nnmail-split-methods and the more powerful Fancy Mail | |
1154 Splitting. I'll only talk about the first one, refer to | |
1155 the manual, node "Fancy Mail Splitting" for the latter. | |
1156 | |
1157 The value of nnmail-split-methods is a list, each element | |
1158 is a list which stands for a splitting rule. Each rule has | |
1159 the form "group where matching articles should go to", | |
1160 "regular expression which has to be matched", the first | |
1161 rule which matches wins. The last rule must always be a | |
1162 general rule (regular expression .*) which denotes where | |
1163 articles should go which don't match any other rule. If | |
1164 the folder doesn't exist yet, it will be created as soon | |
1165 as an article lands there. By default the mail will be | |
1166 send to all groups whose rules match. If you | |
1167 don't want that (you probably don't want), say | |
1168 | |
1169 @example | |
1170 (setq nnmail-crosspost nil) | |
1171 @end example | |
1172 @noindent | |
1173 | |
1174 in ~/.gnus.el. | |
1175 | |
1176 An example might be better than thousand words, so here's | |
1177 my nnmail-split-methods. Note that I send duplicates in a | |
1178 special group and that the default group is spam, since I | |
1179 filter all mails out which are from some list I'm | |
1180 subscribed to or which are addressed directly to me | |
1181 before. Those rules kill about 80% of the Spam which | |
1182 reaches me (Email addresses are changed to prevent spammers | |
1183 from using them): | |
1184 | |
1185 @example | |
1186 (setq nnmail-split-methods | |
1187 '(("duplicates" "^Gnus-Warning:.*duplicate") | |
1188 ("XEmacs-NT" "^\\(To:\\|CC:\\).*localpart@@xemacs.invalid.*") | |
1189 ("Gnus-Tut" "^\\(To:\\|CC:\\).*localpart@@socha.invalid.*") | |
1190 ("tcsh" "^\\(To:\\|CC:\\).*localpart@@mx.gw.invalid.*") | |
1191 ("BAfH" "^\\(To:\\|CC:\\).*localpart@@.*uni-muenchen.invalid.*") | |
1192 ("Hamster-src" "^\\(CC:\\|To:\\).*hamster-sourcen@@yahoogroups.\\(de\\|com\\).*") | |
1193 ("Tagesschau" "^From: tagesschau <localpart@@www.tagesschau.invalid>$") | |
1194 ("Replies" "^\\(CC:\\|To:\\).*localpart@@Frank-Schmitt.invalid.*") | |
1195 ("EK" "^From:.*\\(localpart@@privateprovider.invalid\\|localpart@@workplace.invalid\\).*") | |
1196 ("Spam" "^Content-Type:.*\\(ks_c_5601-1987\\|EUC-KR\\|big5\\|iso-2022-jp\\).*") | |
1197 ("Spam" "^Subject:.*\\(This really work\\|XINGA\\|ADV:\\|XXX\\|adult\\|sex\\).*") | |
1198 ("Spam" "^Subject:.*\\(\=\?ks_c_5601-1987\?\\|\=\?euc-kr\?\\|\=\?big5\?\\).*") | |
1199 ("Spam" "^X-Mailer:\\(.*BulkMailer.*\\|.*MIME::Lite.*\\|\\)") | |
1200 ("Spam" "^X-Mailer:\\(.*CyberCreek Avalanche\\|.*http\:\/\/GetResponse\.com\\)") | |
1201 ("Spam" "^From:.*\\(verizon\.net\\|prontomail\.com\\|money\\|ConsumerDirect\\).*") | |
1202 ("Spam" "^Delivered-To: GMX delivery to spamtrap@@gmx.invalid$") | |
1203 ("Spam" "^Received: from link2buy.com") | |
1204 ("Spam" "^CC: .*azzrael@@t-online.invalid") | |
1205 ("Spam" "^X-Mailer-Version: 1.50 BETA") | |
1206 ("Uni" "^\\(CC:\\|To:\\).*localpart@@uni-koblenz.invalid.*") | |
1207 ("Inbox" "^\\(CC:\\|To:\\).*\\(my\ name\\|address@@one.invalid\\|adress@@two.invalid\\)") | |
1208 ("Spam" ""))) | |
1209 @end example | |
1210 @noindent | |
1211 | |
1212 @node FAQ 5 - Composing messages | |
1213 @subsection Composing messages | |
1214 | |
1215 @menu | |
96024 | 1216 * FAQ 5-1:: What are the basic commands I need to know for sending |
1217 mail and postings? | |
1218 * FAQ 5-2:: How to enable automatic word-wrap when composing | |
1219 messages? | |
1220 * FAQ 5-3:: How to set stuff like From, Organization, Reply-To, | |
1221 signature...? | |
1222 * FAQ 5-4:: Can I set things like From, Signature etc group based on | |
1223 the group I post too? | |
1224 * FAQ 5-5:: Is there a spell-checker? Perhaps even on-the-fly | |
1225 spell-checking? | |
1226 * FAQ 5-6:: Can I set the dictionary based on the group I'm posting | |
1227 to? | |
1228 * FAQ 5-7:: Is there some kind of address-book, so I needn't | |
1229 remember all those email addresses? | |
1230 * FAQ 5-8:: Sometimes I see little images at the top of article | |
1231 buffer. What's that and how can I send one with my postings, | |
1232 too? | |
1233 * FAQ 5-9:: Sometimes I accidentally hit r instead of f in | |
1234 newsgroups. Can Gnus warn me, when I'm replying by mail in | |
1235 newsgroups? | |
1236 * FAQ 5-10:: How to tell Gnus not to generate a sender header? | |
1237 * FAQ 5-11:: I want Gnus to locally store copies of my send mail and | |
1238 news, how to do it? | |
1239 * FAQ 5-12:: I want Gnus to kill the buffer after successful sending | |
1240 instead of keeping it alive as "Sent mail to...", how to do it? | |
1241 * FAQ 5-13:: People tell me my Message-IDs are not correct, why | |
1242 aren't they and how to fix it? | |
84299 | 1243 @end menu |
1244 | |
96024 | 1245 @node FAQ 5-1 |
84299 | 1246 @subsubheading Question 5.1 |
1247 | |
1248 What are the basic commands I need to know for sending mail and postings? | |
1249 | |
1250 @subsubheading Answer | |
1251 | |
1252 To start composing a new mail hit @samp{m} | |
1253 either in Group or Summary buffer, for a posting, it's | |
1254 either @samp{a} in Group buffer and | |
1255 filling the Newsgroups header manually | |
1256 or @samp{a} in the Summary buffer of the | |
1257 group where the posting shall be send to. Replying by mail | |
1258 is | |
1259 @samp{r} if you don't want to cite the | |
1260 author, or import the cited text manually and | |
1261 @samp{R} to cite the text of the original | |
1262 message. For a follow up to a newsgroup, it's | |
1263 @samp{f} and @samp{F} | |
1264 (analogously to @samp{r} and | |
1265 @samp{R}). | |
1266 | |
1267 Enter new headers above the line saying "--text follows | |
1268 this line--", enter the text below the line. When ready | |
1269 hit @samp{C-c C-c}, to send the message, | |
1270 if you want to finish it later hit @samp{C-c | |
1271 C-d} to save it in the drafts group, where you | |
1272 can start editing it again by saying @samp{D | |
1273 e}. | |
1274 | |
96024 | 1275 @node FAQ 5-2 |
84299 | 1276 @subsubheading Question 5.2 |
1277 | |
1278 How to enable automatic word-wrap when composing messages? | |
1279 | |
1280 @subsubheading Answer | |
1281 | |
85712
a3c27999decb
Update Gnus to No Gnus 0.7 from the Gnus CVS trunk
Miles Bader <miles@gnu.org>
parents:
84299
diff
changeset
|
1282 Starting from No Gnus, automatic word-wrap is already enabled by |
a3c27999decb
Update Gnus to No Gnus 0.7 from the Gnus CVS trunk
Miles Bader <miles@gnu.org>
parents:
84299
diff
changeset
|
1283 default, see the variable message-fill-column. |
a3c27999decb
Update Gnus to No Gnus 0.7 from the Gnus CVS trunk
Miles Bader <miles@gnu.org>
parents:
84299
diff
changeset
|
1284 |
a3c27999decb
Update Gnus to No Gnus 0.7 from the Gnus CVS trunk
Miles Bader <miles@gnu.org>
parents:
84299
diff
changeset
|
1285 For other versions of Gnus, say |
84299 | 1286 |
1287 @example | |
85712
a3c27999decb
Update Gnus to No Gnus 0.7 from the Gnus CVS trunk
Miles Bader <miles@gnu.org>
parents:
84299
diff
changeset
|
1288 (unless (boundp 'message-fill-column) |
a3c27999decb
Update Gnus to No Gnus 0.7 from the Gnus CVS trunk
Miles Bader <miles@gnu.org>
parents:
84299
diff
changeset
|
1289 (add-hook 'message-mode-hook |
a3c27999decb
Update Gnus to No Gnus 0.7 from the Gnus CVS trunk
Miles Bader <miles@gnu.org>
parents:
84299
diff
changeset
|
1290 (lambda () |
a3c27999decb
Update Gnus to No Gnus 0.7 from the Gnus CVS trunk
Miles Bader <miles@gnu.org>
parents:
84299
diff
changeset
|
1291 (setq fill-column 72) |
a3c27999decb
Update Gnus to No Gnus 0.7 from the Gnus CVS trunk
Miles Bader <miles@gnu.org>
parents:
84299
diff
changeset
|
1292 (turn-on-auto-fill)))) |
84299 | 1293 @end example |
1294 @noindent | |
1295 | |
85712
a3c27999decb
Update Gnus to No Gnus 0.7 from the Gnus CVS trunk
Miles Bader <miles@gnu.org>
parents:
84299
diff
changeset
|
1296 in ~/.gnus.el. |
a3c27999decb
Update Gnus to No Gnus 0.7 from the Gnus CVS trunk
Miles Bader <miles@gnu.org>
parents:
84299
diff
changeset
|
1297 |
96024 | 1298 You can reformat a paragraph by hitting @samp{M-q} |
1299 (as usual). | |
1300 | |
1301 @node FAQ 5-3 | |
84299 | 1302 @subsubheading Question 5.3 |
1303 | |
1304 How to set stuff like From, Organization, Reply-To, signature...? | |
1305 | |
1306 @subsubheading Answer | |
1307 | |
1308 There are other ways, but you should use posting styles | |
1309 for this. (See below why). | |
1310 This example should make the syntax clear: | |
1311 | |
1312 @example | |
1313 (setq gnus-posting-styles | |
1314 '((".*" | |
1315 (name "Frank Schmitt") | |
1316 (address "me@@there.invalid") | |
1317 (organization "Hamme net, kren mer och nimmi") | |
1318 (signature-file "~/.signature") | |
1319 ("X-SampleHeader" "foobar") | |
1320 (eval (setq some-variable "Foo bar"))))) | |
1321 @end example | |
1322 @noindent | |
1323 | |
1324 The ".*" means that this settings are the default ones | |
1325 (see below), valid values for the first element of the | |
1326 following lists are signature, signature-file, | |
1327 organization, address, name or body. The attribute name | |
1328 can also be a string. In that case, this will be used as | |
1329 a header name, and the value will be inserted in the | |
1330 headers of the article; if the value is `nil', the header | |
1331 name will be removed. You can also say (eval (foo bar)), | |
1332 then the function foo will be evaluated with argument bar | |
1333 and the result will be thrown away. | |
1334 | |
96024 | 1335 @node FAQ 5-4 |
84299 | 1336 @subsubheading Question 5.4 |
1337 | |
1338 Can I set things like From, Signature etc group based on the group I post too? | |
1339 | |
1340 @subsubheading Answer | |
1341 | |
1342 That's the strength of posting styles. Before, we used ".*" | |
1343 to set the default for all groups. You can use a regexp | |
1344 like "^gmane" and the following settings are only applied | |
1345 to postings you send to the gmane hierarchy, use | |
1346 ".*binaries" instead and they will be applied to postings | |
1347 send to groups containing the string binaries in their | |
1348 name etc. | |
1349 | |
1350 You can instead of specifying a regexp specify a function | |
1351 which is evaluated, only if it returns true, the | |
1352 corresponding settings take effect. Two interesting | |
1353 candidates for this are message-news-p which returns t if | |
1354 the current Group is a newsgroup and the corresponding | |
1355 message-mail-p. | |
1356 | |
1357 Note that all forms that match are applied, that means in | |
1358 the example below, when I post to | |
1359 gmane.mail.spam.spamassassin.general, the settings under | |
1360 ".*" are applied and the settings under message-news-p and | |
1361 those under "^gmane" and those under | |
1362 "^gmane\\.mail\\.spam\\.spamassassin\\.general$". Because | |
1363 of this put general settings at the top and specific ones | |
1364 at the bottom. | |
1365 | |
1366 @example | |
1367 (setq gnus-posting-styles | |
1368 '((".*" ;;default | |
1369 (name "Frank Schmitt") | |
1370 (organization "Hamme net, kren mer och nimmi") | |
1371 (signature-file "~/.signature")) | |
1372 ((message-news-p) ;;Usenet news? | |
1373 (address "mySpamTrap@@Frank-Schmitt.invalid") | |
1374 (reply-to "hereRealRepliesOnlyPlease@@Frank-Schmitt.invalid")) | |
1375 ((message-mail-p) ;;mail? | |
1376 (address "usedForMails@@Frank-Schmitt.invalid")) | |
1377 ("^gmane" ;;this is mail, too in fact | |
1378 (address "usedForMails@@Frank-Schmitt.invalid") | |
1379 (reply-to nil)) | |
1380 ("^gmane\\.mail\\.spam\\.spamassassin\\.general$" | |
1381 (eval (set (make-local-variable 'message-sendmail-envelope-from) | |
1382 "Azzrael@@rz-online.de"))))) | |
1383 @end example | |
1384 @noindent | |
1385 | |
96024 | 1386 @node FAQ 5-5 |
84299 | 1387 @subsubheading Question 5.5 |
1388 | |
1389 Is there a spell-checker? Perhaps even on-the-fly spell-checking? | |
1390 | |
1391 @subsubheading Answer | |
1392 | |
1393 You can use ispell.el to spell-check stuff in Emacs. So the | |
1394 first thing to do is to make sure that you've got either | |
1395 @uref{http://fmg-www.cs.ucla.edu/fmg-members/geoff/ispell.html, ispell} | |
1396 or @uref{http://aspell.sourceforge.net/, aspell} | |
1397 installed and in your Path. Then you need | |
1398 @uref{http://www.kdstevens.com/~stevens/ispell-page.html, ispell.el} | |
1399 and for on-the-fly spell-checking | |
110790
1f25b03df4ad
Merge changes made in Gnus trunk.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
110102
diff
changeset
|
1400 @uref{http://www-sop.inria.fr/members/Manuel.Serrano/flyspell/flyspell.html, flyspell.el}. |
84299 | 1401 Ispell.el is shipped with Emacs and available through the XEmacs package system, |
1402 flyspell.el is shipped with Emacs and part of XEmacs text-modes package which is | |
1403 available through the package system, so there should be no need to install them | |
1404 manually. | |
1405 | |
1406 Ispell.el assumes you use ispell, if you choose aspell say | |
1407 | |
1408 @example | |
1409 (setq ispell-program-name "aspell") | |
1410 @end example | |
1411 @noindent | |
1412 | |
1413 in your Emacs configuration file. | |
1414 | |
1415 If you want your outgoing messages to be spell-checked, say | |
1416 | |
1417 @example | |
1418 (add-hook 'message-send-hook 'ispell-message) | |
1419 @end example | |
1420 @noindent | |
1421 | |
1422 In your ~/.gnus.el, if you prefer on-the-fly spell-checking say | |
1423 | |
1424 @example | |
1425 (add-hook 'message-mode-hook (lambda () (flyspell-mode 1))) | |
1426 @end example | |
1427 @noindent | |
1428 | |
96024 | 1429 @node FAQ 5-6 |
84299 | 1430 @subsubheading Question 5.6 |
1431 | |
1432 Can I set the dictionary based on the group I'm posting to? | |
1433 | |
1434 @subsubheading Answer | |
1435 | |
1436 Yes, say something like | |
1437 | |
1438 @example | |
1439 (add-hook 'gnus-select-group-hook | |
1440 (lambda () | |
1441 (cond | |
1442 ((string-match | |
1443 "^de\\." (gnus-group-real-name gnus-newsgroup-name)) | |
1444 (ispell-change-dictionary "deutsch8")) | |
1445 (t | |
1446 (ispell-change-dictionary "english"))))) | |
1447 @end example | |
1448 @noindent | |
1449 | |
1450 in ~/.gnus.el. Change "^de\\." and "deutsch8" to something | |
1451 that suits your needs. | |
1452 | |
96024 | 1453 @node FAQ 5-7 |
84299 | 1454 @subsubheading Question 5.7 |
1455 | |
1456 Is there some kind of address-book, so I needn't remember | |
1457 all those email addresses? | |
1458 | |
1459 @subsubheading Answer | |
1460 | |
1461 There's an very basic solution for this, mail aliases. | |
1462 You can store your mail addresses in a ~/.mailrc file using a simple | |
1463 alias syntax: | |
1464 | |
1465 @example | |
109264 | 1466 alias al "Al <al@@english-heritage.invalid>" |
84299 | 1467 @end example |
1468 @noindent | |
1469 | |
1470 Then typing your alias (followed by a space or punctuation | |
1471 character) on a To: or Cc: line in the message buffer will | |
1472 cause Gnus to insert the full address for you. See the | |
1473 node "Mail Aliases" in Message (not Gnus) manual for | |
1474 details. | |
1475 | |
1476 However, what you really want is the Insidious Big Brother | |
1477 Database bbdb. Get it through the XEmacs package system or from | |
1478 @uref{http://bbdb.sourceforge.net/, bbdb's homepage}. | |
1479 Now place the following in ~/.gnus.el, to activate bbdb for Gnus: | |
1480 | |
1481 @example | |
1482 (require 'bbdb) | |
1483 (bbdb-initialize 'gnus 'message) | |
1484 @end example | |
1485 @noindent | |
1486 | |
1487 Now you probably want some general bbdb configuration, | |
1488 place them in ~/.emacs: | |
1489 | |
1490 @example | |
1491 (require 'bbdb) | |
1492 ;;If you don't live in Northern America, you should disable the | |
1493 ;;syntax check for telephone numbers by saying | |
1494 (setq bbdb-north-american-phone-numbers-p nil) | |
1495 ;;Tell bbdb about your email address: | |
1496 (setq bbdb-user-mail-names | |
1497 (regexp-opt '("Your.Email@@here.invalid" | |
1498 "Your.other@@mail.there.invalid"))) | |
1499 ;;cycling while completing email addresses | |
1500 (setq bbdb-complete-name-allow-cycling t) | |
1501 ;;No popup-buffers | |
1502 (setq bbdb-use-pop-up nil) | |
1503 @end example | |
1504 @noindent | |
1505 | |
1506 Now you should be ready to go. Say @samp{M-x bbdb RET | |
1507 RET} to open a bbdb buffer showing all | |
1508 entries. Say @samp{c} to create a new | |
1509 entry, @samp{b} to search your BBDB and | |
1510 @samp{C-o} to add a new field to an | |
1511 entry. If you want to add a sender to the BBDB you can | |
1512 also just hit `:' on the posting in the summary buffer and | |
1513 you are done. When you now compose a new mail, | |
1514 hit @samp{TAB} to cycle through know | |
1515 recipients. | |
1516 | |
96024 | 1517 @node FAQ 5-8 |
84299 | 1518 @subsubheading Question 5.8 |
1519 | |
1520 Sometimes I see little images at the top of article | |
1521 buffer. What's that and how can I send one with my | |
1522 postings, too? | |
1523 | |
1524 @subsubheading Answer | |
1525 | |
1526 Those images are called X-Faces. They are 48*48 pixel b/w | |
1527 pictures, encoded in a header line. If you want to include | |
1528 one in your posts, you've got to convert some image to a | |
1529 X-Face. So fire up some image manipulation program (say | |
1530 Gimp), open the image you want to include, cut out the | |
1531 relevant part, reduce color depth to 1 bit, resize to | |
1532 48*48 and save as bitmap. Now you should get the compface | |
1533 package from | |
1534 @uref{ftp://ftp.cs.indiana.edu:/pub/faces/, this site}. | |
1535 and create the actual X-face by saying | |
1536 | |
1537 @example | |
1538 cat file.xbm | xbm2ikon | compface > file.face | |
1539 cat file.face | sed 's/\\/\\\\/g;s/\"/\\\"/g;' > file.face.quoted | |
1540 @end example | |
1541 @noindent | |
1542 | |
1543 If you can't use compface, there's an online X-face converter at | |
1544 @uref{http://www.dairiki.org/xface/}. | |
1545 If you use MS Windows, you could also use the WinFace program from | |
1546 @uref{http://www.xs4all.nl/~walterln/winface/}. | |
1547 Now you only have to tell Gnus to include the X-face in your postings by saying | |
1548 | |
1549 @example | |
1550 (setq message-default-headers | |
1551 (with-temp-buffer | |
1552 (insert "X-Face: ") | |
1553 (insert-file-contents "~/.xface") | |
1554 (buffer-string))) | |
1555 @end example | |
1556 @noindent | |
1557 | |
1558 in ~/.gnus.el. If you use Gnus 5.10, you can simply add an entry | |
1559 | |
1560 @example | |
1561 (x-face-file "~/.xface") | |
1562 @end example | |
1563 @noindent | |
1564 | |
1565 to gnus-posting-styles. | |
1566 | |
96024 | 1567 @node FAQ 5-9 |
84299 | 1568 @subsubheading Question 5.9 |
1569 | |
1570 Sometimes I accidentally hit r instead of f in | |
1571 newsgroups. Can Gnus warn me, when I'm replying by mail in | |
1572 newsgroups? | |
1573 | |
1574 @subsubheading Answer | |
1575 | |
1576 Put this in ~/.gnus.el: | |
1577 | |
1578 @example | |
1579 (setq gnus-confirm-mail-reply-to-news t) | |
1580 @end example | |
1581 @noindent | |
1582 | |
1583 if you already use Gnus 5.10, if you still use 5.8.8 or | |
1584 5.9 try this instead: | |
1585 | |
1586 @example | |
1587 (eval-after-load "gnus-msg" | |
1588 '(unless (boundp 'gnus-confirm-mail-reply-to-news) | |
1589 (defadvice gnus-summary-reply (around reply-in-news activate) | |
1590 "Request confirmation when replying to news." | |
1591 (interactive) | |
1592 (when (or (not (gnus-news-group-p gnus-newsgroup-name)) | |
1593 (y-or-n-p "Really reply by mail to article author? ")) | |
1594 ad-do-it)))) | |
1595 @end example | |
1596 @noindent | |
1597 | |
96024 | 1598 @node FAQ 5-10 |
84299 | 1599 @subsubheading Question 5.10 |
1600 | |
1601 How to tell Gnus not to generate a sender header? | |
1602 | |
1603 @subsubheading Answer | |
1604 | |
1605 Since 5.10 Gnus doesn't generate a sender header by | |
1606 default. For older Gnus' try this in ~/.gnus.el: | |
1607 | |
1608 @example | |
1609 (eval-after-load "message" | |
1610 '(add-to-list 'message-syntax-checks '(sender . disabled))) | |
1611 @end example | |
1612 @noindent | |
1613 | |
96024 | 1614 @node FAQ 5-11 |
84299 | 1615 @subsubheading Question 5.11 |
1616 | |
1617 I want Gnus to locally store copies of my send mail and | |
1618 news, how to do it? | |
1619 | |
1620 @subsubheading Answer | |
1621 | |
1622 You must set the variable gnus-message-archive-group to do | |
1623 this. You can set it to a string giving the name of the | |
1624 group where the copies shall go or like in the example | |
1625 below use a function which is evaluated and which returns | |
1626 the group to use. | |
1627 | |
1628 @example | |
1629 (setq gnus-message-archive-group | |
109264 | 1630 '((if (message-news-p) |
1631 "nnml:Send-News" | |
1632 "nnml:Send-Mail"))) | |
84299 | 1633 @end example |
1634 @noindent | |
1635 | |
96024 | 1636 @node FAQ 5-12 |
84299 | 1637 @subsubheading Question 5.12 |
1638 | |
96024 | 1639 I want Gnus to kill the buffer after successful sending instead of keeping |
1640 it alive as "Sent mail to...", how to do it? | |
1641 | |
1642 @subsubheading Answer | |
1643 | |
1644 Add this to your ~/.gnus: | |
1645 | |
1646 @example | |
1647 (setq message-kill-buffer-on-exit t) | |
1648 @end example | |
1649 @noindent | |
1650 | |
1651 @node FAQ 5-13 | |
1652 @subsubheading Question 5.13 | |
1653 | |
84299 | 1654 People tell me my Message-IDs are not correct, why |
1655 aren't they and how to fix it? | |
1656 | |
1657 @subsubheading Answer | |
1658 | |
1659 The message-ID is an unique identifier for messages you | |
1660 send. To make it unique, Gnus need to know which machine | |
1661 name to put after the "@@". If the name of the machine | |
1662 where Gnus is running isn't suitable (it probably isn't | |
1663 at most private machines) you can tell Gnus what to use | |
1664 by saying: | |
1665 | |
1666 @example | |
1667 (setq message-user-fqdn "yourmachine.yourdomain.tld") | |
1668 @end example | |
1669 @noindent | |
1670 | |
1671 in ~/.gnus.el. If you use Gnus 5.9 or earlier, you can use this | |
96024 | 1672 instead (works for newer versions as well): |
84299 | 1673 |
1674 @example | |
1675 (eval-after-load "message" | |
1676 '(let ((fqdn "yourmachine.yourdomain.tld"));; <-- Edit this! | |
1677 (if (boundp 'message-user-fqdn) | |
1678 (setq message-user-fqdn fqdn) | |
1679 (gnus-message 1 "Redefining `message-make-fqdn'.") | |
1680 (defun message-make-fqdn () | |
1681 "Return user's fully qualified domain name." | |
1682 fqdn)))) | |
1683 @end example | |
1684 @noindent | |
1685 | |
1686 If you have no idea what to insert for | |
1687 "yourmachine.yourdomain.tld", you've got several | |
1688 choices. You can either ask your provider if he allows | |
1689 you to use something like | |
1690 yourUserName.userfqdn.provider.net, or you can use | |
1691 somethingUnique.yourdomain.tld if you own the domain | |
1692 yourdomain.tld, or you can register at a service which | |
85712
a3c27999decb
Update Gnus to No Gnus 0.7 from the Gnus CVS trunk
Miles Bader <miles@gnu.org>
parents:
84299
diff
changeset
|
1693 gives private users a FQDN for free. |
84299 | 1694 |
1695 Finally you can tell Gnus not to generate a Message-ID | |
1696 for News at all (and letting the server do the job) by saying | |
1697 | |
1698 @example | |
1699 (setq message-required-news-headers | |
1700 (remove' Message-ID message-required-news-headers)) | |
1701 @end example | |
1702 @noindent | |
1703 | |
1704 you can also tell Gnus not to generate Message-IDs for mail by saying | |
1705 | |
1706 @example | |
1707 (setq message-required-mail-headers | |
1708 (remove' Message-ID message-required-mail-headers)) | |
1709 @end example | |
1710 @noindent | |
1711 | |
1712 , however some mail servers don't generate proper | |
1713 Message-IDs, too, so test if your Mail Server behaves | |
1714 correctly by sending yourself a Mail and looking at the Message-ID. | |
1715 | |
1716 @node FAQ 6 - Old messages | |
1717 @subsection Old messages | |
1718 | |
1719 @menu | |
96024 | 1720 * FAQ 6-1:: How to import my old mail into Gnus? |
1721 * FAQ 6-2:: How to archive interesting messages? | |
1722 * FAQ 6-3:: How to search for a specific message? | |
1723 * FAQ 6-4:: How to get rid of old unwanted mail? | |
1724 * FAQ 6-5:: I want that all read messages are expired (at least in | |
1725 some groups). How to do it? | |
1726 * FAQ 6-6:: I don't want expiration to delete my mails but to move | |
1727 them to another group. | |
84299 | 1728 @end menu |
1729 | |
96024 | 1730 @node FAQ 6-1 |
84299 | 1731 @subsubheading Question 6.1 |
1732 | |
1733 How to import my old mail into Gnus? | |
1734 | |
1735 @subsubheading Answer | |
1736 | |
1737 The easiest way is to tell your old mail program to | |
1738 export the messages in mbox format. Most Unix mailers | |
1739 are able to do this, if you come from the MS Windows | |
1740 world, you may find tools at | |
1741 @uref{http://mbx2mbox.sourceforge.net/}. | |
1742 | |
1743 Now you've got to import this mbox file into Gnus. To do | |
1744 this, create a nndoc group based on the mbox file by | |
1745 saying @samp{G f /path/file.mbox RET} in | |
1746 Group buffer. You now have read-only access to your | |
1747 mail. If you want to import the messages to your normal | |
1748 Gnus mail groups hierarchy, enter the nndoc group you've | |
1749 just created by saying @samp{C-u RET} | |
1750 (thus making sure all messages are retrieved), mark all | |
1751 messages by saying @samp{M P b} and | |
1752 either copy them to the desired group by saying | |
1753 @samp{B c name.of.group RET} or send them | |
1754 through nnmail-split-methods (respool them) by saying | |
1755 @samp{B r}. | |
1756 | |
96024 | 1757 @node FAQ 6-2 |
84299 | 1758 @subsubheading Question 6.2 |
1759 | |
1760 How to archive interesting messages? | |
1761 | |
1762 @subsubheading Answer | |
1763 | |
1764 If you stumble across an interesting message, say in | |
1765 gnu.emacs.gnus and want to archive it there are several | |
1766 solutions. The first and easiest is to save it to a file | |
1767 by saying @samp{O f}. However, wouldn't | |
1768 it be much more convenient to have more direct access to | |
1769 the archived message from Gnus? If you say yes, put this | |
1770 snippet by Frank Haun <pille3003@@fhaun.de> in | |
1771 ~/.gnus.el: | |
1772 | |
1773 @example | |
1774 (defun my-archive-article (&optional n) | |
1775 "Copies one or more article(s) to a corresponding `nnml:' group, e.g. | |
1776 `gnus.ding' goes to `nnml:1.gnus.ding'. And `nnml:List-gnus.ding' goes | |
1777 to `nnml:1.List-gnus-ding'. | |
1778 | |
1779 Use process marks or mark a region in the summary buffer to archive | |
1780 more then one article." | |
1781 (interactive "P") | |
1782 (let ((archive-name | |
1783 (format | |
1784 "nnml:1.%s" | |
1785 (if (featurep 'xemacs) | |
1786 (replace-in-string gnus-newsgroup-name "^.*:" "") | |
1787 (replace-regexp-in-string "^.*:" "" gnus-newsgroup-name))))) | |
1788 (gnus-summary-copy-article n archive-name))) | |
1789 @end example | |
1790 @noindent | |
1791 | |
1792 You can now say @samp{M-x | |
1793 my-archive-article} in summary buffer to | |
1794 archive the article under the cursor in a nnml | |
1795 group. (Change nnml to your preferred back end) | |
1796 | |
1797 Of course you can also make sure the cache is enabled by saying | |
1798 | |
1799 @example | |
1800 (setq gnus-use-cache t) | |
1801 @end example | |
1802 @noindent | |
1803 | |
1804 then you only have to set either the tick or the dormant | |
1805 mark for articles you want to keep, setting the read | |
1806 mark will remove them from cache. | |
1807 | |
96024 | 1808 @node FAQ 6-3 |
84299 | 1809 @subsubheading Question 6.3 |
1810 | |
1811 How to search for a specific message? | |
1812 | |
1813 @subsubheading Answer | |
1814 | |
1815 There are several ways for this, too. For a posting from | |
1816 a Usenet group the easiest solution is probably to ask | |
1817 @uref{http://groups.google.com, groups.google.com}, | |
1818 if you found the posting there, tell Google to display | |
1819 the raw message, look for the message-id, and say | |
1820 @samp{M-^ the@@message.id RET} in a | |
1821 summary buffer. | |
1822 Since Gnus 5.10 there's also a Gnus interface for | |
1823 groups.google.com which you can call with | |
1824 @samp{G W}) in group buffer. | |
1825 | |
1826 Another idea which works for both mail and news groups | |
1827 is to enter the group where the message you are | |
1828 searching is and use the standard Emacs search | |
1829 @samp{C-s}, it's smart enough to look at | |
1830 articles in collapsed threads, too. If you want to | |
1831 search bodies, too try @samp{M-s} | |
1832 instead. Further on there are the | |
1833 gnus-summary-limit-to-foo functions, which can help you, | |
1834 too. | |
1835 | |
1836 Of course you can also use grep to search through your | |
1837 local mail, but this is both slow for big archives and | |
1838 inconvenient since you are not displaying the found mail | |
1839 in Gnus. Here comes nnir into action. Nnir is a front end | |
1840 to search engines like swish-e or swish++ and | |
1841 others. You index your mail with one of those search | |
1842 engines and with the help of nnir you can search trough | |
1843 the indexed mail and generate a temporary group with all | |
1844 messages which met your search criteria. If this sound | |
1845 cool to you get nnir.el from | |
1846 @uref{ftp://ls6-ftp.cs.uni-dortmund.de/pub/src/emacs/} | |
1847 or @uref{ftp://ftp.is.informatik.uni-duisburg.de/pub/src/emacs/}. | |
1848 Instructions on how to use it are at the top of the file. | |
1849 | |
96024 | 1850 @node FAQ 6-4 |
84299 | 1851 @subsubheading Question 6.4 |
1852 | |
1853 How to get rid of old unwanted mail? | |
1854 | |
1855 @subsubheading Answer | |
1856 | |
1857 You can of course just mark the mail you don't need | |
1858 anymore by saying @samp{#} with point | |
1859 over the mail and then say @samp{B DEL} | |
1860 to get rid of them forever. You could also instead of | |
1861 actually deleting them, send them to a junk-group by | |
1862 saying @samp{B m nnml:trash-bin} which | |
1863 you clear from time to time, but both are not the intended | |
1864 way in Gnus. | |
1865 | |
1866 In Gnus, we let mail expire like news expires on a news | |
1867 server. That means you tell Gnus the message is | |
1868 expirable (you tell Gnus "I don't need this mail | |
1869 anymore") by saying @samp{E} with point | |
1870 over the mail in summary buffer. Now when you leave the | |
1871 group, Gnus looks at all messages which you marked as | |
1872 expirable before and if they are old enough (default is | |
1873 older than a week) they are deleted. | |
1874 | |
96024 | 1875 @node FAQ 6-5 |
84299 | 1876 @subsubheading Question 6.5 |
1877 | |
1878 I want that all read messages are expired (at least in | |
1879 some groups). How to do it? | |
1880 | |
1881 @subsubheading Answer | |
1882 | |
1883 If you want all read messages to be expired (e.g. in | |
1884 mailing lists where there's an online archive), you've | |
1885 got two choices: auto-expire and | |
1886 total-expire. Auto-expire means, that every article | |
1887 which has no marks set and is selected for reading is | |
1888 marked as expirable, Gnus hits @samp{E} | |
1889 for you every time you read a message. Total-expire | |
1890 follows a slightly different approach, here all article | |
1891 where the read mark is set are expirable. | |
1892 | |
1893 To activate auto-expire, include auto-expire in the | |
1894 Group parameters for the group. (Hit @samp{G | |
1895 c} in summary buffer with point over the | |
1896 group to change group parameters). For total-expire add | |
1897 total-expire to the group-parameters. | |
1898 | |
1899 Which method you choose is merely a matter of taste: | |
1900 Auto-expire is faster, but it doesn't play together with | |
1901 Adaptive Scoring, so if you want to use this feature, | |
1902 you should use total-expire. | |
1903 | |
1904 If you want a message to be excluded from expiration in | |
1905 a group where total or auto expire is active, set either | |
1906 tick (hit @samp{u}) or dormant mark (hit | |
1907 @samp{u}), when you use auto-expire, you | |
1908 can also set the read mark (hit | |
1909 @samp{d}). | |
1910 | |
96024 | 1911 @node FAQ 6-6 |
84299 | 1912 @subsubheading Question 6.6 |
1913 | |
1914 I don't want expiration to delete my mails but to move them | |
1915 to another group. | |
1916 | |
1917 @subsubheading Answer | |
1918 | |
1919 Say something like this in ~/.gnus.el: | |
1920 | |
1921 @example | |
1922 (setq nnmail-expiry-target "nnml:expired") | |
1923 @end example | |
1924 @noindent | |
1925 | |
1926 (If you want to change the value of nnmail-expiry-target | |
1927 on a per group basis see the question "How can I disable | |
1928 threading in some (e.g. mail-) groups, or set other | |
1929 variables specific for some groups?") | |
1930 | |
1931 @node FAQ 7 - Gnus in a dial-up environment | |
1932 @subsection Gnus in a dial-up environment | |
1933 | |
1934 @menu | |
96024 | 1935 * FAQ 7-1:: I don't have a permanent connection to the net, how can I |
1936 minimize the time I've got to be connected? | |
1937 * FAQ 7-2:: So what was this thing about the Agent? | |
1938 * FAQ 7-3:: I want to store article bodies on disk, too. How to do | |
1939 it? | |
1940 * FAQ 7-4:: How to tell Gnus not to try to send mails / postings | |
1941 while I'm offline? | |
84299 | 1942 @end menu |
1943 | |
96024 | 1944 @node FAQ 7-1 |
84299 | 1945 @subsubheading Question 7.1 |
1946 | |
1947 I don't have a permanent connection to the net, how can | |
1948 I minimize the time I've got to be connected? | |
1949 | |
1950 @subsubheading Answer | |
1951 | |
1952 You've got basically two options: Either you use the | |
1953 Gnus Agent (see below) for this, or you can install | |
1954 programs which fetch your news and mail to your local | |
1955 disk and Gnus reads the stuff from your local | |
1956 machine. | |
1957 | |
1958 If you want to follow the second approach, you need a | |
1959 program which fetches news and offers them to Gnus, a | |
1960 program which does the same for mail and a program which | |
1961 receives the mail you write from Gnus and sends them | |
1962 when you're online. | |
1963 | |
1964 Let's talk about Unix systems first: For the news part, | |
1965 the easiest solution is a small nntp server like | |
1966 @uref{http://www.leafnode.org/, Leafnode} or | |
1967 @uref{http://infa.abo.fi/~patrik/sn/, sn}, | |
1968 of course you can also install a full featured news | |
1969 server like | |
1970 @uref{http://www.isc.org/products/INN/, inn}. | |
1971 Then you want to fetch your Mail, popular choices | |
1972 are @uref{http://www.catb.org/~esr/fetchmail/, fetchmail} | |
110790
1f25b03df4ad
Merge changes made in Gnus trunk.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
110102
diff
changeset
|
1973 and @uref{http://pyropus.ca/software/getmail/, getmail}. |
84299 | 1974 You should tell those to write the mail to your disk and |
1975 Gnus to read it from there. Last but not least the mail | |
1976 sending part: This can be done with every MTA like | |
1977 @uref{http://www.sendmail.org/, sendmail}, | |
1978 @uref{http://www.qmail.org/, postfix}, | |
1979 @uref{http://www.exim.org/, exim} or | |
1980 @uref{http://www.qmail.org/, qmail}. | |
1981 | |
1982 On windows boxes I'd vote for | |
1983 @uref{http://www.tglsoft.de/, Hamster}, | |
1984 it's a small freeware, open-source program which fetches | |
1985 your mail and news from remote servers and offers them | |
1986 to Gnus (or any other mail and/or news reader) via nntp | |
1987 respectively POP3 or IMAP. It also includes a smtp | |
1988 server for receiving mails from Gnus. | |
1989 | |
96024 | 1990 @node FAQ 7-2 |
84299 | 1991 @subsubheading Question 7.2 |
1992 | |
1993 So what was this thing about the Agent? | |
1994 | |
1995 @subsubheading Answer | |
1996 | |
1997 The Gnus agent is part of Gnus, it allows you to fetch | |
1998 mail and news and store them on disk for reading them | |
1999 later when you're offline. It kind of mimics offline | |
2000 newsreaders like e.g. Forte Agent. If you want to use | |
2001 the Agent place the following in ~/.gnus.el if you are | |
2002 still using 5.8.8 or 5.9 (it's the default since 5.10): | |
2003 | |
2004 @example | |
2005 (setq gnus-agent t) | |
2006 @end example | |
2007 @noindent | |
2008 | |
2009 Now you've got to select the servers whose groups can be | |
2010 stored locally. To do this, open the server buffer | |
2011 (that is press @samp{^} while in the | |
2012 group buffer). Now select a server by moving point to | |
2013 the line naming that server. Finally, agentize the | |
2014 server by typing @samp{J a}. If you | |
2015 make a mistake, or change your mind, you can undo this | |
2016 action by typing @samp{J r}. When | |
2017 you're done, type 'q' to return to the group buffer. | |
2018 Now the next time you enter a group on a agentized | |
2019 server, the headers will be stored on disk and read from | |
2020 there the next time you enter the group. | |
2021 | |
96024 | 2022 @node FAQ 7-3 |
84299 | 2023 @subsubheading Question 7.3 |
2024 | |
2025 I want to store article bodies on disk, too. How to do it? | |
2026 | |
2027 @subsubheading Answer | |
2028 | |
2029 You can tell the agent to automatically fetch the bodies | |
2030 of articles which fulfill certain predicates, this is | |
2031 done in a special buffer which can be reached by | |
2032 saying @samp{J c} in group | |
2033 buffer. Please refer to the documentation for | |
2034 information which predicates are possible and how | |
2035 exactly to do it. | |
2036 | |
2037 Further on you can tell the agent manually which | |
2038 articles to store on disk. There are two ways to do | |
2039 this: Number one: In the summary buffer, process mark a | |
2040 set of articles that shall be stored in the agent by | |
2041 saying @samp{#} with point over the | |
2042 article and then type @samp{J s}. The | |
2043 other possibility is to set, again in the summary | |
2044 buffer, downloadable (%) marks for the articles you | |
2045 want by typing @samp{@@} with point over | |
2046 the article and then typing @samp{J u}. | |
2047 What's the difference? Well, process marks are erased as | |
2048 soon as you exit the summary buffer while downloadable | |
2049 marks are permanent. You can actually set downloadable | |
2050 marks in several groups then use fetch session ('J s' in | |
2051 the GROUP buffer) to fetch all of those articles. The | |
2052 only downside is that fetch session also fetches all of | |
2053 the headers for every selected group on an agentized | |
2054 server. Depending on the volume of headers, the initial | |
2055 fetch session could take hours. | |
2056 | |
96024 | 2057 @node FAQ 7-4 |
84299 | 2058 @subsubheading Question 7.4 |
2059 | |
2060 How to tell Gnus not to try to send mails / postings | |
2061 while I'm offline? | |
2062 | |
2063 @subsubheading Answer | |
2064 | |
2065 All you've got to do is to tell Gnus when you are online | |
2066 (plugged) and when you are offline (unplugged), the rest | |
2067 works automatically. You can toggle plugged/unplugged | |
2068 state by saying @samp{J j} in group | |
2069 buffer. To start Gnus unplugged say @samp{M-x | |
2070 gnus-unplugged} instead of | |
2071 @samp{M-x gnus}. Note that for this to | |
2072 work, the agent must be active. | |
2073 | |
2074 @node FAQ 8 - Getting help | |
2075 @subsection Getting help | |
2076 | |
2077 @menu | |
96024 | 2078 * FAQ 8-1:: How to find information and help inside Emacs? |
2079 * FAQ 8-2:: I can't find anything in the Gnus manual about X (e.g. | |
2080 attachments, PGP, MIME...), is it not documented? | |
2081 * FAQ 8-3:: Which websites should I know? | |
2082 * FAQ 8-4:: Which mailing lists and newsgroups are there? | |
2083 * FAQ 8-5:: Where to report bugs? | |
2084 * FAQ 8-6:: I need real-time help, where to find it? | |
84299 | 2085 @end menu |
2086 | |
96024 | 2087 @node FAQ 8-1 |
84299 | 2088 @subsubheading Question 8.1 |
2089 | |
2090 How to find information and help inside Emacs? | |
2091 | |
2092 @subsubheading Answer | |
2093 | |
2094 The first stop should be the Gnus manual (Say | |
2095 @samp{C-h i d m Gnus RET} to start the | |
2096 Gnus manual, then walk through the menus or do a | |
2097 full-text search with @samp{s}). Then | |
2098 there are the general Emacs help commands starting with | |
2099 C-h, type @samp{C-h ? ?} to get a list | |
2100 of all available help commands and their meaning. Finally | |
2101 @samp{M-x apropos-command} lets you | |
2102 search through all available functions and @samp{M-x | |
2103 apropos} searches the bound variables. | |
2104 | |
96024 | 2105 @node FAQ 8-2 |
84299 | 2106 @subsubheading Question 8.2 |
2107 | |
2108 I can't find anything in the Gnus manual about X | |
2109 (e.g. attachments, PGP, MIME...), is it not documented? | |
2110 | |
2111 @subsubheading Answer | |
2112 | |
2113 There's not only the Gnus manual but also the manuals | |
2114 for message, emacs-mime, sieve and pgg. Those packages | |
2115 are distributed with Gnus and used by Gnus but aren't | |
2116 really part of core Gnus, so they are documented in | |
2117 different info files, you should have a look in those | |
2118 manuals, too. | |
2119 | |
96024 | 2120 @node FAQ 8-3 |
84299 | 2121 @subsubheading Question 8.3 |
2122 | |
2123 Which websites should I know? | |
2124 | |
2125 @subsubheading Answer | |
2126 | |
110790
1f25b03df4ad
Merge changes made in Gnus trunk.
Katsumi Yamaoka <yamaoka@jpl.org>
parents:
110102
diff
changeset
|
2127 The most important one is the |
84299 | 2128 @uref{http://www.gnus.org, official Gnus website}. |
2129 | |
2130 Tell me about other sites which are interesting. | |
2131 | |
96024 | 2132 @node FAQ 8-4 |
84299 | 2133 @subsubheading Question 8.4 |
2134 | |
2135 Which mailing lists and newsgroups are there? | |
2136 | |
2137 @subsubheading Answer | |
2138 | |
93386 | 2139 There's the newsgroup gnu.emacs.gnus (also available as |
96024 | 2140 @uref{http://dir.gmane.org/gmane.emacs.gnus.user, |
2141 gmane.emacs.gnus.user}) which deals with general Gnus | |
2142 questions. If you have questions about development versions of | |
2143 Gnus, you should better ask on the ding mailing list, see below. | |
93386 | 2144 |
2145 If you want to stay in the big8, | |
102870 | 2146 news.software.readers is also read by some Gnus |
93386 | 2147 users (but chances for qualified help are much better in |
96024 | 2148 the above groups). If you speak German, there's |
93386 | 2149 de.comm.software.gnus. |
2150 | |
84299 | 2151 The ding mailing list (ding@@gnus.org) deals with development of |
2152 Gnus. You can read the ding list via NNTP, too under the name | |
2153 @uref{http://dir.gmane.org/gmane.emacs.gnus.general, | |
2154 gmane.emacs.gnus.general} from news.gmane.org. | |
2155 | |
96024 | 2156 @node FAQ 8-5 |
84299 | 2157 @subsubheading Question 8.5 |
2158 | |
2159 Where to report bugs? | |
2160 | |
2161 @subsubheading Answer | |
2162 | |
2163 Say @samp{M-x gnus-bug}, this will start | |
2164 a message to the | |
2165 @email{bugs@@gnus.org, gnus bug mailing list} | |
2166 including information about your environment which make | |
2167 it easier to help you. | |
2168 | |
96024 | 2169 @node FAQ 8-6 |
84299 | 2170 @subsubheading Question 8.6 |
2171 | |
2172 I need real-time help, where to find it? | |
2173 | |
2174 @subsubheading Answer | |
2175 | |
2176 Point your IRC client to irc.freenode.net, channel #gnus. | |
2177 | |
2178 @node FAQ 9 - Tuning Gnus | |
2179 @subsection Tuning Gnus | |
2180 | |
2181 @menu | |
96024 | 2182 * FAQ 9-1:: Starting Gnus is really slow, how to speed it up? |
2183 * FAQ 9-2:: How to speed up the process of entering a group? | |
2184 * FAQ 9-3:: Sending mail becomes slower and slower, what's up? | |
84299 | 2185 @end menu |
2186 | |
96024 | 2187 @node FAQ 9-1 |
84299 | 2188 @subsubheading Question 9.1 |
2189 | |
2190 Starting Gnus is really slow, how to speed it up? | |
2191 | |
2192 @subsubheading Answer | |
2193 | |
2194 The reason for this could be the way Gnus reads it's | |
2195 active file, see the node "The Active File" in the Gnus | |
2196 manual for things you might try to speed the process up. | |
2197 An other idea would be to byte compile your ~/.gnus.el (say | |
2198 @samp{M-x byte-compile-file RET ~/.gnus.el | |
2199 RET} to do it). Finally, if you have require | |
2200 statements in your .gnus, you could replace them with | |
2201 eval-after-load, which loads the stuff not at startup | |
2202 time, but when it's needed. Say you've got this in your | |
2203 ~/.gnus.el: | |
2204 | |
2205 @example | |
2206 (require 'message) | |
2207 (add-to-list 'message-syntax-checks '(sender . disabled)) | |
2208 @end example | |
2209 @noindent | |
2210 | |
2211 then as soon as you start Gnus, message.el is loaded. If | |
2212 you replace it with | |
2213 | |
2214 @example | |
2215 (eval-after-load "message" | |
2216 '(add-to-list 'message-syntax-checks '(sender . disabled))) | |
2217 @end example | |
2218 @noindent | |
2219 | |
2220 it's loaded when it's needed. | |
2221 | |
96024 | 2222 @node FAQ 9-2 |
84299 | 2223 @subsubheading Question 9.2 |
2224 | |
2225 How to speed up the process of entering a group? | |
2226 | |
2227 @subsubheading Answer | |
2228 | |
2229 A speed killer is setting the variable | |
2230 gnus-fetch-old-headers to anything different from nil, | |
2231 so don't do this if speed is an issue. To speed up | |
2232 building of summary say | |
2233 | |
2234 @example | |
2235 (gnus-compile) | |
2236 @end example | |
2237 @noindent | |
2238 | |
2239 at the bottom of your ~/.gnus.el, this will make gnus | |
2240 byte-compile things like | |
2241 gnus-summary-line-format. | |
2242 then you could increase the value of gc-cons-threshold | |
2243 by saying something like | |
2244 | |
2245 @example | |
2246 (setq gc-cons-threshold 3500000) | |
2247 @end example | |
2248 @noindent | |
2249 | |
2250 in ~/.emacs. If you don't care about width of CJK | |
2251 characters or use Gnus 5.10 or younger together with a | |
2252 recent GNU Emacs, you should say | |
2253 | |
2254 @example | |
2255 (setq gnus-use-correct-string-widths nil) | |
2256 @end example | |
2257 @noindent | |
2258 | |
2259 in ~/.gnus.el (thanks to Jesper harder for the last | |
2260 two suggestions). Finally if you are still using 5.8.8 | |
2261 or 5.9 and experience speed problems with summary | |
2262 buffer generation, you definitely should update to | |
2263 5.10 since there quite some work on improving it has | |
2264 been done. | |
2265 | |
96024 | 2266 @node FAQ 9-3 |
84299 | 2267 @subsubheading Question 9.3 |
2268 | |
2269 Sending mail becomes slower and slower, what's up? | |
2270 | |
2271 @subsubheading Answer | |
2272 | |
2273 The reason could be that you told Gnus to archive the | |
2274 messages you wrote by setting | |
2275 gnus-message-archive-group. Try to use a nnml group | |
2276 instead of an archive group, this should bring you back | |
2277 to normal speed. | |
2278 | |
2279 @node FAQ - Glossary | |
2280 @subsection Glossary | |
2281 | |
2282 @table @dfn | |
2283 | |
2284 @item ~/.gnus.el | |
2285 When the term ~/.gnus.el is used it just means your Gnus | |
2286 configuration file. You might as well call it ~/.gnus or | |
2287 specify another name. | |
2288 | |
2289 @item Back End | |
2290 In Gnus terminology a back end is a virtual server, a layer | |
2291 between core Gnus and the real NNTP-, POP3-, IMAP- or | |
2292 whatever-server which offers Gnus a standardized interface | |
2293 to functions like "get message", "get Headers" etc. | |
2294 | |
2295 @item Emacs | |
2296 When the term Emacs is used in this FAQ, it means either GNU | |
2297 Emacs or XEmacs. | |
2298 | |
2299 @item Message | |
2300 In this FAQ message means a either a mail or a posting to a | |
2301 Usenet Newsgroup or to some other fancy back end, no matter | |
2302 of which kind it is. | |
2303 | |
2304 @item MUA | |
2305 MUA is an acronym for Mail User Agent, it's the program you | |
2306 use to read and write e-mails. | |
2307 | |
2308 @item NUA | |
2309 NUA is an acronym for News User Agent, it's the program you | |
2310 use to read and write Usenet news. | |
2311 | |
2312 @end table |