Re: Inheriting tags from parent

2012-08-06 Thread Michal Nazarewicz
 Quoth Michal Nazarewicz on Aug 03 at  4:29 pm:
 I've just started using notmuch and am wondering if there is a way to
 make message “inherit” some of the tags from messages they are written
 in replay to (or in general are part of the same thread).
 
 I'm mostly thinking about a “mute” tag which I'd add to messages that
 are completely uninteresting to me.  With the “inheritance” mechanism,
 I'd be able to make notmuch automatically mute all the replays within
 the same thread.

Austin Clements amdra...@mit.edu writes:
 I have a hacky and now ancient patch series that you're welcome to try
 porting to a recent notmuch on the inheritable-tags-hack branch at
   http://awakening.csail.mit.edu/git/notmuch.git
 One general problem with this approach is dealing with threads whose
 messages arrive or are ingested out of order.  I don't think this is
 an insurmountable problem, but my patch certainly doesn't handle it
 correctly.

I'll keep that in mind, but lack of time, won't probably let me play
with it...

 There are also several other solutions to mute tags around.  For
 example, some people use a post-new hook to search for threads that
 contain at least one mute tag and then feed these thread IDs back in
 to notmuch tag to add the mute tag to everything in the thread.  I
 believe this is also the approach used by the afew tagging system for
 killed threads.

Yeah, that's what I'm doing now.  Basically “notmuch search
--output=threads is:mute” and then join all the lines with “or” to
finally do “notmuch tag +mute threads”.  I was, however, hoping for
something more dedicated.

-- 
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of  o' \,=./ `o
..o | Computer Science,  Michał “mina86” Nazarewicz(o o)
ooo +email/xmpp: m...@google.com--ooO--(_)--Ooo--


pgpzdXsZjEeRA.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Inheriting tags from parent

2012-08-05 Thread Michal Nazarewicz
> Quoth Michal Nazarewicz on Aug 03 at  4:29 pm:
>> I've just started using notmuch and am wondering if there is a way to
>> make message ?inherit? some of the tags from messages they are written
>> in replay to (or in general are part of the same thread).
>> 
>> I'm mostly thinking about a ?mute? tag which I'd add to messages that
>> are completely uninteresting to me.  With the ?inheritance? mechanism,
>> I'd be able to make notmuch automatically mute all the replays within
>> the same thread.

Austin Clements  writes:
> I have a hacky and now ancient patch series that you're welcome to try
> porting to a recent notmuch on the inheritable-tags-hack branch at
>   http://awakening.csail.mit.edu/git/notmuch.git
> One general problem with this approach is dealing with threads whose
> messages arrive or are ingested out of order.  I don't think this is
> an insurmountable problem, but my patch certainly doesn't handle it
> correctly.

I'll keep that in mind, but lack of time, won't probably let me play
with it...

> There are also several other solutions to "mute" tags around.  For
> example, some people use a post-new hook to search for threads that
> contain at least one mute tag and then feed these thread IDs back in
> to notmuch tag to add the mute tag to everything in the thread.  I
> believe this is also the approach used by the afew tagging system for
> "killed" threads.

Yeah, that's what I'm doing now.  Basically ?notmuch search
--output=threads is:mute? and then join all the lines with ?or? to
finally do ?notmuch tag +mute ?.  I was, however, hoping for
something more dedicated.

-- 
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of  o' \,=./ `o
..o | Computer Science,  Micha? ?mina86? Nazarewicz(o o)
ooo +--ooO--(_)--Ooo--
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: 



Inheriting tags from parent

2012-08-03 Thread Austin Clements
Quoth Michal Nazarewicz on Aug 03 at  4:29 pm:
> Hello everyone,
> 
> I've just started using notmuch and am wondering if there is a way to
> make message ?inherit? some of the tags from messages they are written
> in replay to (or in general are part of the same thread).
> 
> I'm mostly thinking about a ?mute? tag which I'd add to messages that
> are completely uninteresting to me.  With the ?inheritance? mechanism,
> I'd be able to make notmuch automatically mute all the replays within
> the same thread.

I have a hacky and now ancient patch series that you're welcome to try
porting to a recent notmuch on the inheritable-tags-hack branch at
  http://awakening.csail.mit.edu/git/notmuch.git
One general problem with this approach is dealing with threads whose
messages arrive or are ingested out of order.  I don't think this is
an insurmountable problem, but my patch certainly doesn't handle it
correctly.

There are also several other solutions to "mute" tags around.  For
example, some people use a post-new hook to search for threads that
contain at least one mute tag and then feed these thread IDs back in
to notmuch tag to add the mute tag to everything in the thread.  I
believe this is also the approach used by the afew tagging system for
"killed" threads.


Inheriting tags from parent

2012-08-03 Thread Michal Nazarewicz
Hello everyone,

I've just started using notmuch and am wondering if there is a way to
make message ?inherit? some of the tags from messages they are written
in replay to (or in general are part of the same thread).

I'm mostly thinking about a ?mute? tag which I'd add to messages that
are completely uninteresting to me.  With the ?inheritance? mechanism,
I'd be able to make notmuch automatically mute all the replays within
the same thread.

-- 
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of  o' \,=./ `o
..o | Computer Science,  Micha? ?mina86? Nazarewicz(o o)
ooo +--ooO--(_)--Ooo--
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: 



Inheriting tags from parent

2012-08-03 Thread Michal Nazarewicz
Hello everyone,

I've just started using notmuch and am wondering if there is a way to
make message “inherit” some of the tags from messages they are written
in replay to (or in general are part of the same thread).

I'm mostly thinking about a “mute” tag which I'd add to messages that
are completely uninteresting to me.  With the “inheritance” mechanism,
I'd be able to make notmuch automatically mute all the replays within
the same thread.

-- 
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of  o' \,=./ `o
..o | Computer Science,  Michał “mina86” Nazarewicz(o o)
ooo +email/xmpp: m...@google.com--ooO--(_)--Ooo--


pgpKhBk8moAez.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: Inheriting tags from parent

2012-08-03 Thread Austin Clements
Quoth Michal Nazarewicz on Aug 03 at  4:29 pm:
 Hello everyone,
 
 I've just started using notmuch and am wondering if there is a way to
 make message “inherit” some of the tags from messages they are written
 in replay to (or in general are part of the same thread).
 
 I'm mostly thinking about a “mute” tag which I'd add to messages that
 are completely uninteresting to me.  With the “inheritance” mechanism,
 I'd be able to make notmuch automatically mute all the replays within
 the same thread.

I have a hacky and now ancient patch series that you're welcome to try
porting to a recent notmuch on the inheritable-tags-hack branch at
  http://awakening.csail.mit.edu/git/notmuch.git
One general problem with this approach is dealing with threads whose
messages arrive or are ingested out of order.  I don't think this is
an insurmountable problem, but my patch certainly doesn't handle it
correctly.

There are also several other solutions to mute tags around.  For
example, some people use a post-new hook to search for threads that
contain at least one mute tag and then feed these thread IDs back in
to notmuch tag to add the mute tag to everything in the thread.  I
believe this is also the approach used by the afew tagging system for
killed threads.
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch