aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2008-12-06 17:26:18 +0000
committerMiles Bader2008-12-06 17:26:18 +0000
commit030cca007e151c7bb58ae1b241e5968d7e0602af (patch)
tree548da45ed1a29c9debe904124aca88bb5fc6a06a
parent56f37e53c9713f1ff3823bfd649cf2c9827d6068 (diff)
downloademacs-030cca007e151c7bb58ae1b241e5968d7e0602af.tar.gz
emacs-030cca007e151c7bb58ae1b241e5968d7e0602af.zip
Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1490
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/gnus.texi66
-rw-r--r--lisp/gnus/ChangeLog7
-rw-r--r--lisp/gnus/gnus-score.el6
4 files changed, 60 insertions, 24 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index ecd7767ac86..82e0cfc47cf 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12008-12-04 David Engster <dengste@eml.cc>
2
3 * gnus.texi (nnmairix): Mention mairix.el. Point out the importance
4 of nnml-get-new-mail. Change URL for mairix patch.
5
12008-12-01 Jay Belanger <jay.p.belanger@gmail.com> 62008-12-01 Jay Belanger <jay.p.belanger@gmail.com>
2 7
3 * calc.texi (About This Manual): Clarify behavior of `C-x * t'. 8 * calc.texi (About This Manual): Clarify behavior of `C-x * t'.
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index f9395183376..874be2ca125 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -4450,7 +4450,9 @@ one of these back ends for using @code{nnmairix}. Other back ends, like
4450If you absolutely must use mbox and still want to use @code{nnmairix}, 4450If you absolutely must use mbox and still want to use @code{nnmairix},
4451you can set up a local @acronym{IMAP} server, which you then access via 4451you can set up a local @acronym{IMAP} server, which you then access via
4452@code{nnimap}. This is a rather massive setup for accessing some mbox 4452@code{nnimap}. This is a rather massive setup for accessing some mbox
4453files, so just change to MH or Maildir already... 4453files, so just change to MH or Maildir already... However, if you're
4454really, really passionate about using mbox, you might want to look into
4455the package @file{mairix.el}, which comes with Emacs 23.
4454 4456
4455@node What nnmairix does 4457@node What nnmairix does
4456@subsubsection What nnmairix does 4458@subsubsection What nnmairix does
@@ -4472,7 +4474,7 @@ automatically update themselves by calling mairix.
4472 4474
4473You might ask why you need @code{nnmairix} at all, since mairix already 4475You might ask why you need @code{nnmairix} at all, since mairix already
4474creates the group, populates it with links to the mails so that you can 4476creates the group, populates it with links to the mails so that you can
4475then access it with Gnus, right? Well, this @emph{might} work, but often 4477then access it with Gnus, right? Well, this @emph{might} work, but often
4476does not---at least not without problems. Most probably you will get 4478does not---at least not without problems. Most probably you will get
4477strange article counts, and sometimes you might see mails which Gnus 4479strange article counts, and sometimes you might see mails which Gnus
4478claims have already been canceled and are inaccessible. This is due to 4480claims have already been canceled and are inaccessible. This is due to
@@ -4482,21 +4484,22 @@ use mairix with an @acronym{IMAP} server (I had Dovecot complaining
4482about corrupt index files when mairix changed the contents of the search 4484about corrupt index files when mairix changed the contents of the search
4483group). Using @code{nnmairix} should circumvent these problems. 4485group). Using @code{nnmairix} should circumvent these problems.
4484 4486
4485@code{nnmairix} is not really a mail back end---it's actually more like a 4487@code{nnmairix} is not really a mail back end---it's actually more like
4486wrapper, sitting between a ``real'' mail back end where mairix stores the 4488a wrapper, sitting between a ``real'' mail back end where mairix stores
4487searches and the Gnus front end. You can choose between three different 4489the searches and the Gnus front end. You can choose between three
4488mail back ends for the mairix folders: @code{nnml}, @code{nnmaildir} or 4490different mail back ends for the mairix folders: @code{nnml},
4489@code{nnimap}. @code{nnmairix} will call the mairix binary so that the 4491@code{nnmaildir} or @code{nnimap}. @code{nnmairix} will call the mairix
4490search results are stored in folders named 4492binary so that the search results are stored in folders named
4491@code{zz_mairix-<NAME>-<NUMBER>} on this mail back end, but it will 4493@code{zz_mairix-<NAME>-<NUMBER>} on this mail back end, but it will
4492present these folders in the Gnus front end only with @code{<NAME>}. You 4494present these folders in the Gnus front end only with @code{<NAME>}.
4493can use an existing mail back end where you already store your mail, but 4495You can use an existing mail back end where you already store your mail,
4494if you're uncomfortable with @code{nnmairix} creating new mail groups 4496but if you're uncomfortable with @code{nnmairix} creating new mail
4495alongside your other mail, you can also create e.g. a new 4497groups alongside your other mail, you can also create e.g. a new
4496@code{nnmaildir} server exclusively for mairix. However, a special case 4498@code{nnmaildir} or @code{nnml} server exclusively for mairix, but then
4497exists if you want to use mairix remotely on an IMAP server with 4499make sure those servers do not accidentally receive your new mail
4498@code{nnimap}---here the mairix folders and your other mail must be on 4500(@pxref{nnmairix caveats}). A special case exists if you want to use
4499the same @code{nnimap} back end. 4501mairix remotely on an IMAP server with @code{nnimap}---here the mairix
4502folders and your other mail must be on the same @code{nnimap} back end.
4500 4503
4501@node Setting up mairix 4504@node Setting up mairix
4502@subsubsection Setting up mairix 4505@subsubsection Setting up mairix
@@ -4600,9 +4603,12 @@ Just hit @kbd{TAB} to see the available servers. Currently, servers
4600which are accessed through @code{nnmaildir}, @code{nnimap} and 4603which are accessed through @code{nnmaildir}, @code{nnimap} and
4601@code{nnml} are supported. As explained above, for locally stored 4604@code{nnml} are supported. As explained above, for locally stored
4602mails, this can be an existing server where you store your mails. 4605mails, this can be an existing server where you store your mails.
4603However, you can also create e.g. a new @code{nnmaildir} server 4606However, you can also create e.g. a new @code{nnmaildir} or @code{nnml}
4604exclusively for @code{nnmairix} in your secondary select methods 4607server exclusively for @code{nnmairix} in your secondary select methods
4605(@pxref{Finding the News}). If you want to use mairix remotely on an 4608(@pxref{Finding the News}). If you use a secondary @code{nnml} server
4609just for mairix, make sure that you explicitly set the server variable
4610@code{nnml-get-new-mail} to @code{nil}, or you might loose mail
4611(@pxref{nnmairix caveats}). If you want to use mairix remotely on an
4606@acronym{IMAP} server, you have to choose the corresponding 4612@acronym{IMAP} server, you have to choose the corresponding
4607@code{nnimap} server here. 4613@code{nnimap} server here.
4608 4614
@@ -4794,7 +4800,7 @@ First of: you really need a patched mairix binary for using the marks
4794propagation feature efficiently. Otherwise, you would have to update 4800propagation feature efficiently. Otherwise, you would have to update
4795the mairix database all the time. You can get the patch at 4801the mairix database all the time. You can get the patch at
4796 4802
4797@uref{http://m61s02.vlinux.de/mairix-maildir-patch.tar} 4803@uref{http://www.randomsample.de/mairix-maildir-patch.tar}
4798 4804
4799You need the mairix v0.21 source code for this patch; everything else 4805You need the mairix v0.21 source code for this patch; everything else
4800is explained in the accompanied readme file. If you don't want to use 4806is explained in the accompanied readme file. If you don't want to use
@@ -4974,8 +4980,20 @@ for turning it off for all groups beginning with @samp{zz_}:
4974 4980
4975@itemize 4981@itemize
4976@item 4982@item
4977If you use the Gnus agent (@pxref{Gnus Unplugged}): don't agentize 4983You can create a secondary @code{nnml} server just for nnmairix, but then
4978@code{nnmairix} groups (though I have no idea what happens if you do). 4984you have to explicitly set the corresponding server variable
4985@code{nnml-get-new-mail} to @code{nil}. Otherwise, new mail might get
4986put into this secondary server (and would never show up again). Here's
4987an example server definition:
4988
4989@lisp
4990(nnml "mairix" (nnml-directory "mairix") (nnml-get-new-mail nil))
4991@end lisp
4992
4993(The @code{nnmaildir} back end also has a server variabe
4994@code{get-new-mail}, but its default value is @code{nil}, so you don't
4995have to explicitly set it if you use a @code{nnmaildir} server just for
4996mairix.)
4979 4997
4980@item 4998@item
4981If you use the Gnus registry: don't use the registry with 4999If you use the Gnus registry: don't use the registry with
@@ -4990,6 +5008,10 @@ Therefore: @emph{Never ever} put ``real'' mails into @code{nnmairix}
4990groups (you shouldn't be able to, anyway). 5008groups (you shouldn't be able to, anyway).
4991 5009
4992@item 5010@item
5011If you use the Gnus agent (@pxref{Gnus Unplugged}): don't agentize
5012@code{nnmairix} groups (though I have no idea what happens if you do).
5013
5014@item
4993mairix does only support us-ascii characters. 5015mairix does only support us-ascii characters.
4994 5016
4995@item 5017@item
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 535cbd065f5..59535f7faa5 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -33,6 +33,11 @@
33 variable for debugging bug#464 and bug#1174. 33 variable for debugging bug#464 and bug#1174.
34 (nnimap-demule): Use it. 34 (nnimap-demule): Use it.
35 35
362008-11-24 Reiner Steib <Reiner.Steib@gmx.de>
37
38 * gnus-score.el (gnus-score-find-trace): Handle default score in total
39 score calculation correctly.
40
362008-11-21 Stefan Monnier <monnier@iro.umontreal.ca> 412008-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
37 42
38 * message.el (message-send-mail): Just set the buffer to unibyte 43 * message.el (message-send-mail): Just set the buffer to unibyte
@@ -1538,7 +1543,7 @@
1538 * gnus-uu.el (gnus-uu-yenc-article): Use insert-buffer-substring. 1543 * gnus-uu.el (gnus-uu-yenc-article): Use insert-buffer-substring.
1539 1544
1540 * gnus-art.el, gnus-spec.el, gnus-sum.el, gnus-util.el: 1545 * gnus-art.el, gnus-spec.el, gnus-sum.el, gnus-util.el:
1541 * message.el, mm-view.el, sieve-manage, smime.el: 1546 * message.el, mm-view.el, sieve-manage.el, smime.el:
1542 Add declare-function compatibility definition. 1547 Add declare-function compatibility definition.
1543 1548
1544 * gnus-art.el (w3-region, w3m-region, Info-menu): 1549 * gnus-art.el (w3-region, w3m-region, Info-menu):
diff --git a/lisp/gnus/gnus-score.el b/lisp/gnus/gnus-score.el
index 1390db3acd0..7f936bae333 100644
--- a/lisp/gnus/gnus-score.el
+++ b/lisp/gnus/gnus-score.el
@@ -2469,7 +2469,11 @@ score in `gnus-newsgroup-scored' by SCORE."
2469 (abbreviate-file-name file)))) 2469 (abbreviate-file-name file))))
2470 (insert 2470 (insert
2471 (format "\nTotal score: %d" 2471 (format "\nTotal score: %d"
2472 (apply '+ (mapcar 'caddr trace)))) 2472 (apply '+ (mapcar
2473 (lambda (s)
2474 (or (caddr s)
2475 gnus-score-interactive-default-score))
2476 trace))))
2473 (insert 2477 (insert
2474 "\n\nQuick help: 2478 "\n\nQuick help:
2475 2479