[notmuch] Bulk message tagging

2010-04-23 Thread Mark Anderson
On Wed, 21 Apr 2010 18:02:59 -0500, Carl Worth wrote: > On Sat, 17 Apr 2010 20:32:27 +0200, Arian Kuschki googlemail.com> wrote: > > So one could query with sysconf and break things up into multiple > > commands as needed. > > > > Doesn't xargs do exactly this? > > Almost. > > The arguments

RE: [notmuch] Bulk message tagging

2010-04-23 Thread Mark Anderson
On Wed, 21 Apr 2010 18:02:59 -0500, Carl Worth cwo...@cworth.org wrote: On Sat, 17 Apr 2010 20:32:27 +0200, Arian Kuschki arian.kusc...@googlemail.com wrote: So one could query with sysconf and break things up into multiple commands as needed. Doesn't xargs do exactly this? Almost.

[notmuch] Bulk message tagging

2010-04-21 Thread Carl Worth
On Sat, 17 Apr 2010 20:32:27 +0200, Arian Kuschki wrote: > So one could query with sysconf and break things up into multiple > commands as needed. > > Doesn't xargs do exactly this? Almost. The arguments being passed to the "notmuch tag" command in this case look like: notmuch tag

RE: [notmuch] Bulk message tagging

2010-04-21 Thread Carl Worth
On Sat, 17 Apr 2010 20:32:27 +0200, Arian Kuschki arian.kusc...@googlemail.com wrote: So one could query with sysconf and break things up into multiple commands as needed. Doesn't xargs do exactly this? Almost. The arguments being passed to the notmuch tag command in this case look like:

[notmuch] Bulk message tagging

2010-04-19 Thread David Edmondson
On Sat, 17 Apr 2010 08:43:19 -0700, Carl Worth wrote: > In fact, until we have some sort of daemon that we can feed > arbitrarily-long lists to, that's what we should do. Thinking about loud... What if the sub-commands which accept potentially long argument lists (most of them?) sprouted a

Re: [notmuch] Bulk message tagging

2010-04-19 Thread David Edmondson
On Sat, 17 Apr 2010 08:43:19 -0700, Carl Worth cwo...@cworth.org wrote: In fact, until we have some sort of daemon that we can feed arbitrarily-long lists to, that's what we should do. Thinking about loud... What if the sub-commands which accept potentially long argument lists (most of them?)

[notmuch] Bulk message tagging

2010-04-17 Thread Arian Kuschki
Hi -Original Message- From: Carl Worth Sent: 17 April 2010 17:43 So one could query with sysconf and break things up into multiple commands as needed. Doesn't xargs do exactly this?

[notmuch] Bulk message tagging

2010-04-17 Thread Carl Worth
On Fri, 16 Apr 2010 07:47:45 -0400, Jesse Rosenthal wrote: > I've never run into this error. I usually run into this with things like "rm * */*" or so. > Is there a specific length that triggers > it? If so, we could chunk the tagging command. Or does the max length > depend on the machine and

[notmuch] Bulk message tagging

2010-04-16 Thread Servilio Afre Puentes
On 15 April 2010 21:46, Carl Worth wrote: [...] > We'll probably need to arrange for notmuch to accept search > specifications on stdin or so. Or a daemon mode with a pipe or DBus interface. Servilio

[notmuch] Bulk message tagging

2010-04-16 Thread Jesse Rosenthal
On Thu, 15 Apr 2010 18:46:56 -0700, Carl Worth wrote: > On Thu, 15 Apr 2010 16:04:38 -0400, Jesse Rosenthal > wrote: > > the region command only executes one "notmuch tag" command over > > "id:X or id:Y or id:Z or ...". > > ...this operation is all set up to run into "argument list too long" >

Re: [notmuch] Bulk message tagging

2010-04-16 Thread Jesse Rosenthal
On Thu, 15 Apr 2010 18:46:56 -0700, Carl Worth cwo...@cworth.org wrote: On Thu, 15 Apr 2010 16:04:38 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: the region command only executes one notmuch tag command over id:X or id:Y or id:Z or ...this operation is all set up to run into

[notmuch] Bulk message tagging

2010-04-15 Thread Carl Worth
On Thu, 15 Apr 2010 16:04:38 -0400, Jesse Rosenthal wrote: > On Wed, 14 Apr 2010 17:59:01 -0700, Carl Worth wrote: > > We could fix all[*] the bugs of "*" by changing it to simply call the > > new region-based tagging function. The only concern I have with that is > > that it might be

[notmuch] Bulk message tagging

