From 91d5bee051ccafb354b335705c5ab908ed1e7b70 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Tue, 4 Sep 2001 23:23:24 +0000 Subject: [PATCH] Synch with Oort Gnus. --- lisp/ChangeLog | 4 ++++ lisp/imap.el | 4 +++- texi/ChangeLog | 5 +++++ texi/gnus-ja.texi | 17 ++++++++++++++--- texi/gnus.texi | 14 ++++++++++++-- 5 files changed, 38 insertions(+), 6 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5933326..79b491f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2001-09-04 Simon Josefsson + + * imap.el (imap-search): Don't error if server is broken. + 2001-09-02 Benjamin Rutt * nnmbox.el (nnmbox-find-article): Fix infinite loop when diff --git a/lisp/imap.el b/lisp/imap.el index c89384e..1079cd2 100644 --- a/lisp/imap.el +++ b/lisp/imap.el @@ -1413,7 +1413,9 @@ is non-nil return theese properties." (imap-mailbox-put 'search 'dummy) (when (imap-ok-p (imap-send-command-wait (concat "UID SEARCH " predicate))) (if (eq (imap-mailbox-get-1 'search imap-current-mailbox) 'dummy) - (error "Missing SEARCH response to a SEARCH command") + (progn + (message "Missing SEARCH response to a SEARCH command (server not RFC compliant)...") + nil) (imap-mailbox-get-1 'search imap-current-mailbox))))) (defun imap-message-flag-permanent-p (flag &optional mailbox buffer) diff --git a/texi/ChangeLog b/texi/ChangeLog index d4a18c3..394ccb6 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,8 @@ +2001-09-04 Kai Gro,A_(Bjohann + + * gnus.texi (Optional Backend Functions): More detail about the + DATE arg for nnchoke-request-newgroups. Reported by Paul Jarc. + 2001-09-01 Kai Gro,A_(Bjohann * gnus.texi (Hooking New Backends Into Gnus): Say where to put the diff --git a/texi/gnus-ja.texi b/texi/gnus-ja.texi index 3f4292f..84c3db6 100644 --- a/texi/gnus-ja.texi +++ b/texi/gnus-ja.texi @@ -21585,9 +21585,20 @@ description-buffer = *description-line @item (nnchoke-request-newgroups DATE &optional SERVER) -$B$3$N4X?t$+$iJV$5$l$k7k2L$N%G!<%?$O!"(B@samp{date} $B0J9_$K:n@.$5$l$?(B -$BA4$F$N%0%k!<%W$G$9!#(B@samp{date} $B$ODL>o$N?M4V$,FI$a$kF|IU$N7A<0$G(B -$B$9!#%G!<%?$O(B active $B%P%C%U%!$N7A<0$G$J$1$l$P$J$j$^$;$s!#(B +$B$3$N4X?t$+$iJV$5$l$k7k2L$N%G!<%?$O!"(B@samp{date} $B0J9_$K:n@.$5$l$?A4$F$N%0(B +$B%k!<%W$G$9!#(B@samp{date} $B$ODL>o$N?M4V$,FI$a$kF|IU$N7A<0(B ($B$9$J$o$A!"%a!<%k(B +$B$d%K%e!<%9$N%X%C%@!<$G;H$o$l$k7A<0$G!"%G%#%U%)%k%H$G$O4X(B +$B?t(B @code{message-make-date} $B$+$iJV$5$l$?$b$N(B) $B$G$9!#%G!<%?$O(B active $B%P%C(B +$B%U%!$N7A<0$G$J$1$l$P$J$j$^$;$s!#(B + +$B$3$N4X?t$,B?$9$.$k%0%k!<%W$rJV$7$F$b%*!<%1%$$G$9!#$$$/$D$+$N%P%C%/%(%s%I(B +$B$O?7$7$$%0%k!<%W$r8+$D$1$k$h$j$b!"3Z$r$7$FA4$F$N%0%k!<%W$N%j%9%H$rJV$9$+(B +$B$b$7$l$^$;$s!#$7$+$7%P%C%/%(%s%I$,JV$9B?$/$N%0%k!<%W$KBP$7$F$3$l(B ($BLuCm(B: +$B?7$7$$%0%k!<%W$H$7$F07$&$3$H(B) $B$r$7$F$O$$$1$^$;$s!#IaDL!"%f!<%6!<<+?H$,:n$C(B +$B$?%0%k!<%W$J$i$PB?$9$.$k$3$H$O$J$$$G$7$g$&!#$G$9$+$i(B nnml $B$H$=$l$KN`$9$k(B +$B$b$N$O$?$V$s?4G[$"$j$^$;$s!#$7$+$7(B nntp $B$N$h$&$J%P%C%/%(%s%I$G$O%0%k!<%W(B +$B$O%5!<%P!<$K$h$C$F:n$i$l$F$$$^$9$+$i!"B?$/$N%0%k!<%W$,JV$C$F$/$k$3$H$,$"(B +$B$j$($^$9!#(B @item (nnchoke-request-create-group GROUP &optional SERVER) diff --git a/texi/gnus.texi b/texi/gnus.texi index 7bac396..4771c77 100644 --- a/texi/gnus.texi +++ b/texi/gnus.texi @@ -22121,8 +22121,18 @@ description-buffer = *description-line @item (nnchoke-request-newgroups DATE &optional SERVER) The result data from this function should be all groups that were -created after @samp{date}, which is in normal human-readable date -format. The data should be in the active buffer format. +created after @samp{date}, which is in normal human-readable date format +(i.e., the date format used in mail and news headers, and returned by +the function @code{current-time-string} by default). The data should be +in the active buffer format. + +It is okay for this function to return `too many' groups; some backends +might find it cheaper to return the full list of groups, rather than +just the new groups. But don't do this for backends with many groups. +Normally, if the user creates the groups herself, there won't be too +many groups, so nnml and the like are probably safe. But for backends +like nntp, where the groups have been created by the server, it is quite +likely that there can be many groups. @item (nnchoke-request-create-group GROUP &optional SERVER) -- 1.7.10.4