From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: nnir and move
Date: Wed, 10 Nov 2010 10:55:25 -0600 [thread overview]
Message-ID: <87sjz9m83m.fsf@lifelogs.com> (raw)
In-Reply-To: <87oc9xt9mi.fsf@andy.bu.edu>
On Wed, 10 Nov 2010 11:40:37 -0500 Andrew Cohen <cohen@andy.bu.edu> wrote:
>>>>>> "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
AC> I've done it with a let. I'll push a patch shortly.
AC> There is a another problem. nnir (intentionally) mangles the subject to
AC> add something like "[10:mail/3390] " at the front of the subject (this
AC> is [retrieval_score:real_group_name/real_article_number] ). Obviously we
AC> would like to remove it from the subject stored in the registry. I think
AC> the simplest solution would be to modify gnus-registry-simplify-subject
AC> to take care of it before it calls gnus-simplify-subject.
Could you use nnir-original-group and nnir-original-subject in the let
you said you would do? I'll make the names more general if anyone else
needs it but I was thinking this way it's clear that it's a nnir
requirement.
That way the registry will not care what nnir does to the subject or
group name, it will just take the originals from the let-bound
variables.
Ted
next prev parent reply other threads:[~2010-11-10 16:55 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 [this message]
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=87sjz9m83m.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--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).