2010-04-15 Thread Jesse Rosenthal
On Thu, 15 Apr 2010 16:04:38 -0400, Jesse Rosenthal wrote: > Not quite true: the region command only executes one "notmuch tag" > command over "id:X or id:Y or id:Z or ...". Sorry -- I meant, of course: over "thread:X or thread:Y or thread:Z or ..."

[notmuch] Bulk message tagging

2010-04-15 Thread Jesse Rosenthal
On Wed, 14 Apr 2010 17:59:01 -0700, Carl Worth wrote: > We could fix all[*] the bugs of "*" by changing it to simply call the > new region-based tagging function. The only concern I have with that is > that it might be significantly slower, (it will execute N "notmuch tag" > commands to tag the

Re: [notmuch] Bulk message tagging

2010-04-15 Thread Jesse Rosenthal
On Wed, 14 Apr 2010 17:59:01 -0700, Carl Worth cwo...@cworth.org wrote: We could fix all[*] the bugs of * by changing it to simply call the new region-based tagging function. The only concern I have with that is that it might be significantly slower, (it will execute N notmuch tag commands to

Re: [notmuch] Bulk message tagging

2010-04-15 Thread Jesse Rosenthal
On Thu, 15 Apr 2010 16:04:38 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: Not quite true: the region command only executes one notmuch tag command over id:X or id:Y or id:Z or Sorry -- I meant, of course: over thread:X or thread:Y or thread:Z or ...

[notmuch] Bulk message tagging

2010-04-14 Thread Carl Worth
On Sat, 10 Apr 2010 15:56:48 +0200, Xavier Maillard wrote: > On Tue, 6 Apr 2010 13:51:01 -0600, Mark Anderson > wrote: > > > > I think that '*' is definitely an awesome command, but I wonder if we > > shouldn't have another command for the notmuch-search buffer which means > > 'tag all the

Re: [notmuch] Bulk message tagging

2010-04-14 Thread Carl Worth
On Sat, 10 Apr 2010 15:56:48 +0200, Xavier Maillard x...@gnu.org wrote: On Tue, 6 Apr 2010 13:51:01 -0600, Mark Anderson markr.ander...@amd.com wrote: I think that '*' is definitely an awesome command, but I wonder if we shouldn't have another command for the notmuch-search buffer which

[notmuch] Bulk message tagging

2010-04-12 Thread Mark Anderson
On Sat, 10 Apr 2010 08:56:48 -0500, Xavier Maillard wrote: > Hi, > > On Tue, 6 Apr 2010 13:51:01 -0600, Mark Anderson > wrote: > > > > I think that '*' is definitely an awesome command, but I wonder if we > > shouldn't have another command for the notmuch-search buffer which means > > 'tag

Re: [notmuch] Bulk message tagging

2010-04-12 Thread Mark Anderson
On Sat, 10 Apr 2010 08:56:48 -0500, Xavier Maillard x...@gnu.org wrote: Hi, On Tue, 6 Apr 2010 13:51:01 -0600, Mark Anderson markr.ander...@amd.com wrote: I think that '*' is definitely an awesome command, but I wonder if we shouldn't have another command for the notmuch-search buffer

[notmuch] Bulk message tagging

2010-04-10 Thread Xavier Maillard
Hi, On Tue, 6 Apr 2010 13:51:01 -0600, Mark Anderson wrote: > > I think that '*' is definitely an awesome command, but I wonder if we > shouldn't have another command for the notmuch-search buffer which means > 'tag all the threads that I can see in this buffer'. This is exactly what my

Re: [notmuch] Bulk message tagging

2010-04-10 Thread Xavier Maillard
Hi, On Tue, 6 Apr 2010 13:51:01 -0600, Mark Anderson markr.ander...@amd.com wrote: I think that '*' is definitely an awesome command, but I wonder if we shouldn't have another command for the notmuch-search buffer which means 'tag all the threads that I can see in this buffer'. This is

[notmuch] Bulk message tagging

2010-04-06 Thread Mark Anderson
On Mon, 5 Apr 2010 01:15:39 -0500, Xavier Maillard wrote: > On Sun, 04 Apr 2010 07:38:03 -0400, Jesse Rosenthal > wrote: > > On Sun, 04 Apr 2010 06:37:53 +0200, Xavier Maillard wrote: > > > Is there an easy way to mark a whole bunch of message (restricted > > > in a region, result of a search,

Re: [notmuch] Bulk message tagging

2010-04-06 Thread Mark Anderson
On Mon, 5 Apr 2010 01:15:39 -0500, Xavier Maillard x...@gnu.org wrote: On Sun, 04 Apr 2010 07:38:03 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: On Sun, 04 Apr 2010 06:37:53 +0200, Xavier Maillard x...@gnu.org wrote: Is there an easy way to mark a whole bunch of message (restricted

[notmuch] Bulk message tagging

2010-04-05 Thread Jason White
Xavier Maillard wrote: > Sadly, git is not really something I know wll enough to play with > all this stuff :( http://progit.org/book/

[notmuch] Bulk message tagging

2010-04-05 Thread Xavier Maillard
On Sun, 4 Apr 2010 15:46:40 +1000, Jason White wrote: > Xavier Maillard wrote: > > > You are right I forgot to mention I am using the GNU Emacs > > interface exclusively. > > Then it's the * command from the buffer with the mail threads dislayed. > See also the ?h command for further help.

[notmuch] Bulk message tagging

2010-04-05 Thread Xavier Maillard
On Sun, 04 Apr 2010 07:38:03 -0400, Jesse Rosenthal wrote: > On Sun, 04 Apr 2010 06:37:53 +0200, Xavier Maillard wrote: > > Is there an easy way to mark a whole bunch of message (restricted > > in a region, result of a search, ...) ? > > In addition to the "*" command that was mentioned, there

Re: [notmuch] Bulk message tagging

2010-04-05 Thread Xavier Maillard
On Sun, 04 Apr 2010 07:38:03 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: On Sun, 04 Apr 2010 06:37:53 +0200, Xavier Maillard x...@gnu.org wrote: Is there an easy way to mark a whole bunch of message (restricted in a region, result of a search, ...) ? In addition to the * command that

Re: [notmuch] Bulk message tagging

2010-04-05 Thread Jason White
Xavier Maillard x...@gnu.org wrote: Sadly, git is not really something I know wll enough to play with all this stuff :( http://progit.org/book/ ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[notmuch] Bulk message tagging

2010-04-04 Thread Jason White
Xavier Maillard wrote: > You are right I forgot to mention I am using the GNU Emacs > interface exclusively. Then it's the * command from the buffer with the mail threads dislayed. See also the ?h command for further help.

[notmuch] Bulk message tagging

2010-04-04 Thread Jason White
Xavier Maillard wrote: > Is there an easy way to mark a whole bunch of message (restricted > in a region, result of a search, ...) ? notmuch tag +|- [...] [--] [...] does this from the shell. If you want to do it from one of the user interfaces, it depends on which one you're using.

[notmuch] Bulk message tagging

2010-04-04 Thread Jesse Rosenthal
On Sun, 04 Apr 2010 06:37:53 +0200, Xavier Maillard wrote: > Is there an easy way to mark a whole bunch of message (restricted > in a region, result of a search, ...) ? In addition to the "*" command that was mentioned, there is a patch I wrote to tag messages in search view by region in emacs.

[notmuch] Bulk message tagging

2010-04-04 Thread Xavier Maillard
On Sun, 4 Apr 2010 14:56:07 +1000, Jason White wrote: > Xavier Maillard wrote: > > Is there an easy way to mark a whole bunch of message (restricted > > in a region, result of a search, ...) ? > > notmuch tag +|- [...] [--] [...] does > this from the shell. If you want to do it from one of

[notmuch] Bulk message tagging

2010-04-04 Thread Xavier Maillard
Hi, Is there an easy way to mark a whole bunch of message (restricted in a region, result of a search, ...) ? I can't find it. Thank you Xavier

[notmuch] Bulk message tagging

2010-04-03 Thread Xavier Maillard
Hi, Is there an easy way to mark a whole bunch of message (restricted in a region, result of a search, ...) ? I can't find it. Thank you Xavier ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: [notmuch] Bulk message tagging

2010-04-03 Thread Jason White
Xavier Maillard x...@gnu.org wrote: Is there an easy way to mark a whole bunch of message (restricted in a region, result of a search, ...) ? notmuch tag +tag|-tag [...] [--] search-terms [...] does this from the shell. If you want to do it from one of the user interfaces, it depends on which

Re: [notmuch] Bulk message tagging

2010-04-03 Thread Xavier Maillard
On Sun, 4 Apr 2010 14:56:07 +1000, Jason White ja...@jasonjgw.net wrote: Xavier Maillard x...@gnu.org wrote: Is there an easy way to mark a whole bunch of message (restricted in a region, result of a search, ...) ? notmuch tag +tag|-tag [...] [--] search-terms [...] does this from the