Gnus development mailing list
 help / color / mirror / Atom feed
From: Andrew Cohen <cohen@bu.edu>
To: ding@gnus.org
Subject: Re: gnus nnmaildir and notmuch
Date: Mon, 27 Mar 2017 09:09:51 +0800	[thread overview]
Message-ID: <87fuhzsexs.fsf@hanan.ust.hk> (raw)
In-Reply-To: <871stkq9qk.fsf@ericabrahamsen.net>


>>>>> "Eric" == Eric Abrahamsen <eric@ericabrahamsen.net> writes:


[...]


    Eric> So far as I can see, the only remaining pieces would be to
    Eric> give that command a gnus-group-mode keybinding, and have it
    Eric> prompt for a query, rather than taking the query from the
    Eric> current group. If at present it's necessary to prefix the
    Eric> group name with "nnir-", that can simply be done
    Eric> unconditionally in the command.

    Eric> That's it, isn't it? That and documentation, of course. I'd be
    Eric> happy to help with completing this, and/or documenting it.

Already done in my private version (sans documentation). But I don't
want to do it now since I'd rather finish the factoring I mentioned
previously. This factoring would lead to incompatible changes in
people's setups (mostly renaming, but still...)


[...]


    Eric> I dove pretty deeply into nnir a year or two ago when I was
    Eric> writing Gnorb. I needed exactly what you describe here: a
    Eric> simple way to create groups containing arbitrary messages. I
    Eric> ended up having to write a fake "nngnorb" backend, and require
    Eric> users to add it to their server list, because that was the
    Eric> only way nnir could find the correct query function to run. I
    Eric> would love to just be able to specify a function as part of
    Eric> the query parameter!

This is also already done in my personal version. 


    Eric> As for the backends... It seems like there are too many
    Eric> backends already. Why don't we just hijack nnvirtual? nnselect
    Eric> sounds like it would be exactly like nnvirtual, except with
    Eric> the ability to specify articles in addition to groups. It
    Eric> would be more work to merge the two, but I think it would make
    Eric> much more sense all around. Virtual groups would be any kind
    Eric> of virtual group, and then there'd just be a search interface
    Eric> laid on top of it.

Merging with nnvirtual doesn't make any sense: the functionality of
nnvirtual (combining existing groups to act as a single group) can
already be done directly as part of nnselect. And the approach taken in
nnvirtual to doing this is radically different from the one I adopted
for nnir (which makes sense since most of the hard work in nnir doesn't
exist for merging entire groups). So the choice is to either eliminate
nnvirtual entirely and replace it with nnselect (possibly renaming in
the process) or let both co-exist. Since replacing it would break things
for anyone using it I favor leaving it alone (unless it turns out that
no one is using it). Over time we can then consider eliminating
nnvirtual. 

(And a small mea culpa---looks like I DID add expiry but just disabled
it for myself. It was so long ago I've mostly forgotten what I did :))

Andy




  reply	other threads:[~2017-03-27  1:09 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-23  9:51 Erik Colson
2017-03-23 15:25 ` Eric Abrahamsen
2017-03-23 15:31   ` Eric Abrahamsen
2017-03-23 15:47     ` Eric Abrahamsen
     [not found] ` <afcec017ee42495d979cc97a6f638276@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
     [not found]   ` <87shm3ex6p.fsf@t3610>
2017-03-23 18:58     ` Eric Abrahamsen
2017-03-24  0:38 ` Andrew Cohen
2017-03-24  1:17   ` Eric Abrahamsen
2017-03-24  8:00   ` Erik Colson
2017-03-24  8:23     ` Erik Colson
2017-03-24  8:29       ` Erik Colson
2017-03-24 15:48         ` Eric Abrahamsen
2017-03-24 18:47           ` Eric Abrahamsen
2017-03-26  4:51             ` Andrew Cohen
2017-03-26  6:05               ` Andrew Cohen
2017-03-26 16:32               ` Eric Abrahamsen
2017-03-27  1:09                 ` Andrew Cohen [this message]
2017-03-27  4:33                   ` Eric Abrahamsen

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=87fuhzsexs.fsf@hanan.ust.hk \
    --to=cohen@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).