[PATCH] notmuch new --new-tags=tags...

2010-04-23 Thread Carl Worth
On Mon, 12 Apr 2010 07:59:14 -0400, Jameson Rollins wrote: > On Mon, 12 Apr 2010 10:00:37 +0200, "Sebastian Spaeth" SSpaeth.de> wrote: > > On 2010-04-10, Anthony Towns wrote: > > > The attached patch makes "notmuch new --new-tags=unread,new" set the > > > "unread" and "new" tags on any new mail

Re: [PATCH] notmuch new --new-tags=tags...

2010-04-23 Thread Carl Worth
On Mon, 12 Apr 2010 07:59:14 -0400, Jameson Rollins jroll...@finestructure.net wrote: On Mon, 12 Apr 2010 10:00:37 +0200, Sebastian Spaeth sebast...@sspaeth.de wrote: On 2010-04-10, Anthony Towns wrote: The attached patch makes notmuch new --new-tags=unread,new set the unread and new

[PATCH] notmuch new --new-tags=tags...

2010-04-13 Thread Anthony Towns
On Tue, Apr 13, 2010 at 01:55, Jameson Rollins wrote: > On Mon, 12 Apr 2010 17:11:24 +0200, Michal Sojka > wrote: >> The problem I see with this approach is, that all notmuch searches are >> build around Xapian. ... > This does sound like a potential issue. ?I definitely don't understand > how

[PATCH] notmuch new --new-tags=tags...

2010-04-12 Thread Michal Sojka
On Mon, 12 Apr 2010, Jameson Rollins wrote: > On Mon, 12 Apr 2010 10:00:37 +0200, "Sebastian Spaeth" SSpaeth.de> wrote: > > On 2010-04-10, Anthony Towns wrote: > > > The attached patch makes "notmuch new --new-tags=unread,new" set the > > > "unread" and "new" tags on any new mail it finds rather

[PATCH] notmuch new --new-tags=tags...

2010-04-12 Thread Tomas Carnecky
On 4/12/10 1:59 PM, Jameson Rollins wrote: > On Mon, 12 Apr 2010 10:00:37 +0200, "Sebastian Spaeth" SSpaeth.de> wrote: >> On 2010-04-10, Anthony Towns wrote: >>> The attached patch makes "notmuch new --new-tags=unread,new" set the >>> "unread" and "new" tags on any new mail it finds rather than

[PATCH] notmuch new --new-tags=tags...

2010-04-12 Thread Jameson Rollins
On Tue, 13 Apr 2010 03:15:28 +1000, Anthony Towns wrote: > If you say "they're just notmuch tag commands applied at new time" you > expect to have the same search behaviour as Xapian... True, but that's not exactly what I was saying. I was just saying to use the same syntax. But I expect that

[PATCH] notmuch new --new-tags=tags...

2010-04-12 Thread Jameson Rollins
On Mon, 12 Apr 2010 17:11:24 +0200, Michal Sojka wrote: > In my mailstore abstraction patches, I suppose that tags for new > messages are derived in some way from mailstore. The idea is, that once > we have a mail store which can store tags (e.g. git-based mails store), > the tags will be

[PATCH] notmuch new --new-tags=tags...

2010-04-12 Thread Sebastian Spaeth
On 2010-04-10, Anthony Towns wrote: > Hi *, > > The attached patch makes "notmuch new --new-tags=unread,new" set the > "unread" and "new" tags on any new mail it finds rather than "unread" > and "inbox". Or whatever other tags you happen to specify. Thanks for the patch. I can't comment on the

[PATCH] notmuch new --new-tags=tags...

2010-04-12 Thread Jameson Rollins
On Mon, 12 Apr 2010 10:00:37 +0200, "Sebastian Spaeth" wrote: > On 2010-04-10, Anthony Towns wrote: > > The attached patch makes "notmuch new --new-tags=unread,new" set the > > "unread" and "new" tags on any new mail it finds rather than "unread" > > and "inbox". Or whatever other tags you happen

[PATCH] notmuch new --new-tags=tags...

2010-04-12 Thread Scott Robinson
Excerpts from Tomas Carnecky's message of Mon Apr 12 06:25:23 -0600 2010: > I have a patch which adds support for hooks which are run when tags are > added, removed or new messages added to notmuch. But perhaps the > fork/exec overhead of running the hooks would slow the processing down > too

Re: [PATCH] notmuch new --new-tags=tags...

