Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: Ding Mailing List <ding@gnus.org>
Subject: Re: modifying `B m' (moving articles) to use registry split with parent
Date: Fri, 25 Apr 2008 14:40:33 -0500	[thread overview]
Message-ID: <86fxt93eq6.fsf@lifelogs.com> (raw)
In-Reply-To: <868wzzro1x.fsf@lifelogs.com> (Ted Zlatanov's message of "Mon, 31 Mar 2008 09:00:26 -0500")

> I realized today that it would be nice to have a
> gnus-registry-split-fancy-with-parent call before `B m' in many cases,
> since it looks up possible destinations using the subject and sender of
> the message.  Those destinations could be sorted to be first in the list
> of available destinations.

> Since it's a change for all users, should I make it a new function that
> calls the current move function or should I change the regular move
> function?  If the registry is not enabled, it won't do anything, but
> it's still a change in something everyone uses very often so I'm
> hesitant to just make the change without asking.

I looked at the code in gnus-sum.el and it calls gnus-get-split-value on
gnus-move-split-methods.  I thought something like this:

(setq gnus-move-split-methods `((,(lambda(x) (gnus-registry-split-fancy-with-parent)))))

might work, but the suggestion becomes the ONLY choice.  I'd prefer if
the registry's suggestion was just the default.  I'd have to modify the
code or create gnus-move-suggestion-split-methods, which seems painfully
unnecessary, so I wanted to ask for opinions.

My guess is that very few people use gnus-move-split-methods, since
there's a bug in it (specifically, in gnus-get-split-value) for move
suggestions: group names are converted to directory names, because
gnus-get-split-value is normally used for saving suggestions.

Please let me know what you think.

Ted



      reply	other threads:[~2008-04-25 19:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-31 14:00 Ted Zlatanov
2008-04-25 19:40 ` Ted Zlatanov [this message]

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=86fxt93eq6.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).