[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] use-mail branch and other work



Excerpts from Matthieu Rakotojaona's message of 2014-03-31 21:42:57 +0200:
> Excerpts from Martin Bähr's message of 2014-03-30 11:51:43 +0200:
> > some ideas:
> >     i'd like the ability to apply a label change to all messages that match a
> >   given search, not just the ones loaded into the buffer.
> >
> >   i have imported a lot of uncategorized messages from my mutt inbox, and i
> >   want to make use of sup's tagging to group them. instead of loading all
> >   messages in a search with !! it would be nice to just let sup tagg those
> >   messages in the background.
>
> Semi-answer: bin/sup-tweak-labels is this, except it's supposed to be
> used from the command line. Moreover you must exit sup because the index
> can't be shared safely.
> Since Sup is mostly targeted towards the ui and that use case happen
> once in the lifetime of a user (hopefully !), I guess I'm ok with how
> things are. I don't know how we could manage to reproduce the
> bin/sup-tweak-labels _inside_ sup efficiently, but I'm open to the
> discussion.

We could do something similar to what tagging and + does now, but
iterate over all the threads in the search without rendering them.
Unless the chunks are loaded it is a matter of loading it from the
index. It would be an extension to thread-index mode. Basically a
command: Apply an action to all threads matching the current search. It
will be the equivalent of: Search + show all (!!) + tag all +
do action.

- gaute

Attachment: signature.asc
Description: PGP signature