diff options
| author | Eli Zaretskii | 2001-06-10 16:26:00 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-06-10 16:26:00 +0000 |
| commit | 9f6f30898d9d12bbc37a96bb94f7d3ac9786b9ec (patch) | |
| tree | 78968210ae9adf936190d8b0d4a041e3539ab561 | |
| parent | 3d7a4ec820dbcf2fcf6d3552903d5bc8d8a04180 (diff) | |
| download | emacs-9f6f30898d9d12bbc37a96bb94f7d3ac9786b9ec.tar.gz emacs-9f6f30898d9d12bbc37a96bb94f7d3ac9786b9ec.zip | |
Get rid of Overfull hbox messages from TeX.
| -rw-r--r-- | man/gnus-faq.texi | 42 | ||||
| -rw-r--r-- | man/gnus.texi | 177 |
2 files changed, 127 insertions, 92 deletions
diff --git a/man/gnus-faq.texi b/man/gnus-faq.texi index 48280517837..7f5d12b4d68 100644 --- a/man/gnus-faq.texi +++ b/man/gnus-faq.texi | |||
| @@ -306,7 +306,9 @@ The most vital entries in my (still young) all.SCORE: | |||
| 306 | (("xref" | 306 | (("xref" |
| 307 | ("alt.fan.oj-simpson" -1000 nil s)) | 307 | ("alt.fan.oj-simpson" -1000 nil s)) |
| 308 | ("subject" | 308 | ("subject" |
| 309 | ("\\<\\(make\\|fast\\|big\\)\\s-*\\(money\\|cash\\|bucks?\\)\\>" -1000 nil r) | 309 | (concat "\\<\\(make\\|fast\\|big\\)\\s-*" |
| 310 | "\\(money\\|cash\\|bucks?\\)\\>" | ||
| 311 | -1000 nil r) | ||
| 310 | ("$$$$" -1000 nil s))) | 312 | ("$$$$" -1000 nil s))) |
| 311 | @end lisp | 313 | @end lisp |
| 312 | 314 | ||
| @@ -334,13 +336,17 @@ I would like to contribute with mine. | |||
| 334 | ;; $$$ Make Money $$$ | 336 | ;; $$$ Make Money $$$ |
| 335 | ("$$" -10 nil s) | 337 | ("$$" -10 nil s) |
| 336 | ;; Empty subjects are worthless! | 338 | ;; Empty subjects are worthless! |
| 337 | ("^ *\\([(<]none[>)]\\|(no subject\\( given\\)?)\\)? *$" -10 nil r) | 339 | ("^ *\\([(<]none[>)]\\|(no subject\\( given\\)?)\\)? *$" |
| 340 | -10 nil r) | ||
| 338 | ;; Sometimes interesting announces occur! | 341 | ;; Sometimes interesting announces occur! |
| 339 | ("ANN?OU?NC\\(E\\|ING\\)" +10 nil r) | 342 | ("ANN?OU?NC\\(E\\|ING\\)" +10 nil r) |
| 340 | ;; Some people think they're on mailing lists | 343 | ;; Some people think they're on mailing lists |
| 341 | ("\\(un\\)?sub?scribe" -100 nil r) | 344 | ("\\(un\\)?sub?scribe" -100 nil r) |
| 342 | ;; Stop Micro$oft NOW!! | 345 | ;; Stop Micro$oft NOW!! |
| 343 | ("\\(m\\(icro\\)?[s$]\\(oft\\|lot\\)?-?\\)?wind?\\(ows\\|aube\\|oze\\)?[- ]*\\('?95\\|NT\\|3[.]1\\|32\\)" -1001 nil r) | 346 | ;; ("concat" used to avoid overfull box.) |
| 347 | (concat "\\(m\\(icro\\)?[s$]\\(oft\\|lot\\)?-?\\)?" | ||
| 348 | "wind?\\(ows\\|aube\\|oze\\)?[- ]*" | ||
| 349 | "\\('?95\\|NT\\|3[.]1\\|32\\)" -1001 nil r) | ||
| 344 | ;; I've nothing to buy | 350 | ;; I've nothing to buy |
| 345 | ("\\(for\\|4\\)[- ]*sale" -100 nil r) | 351 | ("\\(for\\|4\\)[- ]*sale" -100 nil r) |
| 346 | ;; SELF-DISCIPLINED people | 352 | ;; SELF-DISCIPLINED people |
| @@ -383,12 +389,19 @@ excessively cross posted articles. | |||
| 383 | ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -2 nil r) | 389 | ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -2 nil r) |
| 384 | ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -4 nil r) | 390 | ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -4 nil r) |
| 385 | ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -8 nil r) | 391 | ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -8 nil r) |
| 386 | ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -16 nil r) | 392 | ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" |
| 387 | ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -32 nil r) | 393 | -16 nil r) |
| 388 | ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -64 nil r) | 394 | (concat "^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" |
| 389 | ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -128 nil r) | 395 | " \\S-+ \\S-+" |
| 390 | ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -256 nil r) | 396 | -32 nil r) |
| 391 | ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -512 nil r)) | 397 | (concat "^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" |
| 398 | " \\S-+ \\S-+ \\S-+" -64 nil r) | ||
| 399 | (concat "^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" | ||
| 400 | " \\S-+ \\S-+ \\S-+ \\S-+" -128 nil r) | ||
| 401 | (concat "^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" | ||
| 402 | " \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -256 nil r) | ||
| 403 | (concat "^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" | ||
| 404 | " \\S-+" \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -512 nil r)) | ||
| 392 | @end lisp | 405 | @end lisp |
| 393 | 406 | ||
| 394 | @end enumerate | 407 | @end enumerate |
| @@ -404,7 +417,7 @@ something like: | |||
| 404 | @example | 417 | @example |
| 405 | (defconst mail-yank-ignored-headers | 418 | (defconst mail-yank-ignored-headers |
| 406 | "^.*:" | 419 | "^.*:" |
| 407 | "Delete these headers from old message when it's inserted in a reply.") | 420 | "Delete these headers from message when it's inserted in reply.") |
| 408 | @end example | 421 | @end example |
| 409 | 422 | ||
| 410 | 423 | ||
| @@ -486,8 +499,8 @@ in your @file{.gnus} instead. | |||
| 486 | @item | 499 | @item |
| 487 | Q3.1 How do I convert my kill files to score files? | 500 | Q3.1 How do I convert my kill files to score files? |
| 488 | 501 | ||
| 489 | A kill-to-score translator was written by Ethan Bradford | 502 | @email{ethanb@@ptolemy.astro.washington.edu, Ethan Bradford} write a |
| 490 | <ethanb@@ptolemy.astro.washington.edu>. It is available from@* | 503 | kill-to-score translator. It is available from@* |
| 491 | @file{http://baugi.ifi.uio.no/~larsi/ding-various/gnus-kill-to-score.el}. | 504 | @file{http://baugi.ifi.uio.no/~larsi/ding-various/gnus-kill-to-score.el}. |
| 492 | 505 | ||
| 493 | 506 | ||
| @@ -526,8 +539,9 @@ Luis Fernandes <elf@@mailhost.ee.ryerson.ca>writes:@* | |||
| 526 | This is what I use...customize as necessary... | 539 | This is what I use...customize as necessary... |
| 527 | 540 | ||
| 528 | @lisp | 541 | @lisp |
| 529 | ;;; Don't auto-select first article if reading sources, or archives or | 542 | ;;; Don't auto-select first article if reading sources, or |
| 530 | ;;; jobs postings, etc. and just display the summary buffer | 543 | ;;; archives or jobs postings, etc. and just display the |
| 544 | ;;; summary buffer | ||
| 531 | (add-hook 'gnus-select-group-hook | 545 | (add-hook 'gnus-select-group-hook |
| 532 | (function | 546 | (function |
| 533 | (lambda () | 547 | (lambda () |
diff --git a/man/gnus.texi b/man/gnus.texi index c7bc9a9c885..64d42451179 100644 --- a/man/gnus.texi +++ b/man/gnus.texi | |||
| @@ -6554,7 +6554,8 @@ a spool, you could | |||
| 6554 | 6554 | ||
| 6555 | @lisp | 6555 | @lisp |
| 6556 | (setq gnus-use-long-file-name '(not-save)) ; to get a hierarchy | 6556 | (setq gnus-use-long-file-name '(not-save)) ; to get a hierarchy |
| 6557 | (setq gnus-default-article-saver 'gnus-summary-save-in-file) ; no encoding | 6557 | (setq gnus-default-article-saver |
| 6558 | 'gnus-summary-save-in-file) ; no encoding | ||
| 6558 | @end lisp | 6559 | @end lisp |
| 6559 | 6560 | ||
| 6560 | Then just save with @kbd{o}. You'd then read this hierarchy with | 6561 | Then just save with @kbd{o}. You'd then read this hierarchy with |
| @@ -7718,7 +7719,7 @@ Say how much time has elapsed between the article was posted and now | |||
| 7718 | (@code{gnus-article-date-lapsed}). It looks something like: | 7719 | (@code{gnus-article-date-lapsed}). It looks something like: |
| 7719 | 7720 | ||
| 7720 | @example | 7721 | @example |
| 7721 | X-Sent: 9 years, 6 weeks, 4 days, 9 hours, 3 minutes, 28 seconds ago | 7722 | X-Sent: 6 weeks, 4 days, 1 hour, 3 minutes, 8 seconds ago |
| 7722 | @end example | 7723 | @end example |
| 7723 | 7724 | ||
| 7724 | The value of @code{gnus-article-date-lapsed-new-header} determines | 7725 | The value of @code{gnus-article-date-lapsed-new-header} determines |
| @@ -10572,7 +10573,8 @@ The default value is | |||
| 10572 | 10573 | ||
| 10573 | @lisp | 10574 | @lisp |
| 10574 | '(("nntpd 1\\.5\\.11t" | 10575 | '(("nntpd 1\\.5\\.11t" |
| 10575 | (remove-hook 'nntp-server-opened-hook 'nntp-send-mode-reader))) | 10576 | (remove-hook 'nntp-server-opened-hook |
| 10577 | 'nntp-send-mode-reader))) | ||
| 10576 | @end lisp | 10578 | @end lisp |
| 10577 | 10579 | ||
| 10578 | This ensures that Gnus doesn't send the @code{MODE READER} command to | 10580 | This ensures that Gnus doesn't send the @code{MODE READER} command to |
| @@ -10712,10 +10714,12 @@ define a server as follows: | |||
| 10712 | @lisp | 10714 | @lisp |
| 10713 | ;; Type `C-c C-c' after you've finished editing. | 10715 | ;; Type `C-c C-c' after you've finished editing. |
| 10714 | ;; | 10716 | ;; |
| 10715 | ;; "snews" is port 563 and is predefined in our /etc/services | 10717 | ;; "snews" is port 563 and is predefined |
| 10718 | ;; in our /etc/services | ||
| 10716 | ;; | 10719 | ;; |
| 10717 | (nntp "snews.bar.com" | 10720 | (nntp "snews.bar.com" |
| 10718 | (nntp-open-connection-function nntp-open-ssl-stream) | 10721 | (nntp-open-connection-function |
| 10722 | nntp-open-ssl-stream) | ||
| 10719 | (nntp-port-number "snews") | 10723 | (nntp-port-number "snews") |
| 10720 | (nntp-address "snews.bar.com")) | 10724 | (nntp-address "snews.bar.com")) |
| 10721 | @end lisp | 10725 | @end lisp |
| @@ -11333,11 +11337,13 @@ from locking problems). | |||
| 11333 | Two example maildir mail sources: | 11337 | Two example maildir mail sources: |
| 11334 | 11338 | ||
| 11335 | @lisp | 11339 | @lisp |
| 11336 | (maildir :path "/home/user-name/Maildir/" :subdirs ("cur" "new")) | 11340 | (maildir :path "/home/user-name/Maildir/" |
| 11341 | :subdirs ("cur" "new")) | ||
| 11337 | @end lisp | 11342 | @end lisp |
| 11338 | 11343 | ||
| 11339 | @lisp | 11344 | @lisp |
| 11340 | (maildir :path "/user@@remotehost.org:~/Maildir/" :subdirs ("new")) | 11345 | (maildir :path "/user@@remotehost.org:~/Maildir/" |
| 11346 | :subdirs ("new")) | ||
| 11341 | @end lisp | 11347 | @end lisp |
| 11342 | 11348 | ||
| 11343 | @item imap | 11349 | @item imap |
| @@ -11429,7 +11435,9 @@ after finishing the fetch. | |||
| 11429 | An example @sc{imap} mail source: | 11435 | An example @sc{imap} mail source: |
| 11430 | 11436 | ||
| 11431 | @lisp | 11437 | @lisp |
| 11432 | (imap :server "mail.mycorp.com" :stream kerberos4 :fetchflag "\\Seen") | 11438 | (imap :server "mail.mycorp.com" |
| 11439 | :stream kerberos4 | ||
| 11440 | :fetchflag "\\Seen") | ||
| 11433 | @end lisp | 11441 | @end lisp |
| 11434 | 11442 | ||
| 11435 | @item webmail | 11443 | @item webmail |
| @@ -11468,7 +11476,9 @@ folder after finishing the fetch. | |||
| 11468 | An example webmail source: | 11476 | An example webmail source: |
| 11469 | 11477 | ||
| 11470 | @lisp | 11478 | @lisp |
| 11471 | (webmail :subtype 'hotmail :user "user-name" :password "secret") | 11479 | (webmail :subtype 'hotmail |
| 11480 | :user "user-name" | ||
| 11481 | :password "secret") | ||
| 11472 | @end lisp | 11482 | @end lisp |
| 11473 | @end table | 11483 | @end table |
| 11474 | 11484 | ||
| @@ -12916,13 +12926,13 @@ The password to use when posting. | |||
| 12916 | 12926 | ||
| 12917 | @item nnslashdot-directory | 12927 | @item nnslashdot-directory |
| 12918 | @vindex nnslashdot-directory | 12928 | @vindex nnslashdot-directory |
| 12919 | Where @code{nnslashdot} will store its files. The default value is | 12929 | Where @code{nnslashdot} will store its files. The default is |
| 12920 | @samp{~/News/slashdot/}. | 12930 | @samp{~/News/slashdot/}. |
| 12921 | 12931 | ||
| 12922 | @item nnslashdot-active-url | 12932 | @item nnslashdot-active-url |
| 12923 | @vindex nnslashdot-active-url | 12933 | @vindex nnslashdot-active-url |
| 12924 | The @sc{url} format string that will be used to fetch the information on | 12934 | The @sc{url} format string that will be used to fetch the information on |
| 12925 | news articles and comments. The default is | 12935 | news articles and comments. Default: |
| 12926 | @samp{http://slashdot.org/search.pl?section=&min=%d}. | 12936 | @samp{http://slashdot.org/search.pl?section=&min=%d}. |
| 12927 | 12937 | ||
| 12928 | @item nnslashdot-comments-url | 12938 | @item nnslashdot-comments-url |
| @@ -13712,9 +13722,10 @@ Here's an example: | |||
| 13712 | 13722 | ||
| 13713 | @lisp | 13723 | @lisp |
| 13714 | (setq gnus-post-method | 13724 | (setq gnus-post-method |
| 13715 | '(nngateway "mail2news@@replay.com" | 13725 | '(nngateway |
| 13716 | (nngateway-header-transformation | 13726 | "mail2news@@replay.com" |
| 13717 | nngateway-mail2news-header-transformation))) | 13727 | (nngateway-header-transformation |
| 13728 | nngateway-mail2news-header-transformation))) | ||
| 13718 | @end lisp | 13729 | @end lisp |
| 13719 | 13730 | ||
| 13720 | @end table | 13731 | @end table |
| @@ -14030,7 +14041,8 @@ Neither did I, we need examples. | |||
| 14030 | 14041 | ||
| 14031 | @lisp | 14042 | @lisp |
| 14032 | (setq nnimap-split-rule | 14043 | (setq nnimap-split-rule |
| 14033 | '(("INBOX.nnimap" "^Sender: owner-nnimap@@vic20.globalcom.se") | 14044 | '(("INBOX.nnimap" |
| 14045 | "^Sender: owner-nnimap@@vic20.globalcom.se") | ||
| 14034 | ("INBOX.junk" "^Subject:.*MAKE MONEY") | 14046 | ("INBOX.junk" "^Subject:.*MAKE MONEY") |
| 14035 | ("INBOX.private" ""))) | 14047 | ("INBOX.private" ""))) |
| 14036 | @end lisp | 14048 | @end lisp |
| @@ -15606,7 +15618,8 @@ returned is the local score file. Phu. | |||
| 15606 | For example, to do hierarchical scoring but use a non-server-specific | 15618 | For example, to do hierarchical scoring but use a non-server-specific |
| 15607 | overall score file, you could use the value | 15619 | overall score file, you could use the value |
| 15608 | @example | 15620 | @example |
| 15609 | (list (lambda (group) ("all.SCORE")) 'gnus-score-find-hierarchical) | 15621 | (list (lambda (group) ("all.SCORE")) |
| 15622 | 'gnus-score-find-hierarchical) | ||
| 15610 | @end example | 15623 | @end example |
| 15611 | 15624 | ||
| 15612 | @item gnus-score-expiry-days | 15625 | @item gnus-score-expiry-days |
| @@ -16284,7 +16297,9 @@ the @code{Xref} header. | |||
| 16284 | If you want to lower the score of articles that have been crossposted to | 16297 | If you want to lower the score of articles that have been crossposted to |
| 16285 | more than, say, 3 groups: | 16298 | more than, say, 3 groups: |
| 16286 | @lisp | 16299 | @lisp |
| 16287 | ("xref" ("[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+" -1000 nil r)) | 16300 | ("xref" |
| 16301 | ("[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+" | ||
| 16302 | -1000 nil r)) | ||
| 16288 | @end lisp | 16303 | @end lisp |
| 16289 | 16304 | ||
| 16290 | @item Matching on the body | 16305 | @item Matching on the body |
| @@ -16350,9 +16365,10 @@ All you have to do to use other people's score files is to set the | |||
| 16350 | or each score file directory. Gnus will decide by itself what score | 16365 | or each score file directory. Gnus will decide by itself what score |
| 16351 | files are applicable to which group. | 16366 | files are applicable to which group. |
| 16352 | 16367 | ||
| 16353 | Say you want to use the score file | 16368 | To use the score file |
| 16354 | @file{/ftp@@ftp.gnus.org:/pub/larsi/ding/score/soc.motss.SCORE} and | 16369 | @file{/ftp@@ftp.gnus.org:/pub/larsi/ding/score/soc.motss.SCORE} and |
| 16355 | all score files in the @file{/ftp@@ftp.some-where:/pub/score} directory: | 16370 | all score files in the @file{/ftp@@ftp.some-where:/pub/score} directory, |
| 16371 | say this: | ||
| 16356 | 16372 | ||
| 16357 | @lisp | 16373 | @lisp |
| 16358 | (setq gnus-global-score-files | 16374 | (setq gnus-global-score-files |
| @@ -16361,6 +16377,7 @@ all score files in the @file{/ftp@@ftp.some-where:/pub/score} directory: | |||
| 16361 | @end lisp | 16377 | @end lisp |
| 16362 | 16378 | ||
| 16363 | @findex gnus-score-search-global-directories | 16379 | @findex gnus-score-search-global-directories |
| 16380 | @noindent | ||
| 16364 | Simple, eh? Directory names must end with a @samp{/}. These | 16381 | Simple, eh? Directory names must end with a @samp{/}. These |
| 16365 | directories are typically scanned only once during each Gnus session. | 16382 | directories are typically scanned only once during each Gnus session. |
| 16366 | If you feel the need to manually re-scan the remote directories, you can | 16383 | If you feel the need to manually re-scan the remote directories, you can |
| @@ -17414,13 +17431,13 @@ To be slightly more formal, here's a definition of what a valid split | |||
| 17414 | may look like: | 17431 | may look like: |
| 17415 | 17432 | ||
| 17416 | @example | 17433 | @example |
| 17417 | split = frame | horizontal | vertical | buffer | form | 17434 | split = frame | horizontal | vertical | buffer | form |
| 17418 | frame = "(frame " size *split ")" | 17435 | frame = "(frame " size *split ")" |
| 17419 | horizontal = "(horizontal " size *split ")" | 17436 | horizontal = "(horizontal " size *split ")" |
| 17420 | vertical = "(vertical " size *split ")" | 17437 | vertical = "(vertical " size *split ")" |
| 17421 | buffer = "(" buffer-name " " size *[ "point" ] *[ "frame-focus"] ")" | 17438 | buffer = "(" buf-name " " size *[ "point" ] *[ "frame-focus"] ")" |
| 17422 | size = number | frame-params | 17439 | size = number | frame-params |
| 17423 | buffer-name = group | article | summary ... | 17440 | buf-name = group | article | summary ... |
| 17424 | @end example | 17441 | @end example |
| 17425 | 17442 | ||
| 17426 | The limitations are that the @code{frame} split can only appear as the | 17443 | The limitations are that the @code{frame} split can only appear as the |
| @@ -17516,13 +17533,14 @@ for composing mail and news while leaving the original frame intact. To | |||
| 17516 | accomplish that, something like the following can be done: | 17533 | accomplish that, something like the following can be done: |
| 17517 | 17534 | ||
| 17518 | @lisp | 17535 | @lisp |
| 17519 | (message (frame 1.0 | 17536 | (message |
| 17520 | (if (not (buffer-live-p gnus-summary-buffer)) | 17537 | (frame 1.0 |
| 17521 | (car (cdr (assoc 'group gnus-buffer-configuration))) | 17538 | (if (not (buffer-live-p gnus-summary-buffer)) |
| 17522 | (car (cdr (assoc 'summary gnus-buffer-configuration)))) | 17539 | (car (cdr (assoc 'group gnus-buffer-configuration))) |
| 17523 | (vertical ((user-position . t) (top . 1) (left . 1) | 17540 | (car (cdr (assoc 'summary gnus-buffer-configuration)))) |
| 17524 | (name . "Message")) | 17541 | (vertical ((user-position . t) (top . 1) (left . 1) |
| 17525 | (message 1.0 point)))) | 17542 | (name . "Message")) |
| 17543 | (message 1.0 point)))) | ||
| 17526 | @end lisp | 17544 | @end lisp |
| 17527 | 17545 | ||
| 17528 | @findex gnus-add-configuration | 17546 | @findex gnus-add-configuration |
| @@ -21470,7 +21488,9 @@ Below is a slightly shortened version of the @code{nndir} backend. | |||
| 21470 | "*Non-nil means that nndir will never retrieve NOV headers." | 21488 | "*Non-nil means that nndir will never retrieve NOV headers." |
| 21471 | nnml-nov-is-evil) | 21489 | nnml-nov-is-evil) |
| 21472 | 21490 | ||
| 21473 | (defvoo nndir-current-group "" nil nnml-current-group nnmh-current-group) | 21491 | (defvoo nndir-current-group "" |
| 21492 | nil | ||
| 21493 | nnml-current-group nnmh-current-group) | ||
| 21474 | (defvoo nndir-top-directory nil nil nnml-directory nnmh-directory) | 21494 | (defvoo nndir-top-directory nil nil nnml-directory nnmh-directory) |
| 21475 | (defvoo nndir-get-new-mail nil nil nnml-get-new-mail nnmh-get-new-mail) | 21495 | (defvoo nndir-get-new-mail nil nil nnml-get-new-mail nnmh-get-new-mail) |
| 21476 | 21496 | ||
| @@ -21488,7 +21508,8 @@ Below is a slightly shortened version of the @code{nndir} backend. | |||
| 21488 | (unless (assq 'nndir-directory defs) | 21508 | (unless (assq 'nndir-directory defs) |
| 21489 | (push `(nndir-directory ,server) defs)) | 21509 | (push `(nndir-directory ,server) defs)) |
| 21490 | (push `(nndir-current-group | 21510 | (push `(nndir-current-group |
| 21491 | ,(file-name-nondirectory (directory-file-name nndir-directory))) | 21511 | ,(file-name-nondirectory |
| 21512 | (directory-file-name nndir-directory))) | ||
| 21492 | defs) | 21513 | defs) |
| 21493 | (push `(nndir-top-directory | 21514 | (push `(nndir-top-directory |
| 21494 | ,(file-name-directory (directory-file-name nndir-directory))) | 21515 | ,(file-name-directory (directory-file-name nndir-directory))) |
| @@ -21627,47 +21648,47 @@ Here's a typical score file: | |||
| 21627 | BNF definition of a score file: | 21648 | BNF definition of a score file: |
| 21628 | 21649 | ||
| 21629 | @example | 21650 | @example |
| 21630 | score-file = "" / "(" *element ")" | 21651 | score-file = "" / "(" *element ")" |
| 21631 | element = rule / atom | 21652 | element = rule / atom |
| 21632 | rule = string-rule / number-rule / date-rule | 21653 | rule = string-rule / number-rule / date-rule |
| 21633 | string-rule = "(" quote string-header quote space *string-match ")" | 21654 | string-rule = "(" quote string-header quote space *string-match ")" |
| 21634 | number-rule = "(" quote number-header quote space *number-match ")" | 21655 | number-rule = "(" quote number-header quote space *number-match ")" |
| 21635 | date-rule = "(" quote date-header quote space *date-match ")" | 21656 | date-rule = "(" quote date-header quote space *date-match ")" |
| 21636 | quote = <ascii 34> | 21657 | quote = <ascii 34> |
| 21637 | string-header = "subject" / "from" / "references" / "message-id" / | 21658 | string-header = "subject" / "from" / "references" / "message-id" / |
| 21638 | "xref" / "body" / "head" / "all" / "followup" | 21659 | "xref" / "body" / "head" / "all" / "followup" |
| 21639 | number-header = "lines" / "chars" | 21660 | number-header = "lines" / "chars" |
| 21640 | date-header = "date" | 21661 | date-header = "date" |
| 21641 | string-match = "(" quote <string> quote [ "" / [ space score [ "" / | 21662 | string-match = "(" quote <string> quote [ "" / [ space score [ "" / |
| 21642 | space date [ "" / [ space string-match-t ] ] ] ] ] ")" | 21663 | space date [ "" / [ space string-match-t ] ] ] ] ] ")" |
| 21643 | score = "nil" / <integer> | 21664 | score = "nil" / <integer> |
| 21644 | date = "nil" / <natural number> | 21665 | date = "nil" / <natural number> |
| 21645 | string-match-t = "nil" / "s" / "substring" / "S" / "Substring" / | 21666 | string-match-t = "nil" / "s" / "substring" / "S" / "Substring" / |
| 21646 | "r" / "regex" / "R" / "Regex" / | 21667 | "r" / "regex" / "R" / "Regex" / |
| 21647 | "e" / "exact" / "E" / "Exact" / | 21668 | "e" / "exact" / "E" / "Exact" / |
| 21648 | "f" / "fuzzy" / "F" / "Fuzzy" | 21669 | "f" / "fuzzy" / "F" / "Fuzzy" |
| 21649 | number-match = "(" <integer> [ "" / [ space score [ "" / | 21670 | number-match = "(" <integer> [ "" / [ space score [ "" / |
| 21650 | space date [ "" / [ space number-match-t ] ] ] ] ] ")" | 21671 | space date [ "" / [ space number-match-t ] ] ] ] ] ")" |
| 21651 | number-match-t = "nil" / "=" / "<" / ">" / ">=" / "<=" | 21672 | number-match-t = "nil" / "=" / "<" / ">" / ">=" / "<=" |
| 21652 | date-match = "(" quote <string> quote [ "" / [ space score [ "" / | 21673 | date-match = "(" quote <string> quote [ "" / [ space score [ "" / |
| 21653 | space date [ "" / [ space date-match-t ] ] ] ] ")" | 21674 | space date [ "" / [ space date-match-t ] ] ] ] ")" |
| 21654 | date-match-t = "nil" / "at" / "before" / "after" | 21675 | date-match-t = "nil" / "at" / "before" / "after" |
| 21655 | atom = "(" [ required-atom / optional-atom ] ")" | 21676 | atom = "(" [ required-atom / optional-atom ] ")" |
| 21656 | required-atom = mark / expunge / mark-and-expunge / files / | 21677 | required-atom = mark / expunge / mark-and-expunge / files / |
| 21657 | exclude-files / read-only / touched | 21678 | exclude-files / read-only / touched |
| 21658 | optional-atom = adapt / local / eval | 21679 | optional-atom = adapt / local / eval |
| 21659 | mark = "mark" space nil-or-number | 21680 | mark = "mark" space nil-or-number |
| 21660 | nil-or-number = "nil" / <integer> | 21681 | nil-or-number = "nil" / <integer> |
| 21661 | expunge = "expunge" space nil-or-number | 21682 | expunge = "expunge" space nil-or-number |
| 21662 | mark-and-expunge = "mark-and-expunge" space nil-or-number | 21683 | mark-and-expunge = "mark-and-expunge" space nil-or-number |
| 21663 | files = "files" *[ space <string> ] | 21684 | files = "files" *[ space <string> ] |
| 21664 | exclude-files = "exclude-files" *[ space <string> ] | 21685 | exclude-files = "exclude-files" *[ space <string> ] |
| 21665 | read-only = "read-only" [ space "nil" / space "t" ] | 21686 | read-only = "read-only" [ space "nil" / space "t" ] |
| 21666 | adapt = "adapt" [ space "ignore" / space "t" / space adapt-rule ] | 21687 | adapt = "adapt" [ space "ignore" / space "t" / space adapt-rule ] |
| 21667 | adapt-rule = "(" *[ <string> *[ "(" <string> <integer> ")" ] ")" | 21688 | adapt-rule = "(" *[ <string> *[ "(" <string> <integer> ")" ] ")" |
| 21668 | local = "local" *[ space "(" <string> space <form> ")" ] | 21689 | local = "local" *[ space "(" <string> space <form> ")" ] |
| 21669 | eval = "eval" space <form> | 21690 | eval = "eval" space <form> |
| 21670 | space = *[ " " / <TAB> / <NEWLINE> ] | 21691 | space = *[ " " / <TAB> / <NEWLINE> ] |
| 21671 | @end example | 21692 | @end example |
| 21672 | 21693 | ||
| 21673 | Any unrecognized elements in a score file should be ignored, but not | 21694 | Any unrecognized elements in a score file should be ignored, but not |
| @@ -22034,9 +22055,9 @@ Here's a pseudo-BNF definition of this file: | |||
| 22034 | 22055 | ||
| 22035 | @example | 22056 | @example |
| 22036 | active = *group-line | 22057 | active = *group-line |
| 22037 | group-line = group space high-number space low-number space flag <NEWLINE> | 22058 | group-line = group spc high-number spc low-number spc flag <NEWLINE> |
| 22038 | group = <non-white-space string> | 22059 | group = <non-white-space string> |
| 22039 | space = " " | 22060 | spc = " " |
| 22040 | high-number = <non-negative integer> | 22061 | high-number = <non-negative integer> |
| 22041 | low-number = <positive integer> | 22062 | low-number = <positive integer> |
| 22042 | flag = "y" / "n" / "m" / "j" / "x" / "=" group | 22063 | flag = "y" / "n" / "m" / "j" / "x" / "=" group |