changeset 98102:172640e67bed

Merge from gnus--devo--0 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1411
author Miles Bader <miles@gnu.org>
date Tue, 09 Sep 2008 02:19:23 +0000
parents e482d82aeb73
children 809fdcf44233
files doc/misc/ChangeLog doc/misc/gnus.texi lisp/gnus/ChangeLog lisp/gnus/nnmairix.el
diffstat 4 files changed, 27 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/doc/misc/ChangeLog	Tue Sep 09 02:09:32 2008 +0000
+++ b/doc/misc/ChangeLog	Tue Sep 09 02:19:23 2008 +0000
@@ -1,3 +1,8 @@
+2008-09-08  David Engster  <dengste@eml.cc>
+
+	* gnus.texi (nnmairix): Point out that nnml uses MH format.  Clarify
+	section about choosing back end servers.
+
 2008-08-23  Glenn Morris  <rgm@gnu.org>
 
 	* dired-x.texi (Shell Command Guessing):
--- a/doc/misc/gnus.texi	Tue Sep 09 02:09:32 2008 +0000
+++ b/doc/misc/gnus.texi	Tue Sep 09 02:19:23 2008 +0000
@@ -4521,9 +4521,11 @@
 mbox = ... your mbox files which should be indexed ...
 @end example
 
-Specify all your maildir/nnml folders and mbox files (relative to the
-base directory!) you want to index with mairix.  See the man-page for
-mairixrc for details.
+This specifies all your mail folders and mbox files (relative to the
+base directory!) you want to index with mairix.  Note that the
+@code{nnml} back end saves mails in MH format, so you have to put those
+directories in the @code{mh} line.  See the example at the end of this
+section and mairixrc's man-page for further details.
 
 @example
 omit=zz_mairix-*
@@ -4591,14 +4593,17 @@
 want.
 
 @item
-The @strong{mail back end} where mairix should stores its
-searches.  Currently @code{nnmaildir}, @code{nnimap} and @code{nnml} are
-supported.  As explained above, for locally stored mails, this can be an
-existing mail back end where you store your mails.  However, you can also
-create e.g. a new @code{nnmaildir} server exclusively for
-@code{nnmairix} in your secondary select methods (@pxref{Finding the
-News}).  If you want to use mairix remotely on an @acronym{IMAP} server,
-you have to choose the corresponding @code{nnimap} back end here.
+The name of the @strong{back end server} where mairix should store its
+searches.  This must be a full server name, like @code{nnml:mymail}.
+Just hit @kbd{TAB} to see the available servers.  Currently, servers
+which are accessed through @code{nnmaildir}, @code{nnimap} and
+@code{nnml} are supported.  As explained above, for locally stored
+mails, this can be an existing server where you store your mails.
+However, you can also create e.g. a new @code{nnmaildir} server
+exclusively for @code{nnmairix} in your secondary select methods
+(@pxref{Finding the News}).  If you want to use mairix remotely on an
+@acronym{IMAP} server, you have to choose the corresponding
+@code{nnimap} server here.
 
 @item
 @vindex nnmairix-mairix-search-options
--- a/lisp/gnus/ChangeLog	Tue Sep 09 02:09:32 2008 +0000
+++ b/lisp/gnus/ChangeLog	Tue Sep 09 02:19:23 2008 +0000
@@ -1,3 +1,8 @@
+2008-09-08  David Engster  <dengste@eml.cc>
+
+	* nnmairix.el (nnmairix-create-server-and-default-group): Require match
+	in completing-read for back end server.
+
 2008-09-03  Teodor Zlatanov  <tzz@lifelogs.com>
 
 	* message.el (message-confirm-send): New variable to confirm sending a
--- a/lisp/gnus/nnmairix.el	Tue Sep 09 02:09:32 2008 +0000
+++ b/lisp/gnus/nnmairix.el	Tue Sep 09 02:19:23 2008 +0000
@@ -877,7 +877,7 @@
   (interactive)
   (let* ((name (read-string "Name of the mairix server: "))
 	(server (completing-read "Back end server (TAB for completion): "
-				 (nnmairix-get-valid-servers)))
+				 (nnmairix-get-valid-servers) nil 1))
 	(mairix (read-string "Command to call mairix: " "mairix"))
 	(defaultgroup (read-string "Default search group: "))
 	(backend (symbol-name (car (gnus-server-to-method server))))