comparison etc/gnus-tut.txt @ 49600:23a1cea22d13

Trailing whitespace deleted.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 04 Feb 2003 14:56:31 +0000
parents 03ddf0b96330
children 23a17af379b1 d7ddb3e565de
comparison
equal deleted inserted replaced
49599:5ade352e8d1c 49600:23a1cea22d13
55 If you are having problems with Gnus not finding your server, you have 55 If you are having problems with Gnus not finding your server, you have
56 to set `gnus-select-method'. A "method" is a way of specifying *how* 56 to set `gnus-select-method'. A "method" is a way of specifying *how*
57 the news is to be found, and from *where*. 57 the news is to be found, and from *where*.
58 58
59 Say you want to read news from you local, friendly nntp server 59 Say you want to read news from you local, friendly nntp server
60 "news.my.local.server". 60 "news.my.local.server".
61 61
62 (setq gnus-select-method '(nntp "news.my.local.server")) 62 (setq gnus-select-method '(nntp "news.my.local.server"))
63 63
64 Quite easy, huh? 64 Quite easy, huh?
65 65
130 130
131 (setq gnus-secondary-select-methods '((nnmbox ""))) 131 (setq gnus-secondary-select-methods '((nnmbox "")))
132 132
133 (The same for the other methods, kind of.) 133 (The same for the other methods, kind of.)
134 134
135 You should also set `nnmail-split-methods' to something sensible: 135 You should also set `nnmail-split-methods' to something sensible:
136 136
137 (setq nnmail-split-methods 137 (setq nnmail-split-methods
138 '(("mail.junk" "From:.*Lars") 138 '(("mail.junk" "From:.*Lars")
139 ("mail.misc ""))) 139 ("mail.misc "")))
140 140
141 This will put all mail from me in you junk mail group, and the rest in 141 This will put all mail from me in you junk mail group, and the rest in
142 "mail.misc". 142 "mail.misc".
143 143
144 These groups will be subscribe the same way as the normal groups, so 144 These groups will be subscribe the same way as the normal groups, so
145 you will probably find them among the zombie groups after you set 145 you will probably find them among the zombie groups after you set
146 these variables and re-start Gnus. 146 these variables and re-start Gnus.
147 147
150 From: larsi@ifi.uio.no (ding) 150 From: larsi@ifi.uio.no (ding)
151 Date: Fri Feb 24 13:40:45 1995 151 Date: Fri Feb 24 13:40:45 1995
152 Subject: Foreign newsgroups 152 Subject: Foreign newsgroups
153 Message-ID: <lars-doc5@eyesore.no> 153 Message-ID: <lars-doc5@eyesore.no>
154 154
155 These are groups that do not come from `gnus-select-method'. 155 These are groups that do not come from `gnus-select-method'.
156 156
157 Say you want to read "alt.furniture.couches" from "news.funet.fi". You 157 Say you want to read "alt.furniture.couches" from "news.funet.fi". You
158 can then either type `B news.funet.fi <RET>' to browse that server and 158 can then either type `B news.funet.fi <RET>' to browse that server and
159 subscribe to that group, or you can type 159 subscribe to that group, or you can type
160 `G m alt.furniture.couches<RET>nntp<RET>news.funet.fi<RET>', if you 160 `G m alt.furniture.couches<RET>nntp<RET>news.funet.fi<RET>', if you
161 like to type a lot. 161 like to type a lot.
162 162
163 If you want to read a directory as a newsgroup, you can create an 163 If you want to read a directory as a newsgroup, you can create an
164 nndir group, much the same way. There's a shorthand for that, 164 nndir group, much the same way. There's a shorthand for that,
176 Message-ID: <lars-doc6@eyesore.no> 176 Message-ID: <lars-doc6@eyesore.no>
177 177
178 Gnus really isn't GNUS, even though it looks like it. If you scrape 178 Gnus really isn't GNUS, even though it looks like it. If you scrape
179 the surface, you'll find that most things have changed. 179 the surface, you'll find that most things have changed.
180 180
181 This means that old code that relies on GNUS internals will fail. 181 This means that old code that relies on GNUS internals will fail.
182 182
183 In particular, `gnus-newsrc-hashtb', `gnus-newsrc-assoc', 183 In particular, `gnus-newsrc-hashtb', `gnus-newsrc-assoc',
184 `gnus-killed-list', the `nntp-header-' macros and the display formats 184 `gnus-killed-list', the `nntp-header-' macros and the display formats
185 have all changed. If you have some code lying around that depend on 185 have all changed. If you have some code lying around that depend on
186 these, or change these, you'll have to re-write your code. 186 these, or change these, you'll have to re-write your code.
194 194
195 There is absolutely no chance, whatsoever, of getting Gnus to work 195 There is absolutely no chance, whatsoever, of getting Gnus to work
196 with Emacs 18. It won't even work on Emacsen older than Emacs 196 with Emacs 18. It won't even work on Emacsen older than Emacs
197 19.30/XEmacs 19.13. Upgrade your Emacs or die. 197 19.30/XEmacs 19.13. Upgrade your Emacs or die.
198 198
199 199
200 From lars Thu Feb 23 23:20:38 1995 200 From lars Thu Feb 23 23:20:38 1995
201 From: larsi@ifi.uio.no (ding) 201 From: larsi@ifi.uio.no (ding)
202 Date: Fri Feb 24 13:40:45 1995 202 Date: Fri Feb 24 13:40:45 1995
203 Subject: How do I re-scan my mail groups? 203 Subject: How do I re-scan my mail groups?
204 Message-ID: <lars-doc8@eyesore.no> 204 Message-ID: <lars-doc8@eyesore.no>
224 224
225 `M-a my.virtual.newsgroup<RET>nnvirtual<RET>^rec\.aquaria\.*<RET>' 225 `M-a my.virtual.newsgroup<RET>nnvirtual<RET>^rec\.aquaria\.*<RET>'
226 226
227 This will create the group "nnvirtual:my.virtual.newsgroup", which 227 This will create the group "nnvirtual:my.virtual.newsgroup", which
228 will collect all articles from all the groups in the "rec.aquaria" 228 will collect all articles from all the groups in the "rec.aquaria"
229 hierarchy. 229 hierarchy.
230 230
231 If you want to edit the regular expression, just type `M-e' on the 231 If you want to edit the regular expression, just type `M-e' on the
232 group line. 232 group line.
233 233
234 Note that all the groups that are part of the virtual group have to be 234 Note that all the groups that are part of the virtual group have to be
256 If you only want this in virtual groups, you could say something along 256 If you only want this in virtual groups, you could say something along
257 the lines of: 257 the lines of:
258 258
259 (setq gnus-select-group-hook 259 (setq gnus-select-group-hook
260 (lambda () 260 (lambda ()
261 (if (eq 'nnvirtual (car (gnus-find-method-for-group 261 (if (eq 'nnvirtual (car (gnus-find-method-for-group
262 gnus-newsgroup-name))) 262 gnus-newsgroup-name)))
263 (progn 263 (progn
264 (make-local-variable 'gnus-thread-sort-functions) 264 (make-local-variable 'gnus-thread-sort-functions)
265 (setq gnus-thread-sort-functions '(gnus-thread-sort-by-date)))))) 265 (setq gnus-thread-sort-functions '(gnus-thread-sort-by-date))))))
266 266
279 version. If the bug persists, please re-submit your bug report. 279 version. If the bug persists, please re-submit your bug report.
280 280
281 When a bug occurs, I need a recipe for how to trigger the bug. You 281 When a bug occurs, I need a recipe for how to trigger the bug. You
282 have to tell me exactly what you do to uncover the bug, and you should 282 have to tell me exactly what you do to uncover the bug, and you should
283 (setq debug-on-error t) and send me the backtrace along with the bug 283 (setq debug-on-error t) and send me the backtrace along with the bug
284 report. 284 report.
285 285
286 If I am not able to reproduce the bug, I won't be able to fix it. 286 If I am not able to reproduce the bug, I won't be able to fix it.
287 287
288 I would, of course, prefer that you locate the bug, fix it, and mail 288 I would, of course, prefer that you locate the bug, fix it, and mail
289 me the patches, but one can't have everything. 289 me the patches, but one can't have everything.