On Wed, Feb 8, 2012 at 2:00 AM, Jani Nikula <jani@nikula.org> wrote:
On Wed, 08 Feb 2012 09:15:59 -0000, Patrick Totzke <patricktotzke@googlemail.com> wrote:
> Quoting Alex Botero-Lowry (2012-02-08 08:24:51)
> >    I'm using a similar setup.  An inconvenience with the setup is that I have
> >    various filters in gmail that filter, e.g., mailing list mails by skipping
> >    the gmail inbox and applying specific tags. ...
> >    Ideally, I'd like a view in notmuch that shows the same messages as the
> >    gmail inbox.  Is there a way to accomplish this?
> >    - b
>
> You could sync every subfolder *but* "All Mail" instead of just this
> folder: Gmail tags are available as imap folders. You can then tune
> your tagging filters to sort by folder: queries.


That's a good alternative only if you have relatively few messages that
have many gmail labels assigned to them. Otherwise you end up syncing
the same messages many times through many IMAP folders (each
corresponding to one label).

Also, this requires that every message ends up with some label, which is not true for me.
 
My approach is basically to reproduce the gmail filters as saved
searches in emacs. The messages need not have tags. YMMV.

Hmm ok, I suppose setting up tagging rules corresponding to gmail filters is a one-time effort.  I think I'll go with that.
- Bhaskara

<font color="#888888">
Jani.
</font>