[notmuch] A few patches

2010-01-21 Thread Mike Kelly
I've got a few patches available in my notmuch repo: http://git.pioto.org/gitweb/notmuch.git The 'noarg-count' branch makes `notmuch count` without any argument simply return the total number of messages in the database. This seems like it could be useful. The 'new-unread' branch makes `notmuc

[notmuch] [PATCH] GCC3.5 fix

2010-01-21 Thread Geo Carncross
h for that. -- next part -- A non-text attachment was scrubbed... Name: notmuch_gcc_35.patch Type: text/x-patch Size: 951 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100121/ede5d775/attachment.bin>

[notmuch] [PATCH] d_type fix

2010-01-21 Thread Geo Carncross
-- next part -- A non-text attachment was scrubbed... Name: notmuch_new_d_type_fix.patch Type: text/x-patch Size: 1144 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100121/29b03255/attachment.bin>

Re: [notmuch] Git feature branch

2010-01-21 Thread micah anderson
On Wed, 20 Jan 2010 15:00:46 +0100, "Sebastian Spaeth" wrote: > As I do like some of the additional patches, I am shoving some of them > into my "all feature" branch. I make that one available in case you > want to pull from it. It currently carries: > > Jameson Rollins: Simplify "unread" tag h

[notmuch] Fcc, Maildir, and Emacs message-mode -- a bit of code

2010-01-21 Thread Jesse Rosenthal
Dear all, First of all, many thanks to Carl and others for writing notmuch. Some folks on IRC were bemoaning message-mode's annoying inability to save sent-mail to a Maildir using Fcc. I mentioned that I had written a bit of Maildir elisp code for that purpose a while back, and it was suggested

[notmuch] A few patches

2010-01-21 Thread Mike Kelly
I've got a few patches available in my notmuch repo: http://git.pioto.org/gitweb/notmuch.git The 'noarg-count' branch makes `notmuch count` without any argument simply return the total number of messages in the database. This seems like it could be useful. The 'new-unread' branch makes `notmuc

[notmuch] [PATCH] GCC3.5 fix

2010-01-21 Thread Geo Carncross
I have reason to need GCC 3.5 which doesn't process the unused(x) macro correctly. This is probably a bug in 3.5, nevertheless the patch is simple and corrects the build. GCC 3.5 also does not understand -Wextra but Makefile is bound to change less frequently, so I did not include a patch for that

[notmuch] [PATCH] d_type fix

2010-01-21 Thread Geo Carncross
A review of notmuch-new.c shows three uses of ->d_type: Near line 153, in _entries_resemble_maildir() we can simply allow for DT_UNKNOWN. This would fail if people have MH-style folders which have three folders called "new" "cur" and "tmp", but that seems unlikely, in which case the "tmp" folder w

[notmuch] [PATCH] notmuch.el: add functionality to add or remove tags by region.

2010-01-21 Thread Jesse Rosenthal
> ...have region selection in search mode also mark messages. And then > there could also be a message-by-message way if you wanted to mark > disjoint messages. Sorry, I'm getting myself confused here. Not messages, *threads*.

[notmuch] [PATCH] notmuch.el: add functionality to add or remove tags by region.

2010-01-21 Thread Jesse Rosenthal
On Thu, 21 Jan 2010 10:56:59 -0500, Jameson Rollins wrote: > Notmuch is not to my knowledge capable of tagging a sub-region of a > message, so in that sense it might not work. This is only in notmuch-search mode, so it only operates on full threads. > Would it be better to use some sort of tag

[notmuch] [PATCH] notmuch.el: add functionality to add or remove tags by region.

2010-01-21 Thread Jameson Rollins
On Thu, Jan 21, 2010 at 10:35:34AM -0500, Jesse Rosenthal wrote: > Region is emacs-speak for selected area (either click-and-drag or C-SPC > and then motion commands). Basically, this was meant to be an emacsy-way > of tagging a bunch of messages in a buffer at once. I understand what a region is

[notmuch] Fcc, Maildir, and Emacs message-mode -- a bit of code

2010-01-21 Thread Jesse Rosenthal
Dear all, First of all, many thanks to Carl and others for writing notmuch. Some folks on IRC were bemoaning message-mode's annoying inability to save sent-mail to a Maildir using Fcc. I mentioned that I had written a bit of Maildir elisp code for that purpose a while back, and it was suggested

[notmuch] [PATCH] notmuch.el: add functionality to add or remove tags by region.