2010-04-12 Thread Jameson Rollins
On Mon, 12 Apr 2010 10:00:37 +0200, Sebastian Spaeth sebast...@sspaeth.de wrote: On 2010-04-10, Anthony Towns wrote: The attached patch makes notmuch new --new-tags=unread,new set the unread and new tags on any new mail it finds rather than unread and inbox. Or whatever other tags you

Re: [PATCH] notmuch new --new-tags=tags...

2010-04-12 Thread Tomas Carnecky
On 4/12/10 1:59 PM, Jameson Rollins wrote: On Mon, 12 Apr 2010 10:00:37 +0200, Sebastian Spaethsebast...@sspaeth.de wrote: On 2010-04-10, Anthony Towns wrote: The attached patch makes notmuch new --new-tags=unread,new set the unread and new tags on any new mail it finds rather than unread

Re: [PATCH] notmuch new --new-tags=tags...

2010-04-12 Thread Scott Robinson
Excerpts from Tomas Carnecky's message of Mon Apr 12 06:25:23 -0600 2010: I have a patch which adds support for hooks which are run when tags are added, removed or new messages added to notmuch. But perhaps the fork/exec overhead of running the hooks would slow the processing down too much.

Re: [PATCH] notmuch new --new-tags=tags...

2010-04-12 Thread Michal Sojka
On Mon, 12 Apr 2010, Jameson Rollins wrote: On Mon, 12 Apr 2010 10:00:37 +0200, Sebastian Spaeth sebast...@sspaeth.de wrote: On 2010-04-10, Anthony Towns wrote: The attached patch makes notmuch new --new-tags=unread,new set the unread and new tags on any new mail it finds rather than

Re: [PATCH] notmuch new --new-tags=tags...

2010-04-12 Thread Jameson Rollins
On Mon, 12 Apr 2010 17:11:24 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: In my mailstore abstraction patches, I suppose that tags for new messages are derived in some way from mailstore. The idea is, that once we have a mail store which can store tags (e.g. git-based mails store), the tags

Re: [PATCH] notmuch new --new-tags=tags...

2010-04-12 Thread Anthony Towns
On Tue, Apr 13, 2010 at 01:55, Jameson Rollins jroll...@finestructure.net wrote: On Mon, 12 Apr 2010 17:11:24 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: The problem I see with this approach is, that all notmuch searches are build around Xapian. ... This does sound like a potential issue.  

Re: [PATCH] notmuch new --new-tags=tags...

2010-04-12 Thread Jameson Rollins
On Tue, 13 Apr 2010 03:15:28 +1000, Anthony Towns a...@erisian.com.au wrote: If you say they're just notmuch tag commands applied at new time you expect to have the same search behaviour as Xapian... True, but that's not exactly what I was saying. I was just saying to use the same syntax. But

[PATCH] notmuch new --new-tags=tags...

2010-04-11 Thread Anthony Towns
Hi *, The attached patch makes "notmuch new --new-tags=unread,new" set the "unread" and "new" tags on any new mail it finds rather than "unread" and "inbox". Or whatever other tags you happen to specify. Signed-off-by: Anthony Towns --- NEWS |3 +++ notmuch-new.c | 49

[PATCH] notmuch new --new-tags=tags...

2010-04-10 Thread Dirk Hohndel
On Sun, 11 Apr 2010 01:03:04 +1000, Anthony Towns wrote: > Hi *, > > The attached patch makes "notmuch new --new-tags=unread,new" set the > "unread" and "new" tags on any new mail it finds rather than "unread" > and "inbox". Or whatever other tags you happen to specify. I really like this - I

[PATCH] notmuch new --new-tags=tags...

2010-04-10 Thread Anthony Towns
Hi *, The attached patch makes notmuch new --new-tags=unread,new set the unread and new tags on any new mail it finds rather than unread and inbox. Or whatever other tags you happen to specify. Signed-off-by: Anthony Towns a...@erisian.com.au --- NEWS |3 +++ notmuch-new.c | 49

Re: [PATCH] notmuch new --new-tags=tags...

2010-04-10 Thread Dirk Hohndel
On Sun, 11 Apr 2010 01:03:04 +1000, Anthony Towns a...@erisian.com.au wrote: Hi *, The attached patch makes notmuch new --new-tags=unread,new set the unread and new tags on any new mail it finds rather than unread and inbox. Or whatever other tags you happen to specify. I really like this -