From: Simon Josefsson <jas@pdc.kth.se>
Cc: ding@gnus.org
Subject: Re: Can't select group created by copying
Date: 07 Jul 1999 21:15:34 +0200 [thread overview]
Message-ID: <iluk8scp8yx.fsf@puh.extundo.com> (raw)
In-Reply-To: Jon K Hellan's message of "07 Jul 1999 15:51:50 +0200"
Jon K Hellan <Jon.K.Hellan@item.ntnu.no> writes:
> Have investigated further.
>
> There is code to update the group that has been moved to in
> gnus-summary-move-article, gnus-sum.el, around l 7280.
>
> (let* ((pto-group (gnus-group-prefixed-name
> (car art-group) to-method))
> ==> (entry
> (gnus-gethash pto-group gnus-newsrc-hashtb))
> (info (nth 2 entry))
> (to-group (gnus-info-group info))
> to-marks)
> ;; Update the group that has been moved to.
> (when (and info
> (memq action '(move copy)))
> (unless (member to-group to-groups)
> (push to-group to-groups))
>
> But entry is nil for the newly created group, so do not find a
> to-group.
Ah, yes. Have a look at the select method on the newly created group
(`G E' in the group buffer). My bet it says (nnimap "foo") when it
should've been either "nnimap:foo" or (nnimap "foo" (nnimap-address
...)).
Either way, does this patch help?
1999-07-07 Simon Josefsson <jas@pdc.kth.se>
* gnus-sum.el (gnus-summary-move-article): Better method search.
--- gnus-sum.el.DIST Wed Jul 7 21:12:50 1999
+++ gnus-sum.el Wed Jul 7 21:13:22 1999
@@ -7200,7 +7200,7 @@
articles prefix))
(set (intern (format "gnus-current-%s-group" action)) to-newsgroup))
(setq to-method (or select-method
- (gnus-group-name-to-method to-newsgroup)))
+ (gnus-find-method-for-group to-newsgroup)))
;; Check the method we are to move this article to...
(unless (gnus-check-backend-function
'request-accept-article (car to-method))
next prev parent reply other threads:[~1999-07-07 19:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-07 10:32 Jon K Hellan
1999-07-07 13:51 ` Jon K Hellan
1999-07-07 19:15 ` Simon Josefsson [this message]
1999-07-07 20:44 ` Jon K Hellan
1999-07-08 11:45 ` Jon K Hellan
1999-07-08 11:52 ` Jon K Hellan
[not found] ` <wtnzp18a9wb.fsf@licia.dtek.chalmers.se>
1999-07-07 13:56 ` Jon K Hellan
1999-07-07 14:00 ` Kai.Grossjohann
[not found] ` <wtnr9mkph6s.fsf_-_@licia.dtek.chalmers.se>
1999-07-08 9:37 ` nnmh, delete next last article (Was: Re: Can't select group created by copying) Kai.Grossjohann
1999-07-08 19:26 ` Stainless Steel Rat
1999-07-09 7:54 ` Kai.Grossjohann
1999-07-09 18:56 ` Stainless Steel Rat
[not found] ` <wtng12ytcb0.fsf@licia.dtek.chalmers.se>
[not found] ` <wtnr9m6t6qk.fsf@licia.dtek.chalmers.se>
1999-08-27 19:57 ` Lars Magne Ingebrigtsen
1999-07-09 17:16 ` Lars Magne Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=iluk8scp8yx.fsf@puh.extundo.com \
--to=jas@pdc.kth.se \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).