Gnus development mailing list
 help / color / mirror / Atom feed
From: Andrew Cohen <cohen@andy.bu.edu>
To: ding@gnus.org
Subject: Re: nnir and move
Date: Wed, 01 Dec 2010 09:13:16 -0500	[thread overview]
Message-ID: <87lj49eg3n.fsf@andy.bu.edu> (raw)
In-Reply-To: <87sjzap2yk.fsf@lifelogs.com>

>>>>> "Ted" == Ted Zlatanov <tzz@lifelogs.com> writes:

    Ted> Yeah.  Although in a move it needs to know the source so it can
    Ted> delete that from the list of groups for the article.  So you'll
    Ted> end up with stale knowledge in the registry.  I can
    Ted> special-case nnir in the hooks or you can wrap the move in

    Ted> (let ((gnus-original-source-group-for-move "xyz")) ...)

    Ted> WDYT?  Ted


Sorry to revive this old thread. The last time we discussed this I
thought that the let wrapping was the way to go, but in retrospect I'm
pretty sure I was wrong. Special-casing nnir in the hooks seems better.

I changed my mind when trying to incorporate article deletion in
nnir. The problem arises when deleting more than one article at a
time. Ordinarily all the articles in a summary buffer come from a single
group, but this isn't necessarily true in an nnir
buffer. gnus-summary-delete-article deletes all the articles in a batch
(no problem here since it just calls nnir-request-delete-article) but
then goes through the deleted articles one by one to update the
registry. So it's not easy to pass the original article group through
the let mechanism when different articles come from different groups.


WDYT?




  parent reply	other threads:[~2010-12-01 14:13 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-31 14:07 Richard Riley
2010-10-31 17:18 ` Lars Magne Ingebrigtsen
2010-11-01  4:20   ` Richard Riley
2010-11-01 12:04   ` Andrew Cohen
2010-11-01 12:08     ` Lars Magne Ingebrigtsen
2010-11-01 12:13       ` Andrew Cohen
2010-11-01 14:28         ` Andrew Cohen
2010-11-01 14:51           ` Andrew Cohen
2010-11-09 22:05             ` Ted Zlatanov
2010-11-10 16:40               ` Andrew Cohen
2010-11-10 16:55                 ` Ted Zlatanov
2010-11-10 18:42                   ` Andrew Cohen
2010-11-10 18:54                     ` Ted Zlatanov
2010-11-10 19:09                       ` Andrew Cohen
2010-11-15  2:40                         ` Katsumi Yamaoka
2010-11-15  2:53                           ` Andrew Cohen
2010-12-01 14:13               ` Andrew Cohen [this message]
2010-12-01 17:01                 ` Lars Magne Ingebrigtsen
2010-12-01 17:47                   ` Andrew Cohen
2010-12-01 17:50                     ` Lars Magne Ingebrigtsen
2010-12-01 22:01                       ` Andrew Cohen
2010-12-14 23:36                         ` Ted Zlatanov
2010-11-03  1:05 Andrew Cohen
2010-11-03 12:17 ` Richard Riley

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=87lj49eg3n.fsf@andy.bu.edu \
    --to=cohen@andy.bu.edu \
    --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).