2010-01-21 Thread Jesse Rosenthal
On Thu, 21 Jan 2010 10:23:24 -0500, Jameson Rollins wrote: Hi Jamie, > Hi, Jesse. Can you explain what exactly a "region" is? It's not > clear from your log message or the patch itself. Region is emacs-speak for selected area (either click-and-drag or C-SPC and then motion commands). Basicall

[notmuch] [PATCH] notmuch.el: add functionality to add or remove tags by region.

2010-01-21 Thread Jameson Rollins
ize: 836 bytes Desc: Digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100121/57c86d40/attachment.pgp>

[notmuch] Git feature branch

2010-01-21 Thread micah anderson
e: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100121/554b47b9/attachment.pgp>

Re: [notmuch] [PATCH] notmuch.el: add functionality to add or remove tags by region.

2010-01-21 Thread Jesse Rosenthal
> ...have region selection in search mode also mark messages. And then > there could also be a message-by-message way if you wanted to mark > disjoint messages. Sorry, I'm getting myself confused here. Not messages, *threads*. ___ notmuch mailing list no

Re: [notmuch] [PATCH] notmuch.el: add functionality to add or remove tags by region.

2010-01-21 Thread Jesse Rosenthal
On Thu, 21 Jan 2010 10:56:59 -0500, Jameson Rollins wrote: > Notmuch is not to my knowledge capable of tagging a sub-region of a > message, so in that sense it might not work. This is only in notmuch-search mode, so it only operates on full threads. > Would it be better to use some sort of ta

Re: [notmuch] [PATCH] notmuch.el: add functionality to add or remove tags by region.

2010-01-21 Thread Jameson Rollins
On Thu, Jan 21, 2010 at 10:35:34AM -0500, Jesse Rosenthal wrote: > Region is emacs-speak for selected area (either click-and-drag or C-SPC > and then motion commands). Basically, this was meant to be an emacsy-way > of tagging a bunch of messages in a buffer at once. I understand what a region is

Re: [notmuch] [PATCH] notmuch.el: add functionality to add or remove tags by region.

2010-01-21 Thread Jesse Rosenthal
On Thu, 21 Jan 2010 10:23:24 -0500, Jameson Rollins wrote: Hi Jamie, > Hi, Jesse. Can you explain what exactly a "region" is? It's not > clear from your log message or the patch itself. Region is emacs-speak for selected area (either click-and-drag or C-SPC and then motion commands). Basical

Re: [notmuch] [PATCH] notmuch.el: add functionality to add or remove tags by region.

2010-01-21 Thread Jameson Rollins
On Wed, Jan 20, 2010 at 03:58:10PM -0500, Jesse Rosenthal wrote: > This patch adds `-region' versions of the `notmuch-search-' commands to find > properties. It also splits up `notmuch-add/remove-tags' into both a > `-thread' and a `-region' version. (This makes us modify > `notmuch-search-arch

[notmuch] [PATCH] notmuch.el: add functionality to add or remove tags by region.

2010-01-21 Thread Jesse Rosenthal

Re: [notmuch] [PATCH] notmuch.el: add functionality to add or remove tags by region.

2010-01-21 Thread Jesse Rosenthal
___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[notmuch] Potential problem using Git for mail (was: Idea for storing tags)

2010-01-21 Thread Asheesh Laroia
On Fri, 15 Jan 2010, martin f krafft wrote: > also sprach Asheesh Laroia [2010.01.14.2112 +1300]: >> Sure. But the MDA doesn't need to do the commit immediately. Since >> (presumably) we're using Maildir, the MDA on the mail receiving >> server is going to generate filenames that won't cause conf

Re: [notmuch] [PATCH] notmuch new: support for filename pattern filtering

2010-01-21 Thread Bart Massey
Haven't seen my patch pushed or commented on yet. Was it black-holed, or are people just busy? Thanks much, Bart In message you wrote: > Together with the new support for message deletion (thank > you!) this patch lets me use notmuch in parallel with MH > pretty successfully.

[notmuch] [PATCH] notmuch new: support for filename pattern filtering

2010-01-21 Thread Bart Massey
Haven't seen my patch pushed or commented on yet. Was it black-holed, or are people just busy? Thanks much, Bart In message you wrote: > Together with the new support for message deletion (thank > you!) this patch lets me use notmuch in parallel with MH > pretty successfully.

[notmuch] [PATCH] notmuch.el: add functionality to add or remove tags by region.

2010-01-21 Thread Jesse Rosenthal
This patch adds `-region' versions of the `notmuch-search-' commands to find properties. It also splits up `notmuch-add/remove-tags' into both a `-thread' and a `-region' version. (This makes us modify `notmuch-search-archive-thread' to use the `notmuch-search-remove-tag-thread' function, inst