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, 10 Nov 2010 11:40:37 -0500	[thread overview]
Message-ID: <87oc9xt9mi.fsf@andy.bu.edu> (raw)
In-Reply-To: <87sjzap2yk.fsf@lifelogs.com>

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

    AC> Oops, I think there is nothing to fix. The registry doesn't
    AC> track where the message comes from but only where its going?
    AC> Then there shouldn't be a problem...

    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


I've done it with a let. I'll push a patch shortly.

There is a another problem. nnir (intentionally) mangles the subject to
add something like "[10:mail/3390] " at the front of the subject (this
is [retrieval_score:real_group_name/real_article_number] ). Obviously we
would like to remove it from the subject stored in the registry. I think
the simplest solution would be to modify gnus-registry-simplify-subject
to take care of it before it calls gnus-simplify-subject.

Assuming this OK with you, I'll push it.

Cheers,
andy




  reply	other threads:[~2010-11-10 16:40 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 [this message]
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
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=87oc9xt9mi.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).