[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Re: topics & tomorrow
> > BTW, UWash will accept Imap/whatever instead of ~/Imap/whatever. At
> > least with this you will get ~/News/cache/Imap/whatever instead of
> > ~/News/cache/~/Imap/whatever.
> 1) That's somewhat better, though not really good enough; I don't want
> to guess what else will get screwed up in gnus.
> 2) I still can't create this group in gnus; anything with slashes is
> disallowed.
As an interim solution I use backend copy "B c" from an article buffer
to copy to a non-existent group. Gnus will notice this an create it
for you. We support creating groups. It will allows slashes. This
used to work, but seems to have been broken recently. Here is a patch
to fix it:
Index: nnimap.el
===================================================================
RCS file: /home/radford/src/cvs/nnimap/nnimap.el,v
retrieving revision 1.91
diff -w -u -r1.91 nnimap.el
--- nnimap.el 1998/10/29 10:51:59 1.91
+++ nnimap.el 1998/11/24 21:53:40
@@ -716,6 +716,8 @@
;; nnimap-request-group.
(deffoo nnimap-request-update-info-internal (group info &optional server)
;; We reset the uidvalidity here because we are about to do a full resync.
+ (when info ;; nil info when group doesn't exist or has just been created.
+ ;; Gnus will create it for us later.
(gnus-info-set-params info (nnimap-update-alist-soft
'uidvalidity nil (gnus-info-params info)) t)
(when (nnimap-possibly-change-group group server) ;; SELECT
@@ -765,7 +767,7 @@
(imap-search (nnimap-mark-to-predicate (cdr pred))))
(gnus-info-marks info))
t)))
- gnus-article-mark-lists)))
+ gnus-article-mark-lists))))
info)
;; Respond to articles with mail