From: Rainer M Krug <R.M.Krug@gmail.com>
To: notmuch@notmuchmail.org
Cc: Jeremy Nickurak
<public-not-much-kexSNQTsIoD754YsiR0rpA@plane.gmane.org>,
notmuch <public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org>
Subject: Re: gmail label support in offlineimap - update
Date: Thu, 29 Nov 2012 09:57:45 +0100 [thread overview]
Message-ID: <50B72389.8060708@gmail.com> (raw)
In-Reply-To: <87wqx5bnv1.fsf@convex-new.cs.unb.ca>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 28/11/12 19:09, David Bremner wrote:
> Jeremy Nickurak <not-much@trk.nickurak.ca> writes:
>
>
>> The other direction sounds like it would be trickier though, since there's no obvious way to
>> say "what notmuch tags have changed since time X?". Is this something that notmuch could
>> provide?
>
> Not currently, but there have been patches proposed; see e.g.
>
> id:1323796305-28789-1-git-send-email-schnouki@schnouki.net
>
>> Alternatively, would it be a good idea to give notmuch a tags-changed hook, so that an
>> external tool could be called on a tag change? That sounds like would solve this problem,
>> keep the gmail/imap logic safely away from notmuch, and probably provide some really
>> interesting other opportunities for automation of things by tags.
>
> See the thread at
>
> id:1342503373-16979-1-git-send-email-dominik@with-h.at
>
> for some patches and discussion.
I think a "tag changed hook" could solve both problems - when there would be an additional "messge
changed" hook: the "message changed" hook could be used to add the x-headers to the notmuch
database, and the "tag changed" hook could do the inverse, i.e. update the x-headers in the message.
This would be a clean approach, which could be used for many things.
Cheers,
Rainer
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlC3I4kACgkQoYgNqgF2egoanQCfV8OL1qhXWMfV5lMOqKf6szPM
zKoAn0sZzi3f/z0r4lgH0/s19z9f1ozr
=/fc1
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2012-11-29 8:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-28 14:47 gmail label support in offlineimap - update Rainer M Krug
2012-11-28 16:27 ` Peter Portante
2012-11-28 16:46 ` Jeremy Nickurak
2012-11-28 18:09 ` David Bremner
2012-11-29 8:57 ` Rainer M Krug [this message]
2012-11-29 13:33 ` Michal Nazarewicz
2012-11-29 16:09 ` Rainer M Krug
2012-11-28 18:47 ` Michal Nazarewicz
2012-11-29 8:59 ` Rainer M Krug
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
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50B72389.8060708@gmail.com \
--to=r.m.krug@gmail.com \
--cc=notmuch@notmuchmail.org \
--cc=public-not-much-kexSNQTsIoD754YsiR0rpA@plane.gmane.org \
--cc=public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.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.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
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 read-only IMAP folder(s) and NNTP newsgroup(s).