Re: [PATCH] emacs: Add notmuch-hello.el, a friendly frontend to notmuch

2010-04-13 Thread Michal Sojka
On Mon, 12 Apr 2010, David Edmondson wrote: commit e55dc251b9e8001fe16873fadac565563e606d69 Author: David Edmondson d...@dme.org Date: Mon Apr 12 11:12:23 2010 +0100 emacs: Add notmuch-hello.el, a friendly frontend to notmuch Hi dme, thanks for the great patch. For next time, could

Re: [PATCH] emacs: Add notmuch-hello.el, a friendly frontend to notmuch

2010-04-13 Thread David Edmondson
On Tue, 13 Apr 2010 12:25:43 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: For next time, could you plese use 'git format-patch' for generating patches for sending in email? If I pipe your message to 'git am', all the above text becomes a part of commit message. Will do. dme. -- David

Re: [PATCH] Add simplistic reimplementation of strcasestr to compat library

2010-04-13 Thread Dirk Hohndel
On Tue, 13 Apr 2010 15:59:24 +1000, Anthony Towns a...@erisian.com.au wrote: On Tue, Apr 13, 2010 at 14:10, Dirk Hohndel hohn...@infradead.org wrote: +/* the semantic here actually puzzles me: +   how can haystack be const char * - yet the return value is char * +   after all, it points to

[PATCH] emacs: when archiving move the cursor depending on the sort order.

2010-04-13 Thread Servilio Afre Puentes
The current hardcoded behaviour will not take you to the next unread thread when the sort order is set to newer-first from the default of older-first. Signed-off-by: Servilio Afre Puentes servi...@gmail.com --- emacs/notmuch.el |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff

[PATCH] emacs: Extend the archive function to operate on regions too.

2010-04-13 Thread Servilio Afre Puentes
Signed-off-by: Servilio Afre Puentes servi...@gmail.com --- emacs/notmuch.el | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 517c53a..4d4971f 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -264,7 +264,7 @@ For a

Re: [notmuch] [PATCH] Store thread ids for messages that we haven't seen yet

2010-04-13 Thread Carl Worth
On Sat, 13 Mar 2010 16:27:57 -0500, James Westby jw+deb...@jameswestby.net wrote: This allows us to thread messages even when we receive them out of order, or never receive the root. Thanks for this patch, James! It's especially nice to have the fix come in with additions to the test suite as

Re: [notmuch] [PATCH] Prevent data loss caused by SIGINT during notmuch new

2010-04-13 Thread Carl Worth
On Tue, 30 Mar 2010 10:23:23 +0200, Michal Sojka sojk...@fel.cvut.cz wrote: When Ctrl-C is pressed in a wrong time during notmuch new, it can lead to removal of messages from the database even if the files were not removed. It happened at least once to me. Signed-off-by: Michal Sojka

Re: Plans for the 0.2 release (this week)

2010-04-13 Thread Carl Worth
On Thu, 08 Apr 2010 09:47:00 +0200, Sebastian Spaeth sebast...@sspaeth.de wrote: First of all, thanks for the great work Carl. I have to admit I was getting nervous about the backlog of patches, but your recent committing binge (you did say your work patterns are bursty :-)) made me very

Re: Plans for the 0.2 release (this week)

2010-04-13 Thread Carl Worth
On Thu, 08 Apr 2010 09:52:21 -0400, Jameson Rollins jroll...@finestructure.net wrote: I would really like to see the patch in spaetz/issue15-handle-fcc-bcc applied soon. This is the lingering issue of bcc'ing the primary email address in notmuch replies, which I think really needs to be

[PATCH] First tests for JSON output and UTF-8 in mail body and subject

2010-04-13 Thread Gregor Hoffleit
The test suite doesn't yet cover --format=json output nor UTF-8 in subject or body. This patch starts with test cases for 'search --format=json' and 'show --format=json'. Furthermore, it has test cases for a search for a UTF-8 string in a mail body for a UTF-8 string in a mail subject. Finally,

Re: [notmuch] [PATCH] Decode headers in reply

2010-04-13 Thread Carl Worth
On Wed, 3 Mar 2010 08:50:56 +0100, Michal Sojka sojk...@fel.cvut.cz wrote: When headers contain non-ASCII characters, they are encoded according to rfc2047. Nomtuch reply command emits the headers in the encoded form, which makes them hard to read by humans who compose the reply. This feature

Re: Plans for the 0.2 release (this week)

2010-04-13 Thread Carl Worth
On Wed, 07 Apr 2010 15:12:44 -0700, Carl Worth cwo...@cworth.org wrote: For the upcoming 0.2 release, here are some things that I would like to have in place: * Any further changes from the Sebastian's repository. Sebastian, I worked through one list I saw recently. Do you have another

Re: [PATCH] Fix code extracting the MTA from Received: headers

2010-04-13 Thread Carl Worth
On Thu, 08 Apr 2010 08:07:48 -0700, Dirk Hohndel hohn...@infradead.org wrote: Right now my plan is to do something like this: 1) look for my email address in To/Cc 2) look for my email in for em...@add.res in Received headers 3) look for my email in X-Original-To 4) look for the domain of

Re: [PATCH] RFC: User-Agent header

2010-04-13 Thread Carl Worth
On Mon, 12 Apr 2010 10:30:54 +0200, Sebastian Spaeth sebast...@sspaeth.de wrote: OK, final post from me on this issue. No, wait! I want more from you. :-) Would you care to put together a solution that does this from within notmuch*.el ? I really want things usable by default without people

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

2010-04-13 Thread Carl Worth
On Fri, 09 Apr 2010 10:11:00 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: I'll play with both and see which is clearer. Any progress here, Jesse? I'd like to release notmuch 0.2 soon and would prefer not to revert this feature, (but I also don't really want to ship it with this known bug).

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

2010-04-13 Thread Jesse Rosenthal
Sorry -- just got back into town from some business travel. I'll be working on it this afternoon, and will let you know by this evening where I get with it. Best, Jesse On Tue, 13 Apr 2010 10:55:55 -0700, Carl Worth cwo...@cworth.org wrote: On Fri, 09 Apr 2010 10:11:00 -0400, Jesse Rosenthal

An update on 0.2 progress

2010-04-13 Thread Carl Worth
I just wanted to let everyone know that I think the code for the 0.2 release of notmuch is pretty much in place now. I've either merged or decided to postpone most all of the proposed features. I'll follow-up with another mail giving the detailed list of features that have been merged or

Re: [PATCH] Fix code extracting the MTA from Received: headers

2010-04-13 Thread Dirk Hohndel
On Tue, 13 Apr 2010 10:37:49 -0700, Carl Worth cwo...@cworth.org wrote: On Thu, 08 Apr 2010 08:07:48 -0700, Dirk Hohndel hohn...@infradead.org wrote: Right now my plan is to do something like this: 1) look for my email address in To/Cc 2) look for my email in for em...@add.res in

[PATCH] Add strcasestr v.3 - add compat implementation of strcasestr

2010-04-13 Thread Dirk Hohndel
v.3 of this patch, now with the changes to makefiles, configure script compat.h and all new files that I need Please test on platforms lacking strcasestr Signed-off-by: Dirk Hohndel hohn...@infradead.org --- compat/Makefile.local|4 compat/compat.h |4

[PATCH] Add simplistic compat implementation for strcasestr

2010-04-13 Thread Dirk Hohndel
v.2 of the patch, this time including the Makefile logic. All platforms I have access to support strcasestr - so please test that the implementation / integration works correctly on those plattforms. Signed-off-by: Dirk Hohndel hohn...@infradead.org --- compat/have_strcasestr.c | 10

Re: [PATCH] Add strcasestr v.3 - add compat implementation of strcasestr

2010-04-13 Thread Tomas Carnecky
On 4/13/10 6:47 PM, Dirk Hohndel wrote: v.3 of this patch, now with the changes to makefiles, configure script compat.h and all new files that I need Please test on platforms lacking strcasestr Signed-off-by: Dirk Hohndelhohn...@infradead.org Tested-by: Tomas Carnecky t...@dbservice.com (on

[PATCH] Fix bug, and clean up code duplication, in adding or removing tag by region.

2010-04-13 Thread Jesse Rosenthal
There was a bug in notmuch-search-{add,remove}-tag-region, which would not behave correctly if the region went beyond the last message. Now, instead of simply iterating to the last line of the region, these functions will iterate to the minimum of the last line of the region and the last possible

[PATCH] Use wrapper functions to find the type of struct dirent

2010-04-13 Thread Tomas Carnecky
Some platforms don't provide DT_REG/DT_LNK/DT_DIR. Create wrapper functions which test the presence of those symbols and fall back to stat(2). --- Not sure if I got the handling of DT_UNKNOWN correct in all cases. Someone please double-check that. notmuch-new.c | 70

Re: [PATCH] Add strcasestr v.3 - add compat implementation of strcasestr

2010-04-13 Thread Dirk Hohndel
On Tue, 13 Apr 2010 20:47:02 +0200, Tomas Carnecky t...@dbservice.com wrote: On 4/13/10 6:47 PM, Dirk Hohndel wrote: v.3 of this patch, now with the changes to makefiles, configure script compat.h and all new files that I need Please test on platforms lacking strcasestr Signed-off-by:

Re: [PATCH 1/4] Mailstore abstraction interface

2010-04-13 Thread Stewart Smith
On Tue, 13 Apr 2010 10:53:12 -0700, Carl Worth cwo...@cworth.org wrote: This series is looking like one of the most complete approaches to maildir-flag synchronization, (and I like some of the motivation that leads to notmuch cat). But I think the mailstore abstraction is largely a distraction

See only unread message in a thread ?

2010-04-13 Thread Xavier Maillard
Hi, maybe I missread the manual but I can't find an easy way to do something simple in notmuch.el. Say I have a thread with A-B-C. I visit the thread and read the whole thread. Let's say after 'notmuch new' a post has entered the thread: A-B-C-D. Is there an easy way to just have one of these

Re: See only unread message in a thread ?

2010-04-13 Thread James Westby
On Wed, 14 Apr 2010 00:11:50 +0200, Xavier Maillard x...@gnu.org wrote: Hi, maybe I missread the manual but I can't find an easy way to do something simple in notmuch.el. Say I have a thread with A-B-C. I visit the thread and read the whole thread. Let's say after 'notmuch new' a post has

Re: See only unread message in a thread ?

2010-04-13 Thread Xavier Maillard
On Tue, 13 Apr 2010 23:19:37 +0100, James Westby jw+deb...@jameswestby.net wrote: On Wed, 14 Apr 2010 00:11:50 +0200, Xavier Maillard x...@gnu.org wrote: Hi, maybe I missread the manual but I can't find an easy way to do something simple in notmuch.el. Say I have a thread with

Re: See only unread message in a thread ?

2010-04-13 Thread Jameson Rollins
On Tue, 13 Apr 2010 23:19:37 +0100, James Westby jw+deb...@jameswestby.net wrote: On Wed, 14 Apr 2010 00:11:50 +0200, Xavier Maillard x...@gnu.org wrote: Say I have a thread with A-B-C. I visit the thread and read the whole thread. Let's say after 'notmuch new' a post has entered the

[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

Use of strcasestr

2010-04-13 Thread Mikhail Gusarov
- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100413/dd30ea39/attachment.pgp>

Use of strcasestr

2010-04-13 Thread Tomas Carnecky
On 4/12/10 10:18 PM, Mikhail Gusarov wrote: > > Twas brillig at 15:58:10 12.04.2010 UTC+02 when tom at dbservice.com did gyre > and gimble: > > TC> In 4fd9ea0 (guess From address from Received headers, 2010-04-06) you > introduced > TC> strcasestr, which is not portable, see 82e47ec

[PATCH] Add compat version of strcasestr

2010-04-13 Thread Tomas Carnecky
strcasestr is not part of any standard (unlike for example strcasecmp) and thus not available on all platforms (in my case Solaris). --- compat/Makefile.local|4 compat/compat.h |4 compat/have_strcasestr.c |8 compat/strcasestr.c | 15

[PATCH] Add simplistic reimplementation of strcasestr to compat library

2010-04-13 Thread Tomas Carnecky
On 4/13/10 6:10 AM, Dirk Hohndel wrote: > > While all systems that I have access to support strcasestr, it is > in fact not part of POSIX. So here's a fallback reimplementation > based on POSIX functions. Your patch is missing the part where it adds -DHAVE_STRCASESTR=.. to CONFIGURE_C{XX,}FLAGS.

[PATCH] emacs: Add notmuch-hello.el, a friendly frontend to notmuch

2010-04-13 Thread Xavier Maillard
On Mon, 12 Apr 2010 11:13:30 +0100, David Edmondson wrote: > commit e55dc251b9e8001fe16873fadac565563e606d69 > Author: David Edmondson > Date: Mon Apr 12 11:12:23 2010 +0100 > > emacs: Add notmuch-hello.el, a friendly frontend to notmuch I like it ! Xavier

[PATCH] Add simplistic reimplementation of strcasestr to compat library

2010-04-13 Thread Anthony Towns
On Tue, Apr 13, 2010 at 14:10, Dirk Hohndel wrote: > +/* the semantic here actually puzzles me: > + ? how can haystack be const char * - yet the return value is char * > + ? after all, it points to a sub-string of haystack... */ Dunno if this is a question from the original source, but the

[PATCH] emacs: Add notmuch-hello.el, a friendly frontend to notmuch

2010-04-13 Thread David Edmondson
On Tue, 13 Apr 2010 06:58:46 +0200, Xavier Maillard wrote: > On Mon, 12 Apr 2010 11:13:30 +0100, David Edmondson wrote: > > commit e55dc251b9e8001fe16873fadac565563e606d69 > > Author: David Edmondson > > Date: Mon Apr 12 11:12:23 2010 +0100 > > > > emacs: Add notmuch-hello.el, a friendly

[PATCH] emacs: Add notmuch-hello.el, a friendly frontend to notmuch

2010-04-13 Thread Michal Sojka
On Mon, 12 Apr 2010, David Edmondson wrote: > commit e55dc251b9e8001fe16873fadac565563e606d69 > Author: David Edmondson > Date: Mon Apr 12 11:12:23 2010 +0100 > > emacs: Add notmuch-hello.el, a friendly frontend to notmuch Hi dme, thanks for the great patch. For next time, could you

[PATCH] emacs: Add notmuch-hello.el, a friendly frontend to notmuch

2010-04-13 Thread David Edmondson
On Tue, 13 Apr 2010 12:25:43 +0200, Michal Sojka wrote: > For next time, could you plese use 'git format-patch' for generating > patches for sending in email? If I pipe your message to 'git am', all > the above text becomes a part of commit message. Will do. dme. -- David Edmondson,

[PATCH] Add simplistic reimplementation of strcasestr to compat library

2010-04-13 Thread Dirk Hohndel
On Tue, 13 Apr 2010 15:59:24 +1000, Anthony Towns wrote: > On Tue, Apr 13, 2010 at 14:10, Dirk Hohndel wrote: > > +/* the semantic here actually puzzles me: > > + ? how can haystack be const char * - yet the return value is char * > > + ? after all, it points to a sub-string of haystack... */ >

[PATCH] emacs: when archiving move the cursor depending on the sort order.

2010-04-13 Thread Servilio Afre Puentes
The current hardcoded behaviour will not take you to the next unread thread when the sort order is set to newer-first from the default of older-first. Signed-off-by: Servilio Afre Puentes --- emacs/notmuch.el |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git

[PATCH] emacs: Extend the archive function to operate on regions too.

2010-04-13 Thread Servilio Afre Puentes
Signed-off-by: Servilio Afre Puentes --- emacs/notmuch.el | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 517c53a..4d4971f 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -264,7 +264,7 @@ For a mouse binding,

[notmuch] [PATCH] Store thread ids for messages that we haven't seen yet

2010-04-13 Thread Carl Worth
-Carl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100413/4eb398fd/attachment.pgp>

[notmuch] [PATCH] json_quote_str should handle non-ASCII characters

2010-04-13 Thread Carl Worth
text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100413/9b68e96e/attachment.pgp>

[notmuch] [PATCH] Store thread ids for messages that we haven't seen yet

2010-04-13 Thread James Westby
On Tue, 13 Apr 2010 08:20:48 -0700, Carl Worth wrote: > Thanks for this patch, James! It's especially nice to have the fix come > in with additions to the test suite as well. Thanks for including a test suite I could add to! > I did split up the commit so the addition to the test suite happens

[notmuch] [PATCH] Add count command to manual page

2010-04-13 Thread Carl Worth
-Carl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100413/bd3a780c/attachment.pgp>

[notmuch] [PATCH] Fix typo in notmuch.h documentation regarding database open modes

2010-04-13 Thread Carl Worth
- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100413/220107fb/attachment.pgp>

[notmuch] [PATCH] Prevent data loss caused by SIGINT during notmuch new

2010-04-13 Thread Carl Worth
s Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100413/665624a9/attachment.pgp>

[notmuch] [PATCH] Do not segfault on empty mime parts

2010-04-13 Thread Carl Worth
iminate its portion of the message 3. Remove the notmuch portion of the message -Carl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100413/5b85b352/attachment.pgp>

Plans for the 0.2 release (this week)

2010-04-13 Thread Carl Worth
have for this in my "notmuch merge window" search is not doing the trick. -Carl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100413/0d0eaebc/attachment-0001.pgp>

Plans for the 0.2 release (this week)

2010-04-13 Thread Carl Worth
arl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100413/35f72108/attachment.pgp>

[notmuch] [PATCH] notmuch.el: quote args in notmuch-show to facilitate remote use

2010-04-13 Thread Carl Worth
itself. Thanks again, -Carl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100413/60901edb/attachment.pgp>

[PATCH] First tests for JSON output and UTF-8 in mail body and subject

2010-04-13 Thread Gregor Hoffleit
The test suite doesn't yet cover --format=json output nor UTF-8 in subject or body. This patch starts with test cases for 'search --format=json' and 'show --format=json'. Furthermore, it has test cases for a search for a UTF-8 string in a mail body for a UTF-8 string in a mail subject. Finally,

[notmuch] [PATCH] Decode headers in reply

2010-04-13 Thread Carl Worth
t;http://notmuchmail.org/pipermail/notmuch/attachments/20100413/cc04e323/attachment.pgp>

Plans for the 0.2 release (this week)

2010-04-13 Thread Carl Worth
message. I think they are all merged now. Let me know if I missed anything. -Carl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100413/943c9a0a/attachment.pgp>

[PATCH] Fix code extracting the MTA from Received: headers

2010-04-13 Thread Carl Worth
On Thu, 08 Apr 2010 08:07:48 -0700, Dirk Hohndel wrote: > Right now my plan is to do something like this: > > 1) look for my email address in To/Cc > 2) look for my email in "for " in Received headers > 3) look for my email in X-Original-To > 4) look for the domain of my email in Received

[PATCH] RFC: User-Agent header

2010-04-13 Thread Carl Worth
p-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100413/192eeefc/attachment.pgp>

[PATCH 1/4] Mailstore abstraction interface

2010-04-13 Thread Carl Worth
--- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100413/415e8dc2/attachment-0001.pgp>

[notmuch] [PATCH v2] notmuch.el: add functionality in notmuch search mode to add or remove tags by region

2010-04-13 Thread Carl Worth
arl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100413/160ebce6/attachment.pgp>

[notmuch] [PATCH v2] notmuch.el: add functionality in notmuch search mode to add or remove tags by region

2010-04-13 Thread Jesse Rosenthal
Sorry -- just got back into town from some business travel. I'll be working on it this afternoon, and will let you know by this evening where I get with it. Best, Jesse On Tue, 13 Apr 2010 10:55:55 -0700, Carl Worth wrote: > On Fri, 09 Apr 2010 10:11:00 -0400, Jesse Rosenthal > wrote: > >

An update on 0.2 progress

2010-04-13 Thread Carl Worth
ke the cut---but that gives us something to look forward to next week!). -Carl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100413/fb117691/attachment.pgp>

[PATCH] Fix code extracting the MTA from Received: headers

2010-04-13 Thread Dirk Hohndel
On Tue, 13 Apr 2010 10:37:49 -0700, Carl Worth wrote: > On Thu, 08 Apr 2010 08:07:48 -0700, Dirk Hohndel > wrote: > > Right now my plan is to do something like this: > > > > 1) look for my email address in To/Cc > > 2) look for my email in "for " in Received headers > > 3) look for my email in

[PATCH] Add strcasestr v.3 - add compat implementation of strcasestr

2010-04-13 Thread Dirk Hohndel
v.3 of this patch, now with the changes to makefiles, configure script compat.h and all new files that I need Please test on platforms lacking strcasestr Signed-off-by: Dirk Hohndel --- compat/Makefile.local|4 compat/compat.h |4 compat/have_strcasestr.c | 10

[PATCH] Add simplistic compat implementation for strcasestr

2010-04-13 Thread Dirk Hohndel
v.2 of the patch, this time including the Makefile logic. All platforms I have access to support strcasestr - so please test that the implementation / integration works correctly on those plattforms. Signed-off-by: Dirk Hohndel --- compat/have_strcasestr.c | 10 ++

[PATCH] Add strcasestr v.3 - add compat implementation of strcasestr

2010-04-13 Thread Tomas Carnecky
On 4/13/10 6:47 PM, Dirk Hohndel wrote: > > v.3 of this patch, now with the changes to makefiles, configure script > compat.h and all new files that I need > Please test on platforms lacking strcasestr > > Signed-off-by: Dirk Hohndel Tested-by: Tomas Carnecky (on OpenSolaris snv_134) tom

[PATCH] Fix bug, and clean up code duplication, in adding or removing tag by region.

2010-04-13 Thread Jesse Rosenthal
There was a bug in notmuch-search-{add,remove}-tag-region, which would not behave correctly if the region went beyond the last message. Now, instead of simply iterating to the last line of the region, these functions will iterate to the minimum of the last line of the region and the last possible

[PATCH] Use wrapper functions to find the type of struct dirent

2010-04-13 Thread Tomas Carnecky
Some platforms don't provide DT_REG/DT_LNK/DT_DIR. Create wrapper functions which test the presence of those symbols and fall back to stat(2). --- Not sure if I got the handling of DT_UNKNOWN correct in all cases. Someone please double-check that. notmuch-new.c | 70

[PATCH] Add strcasestr v.3 - add compat implementation of strcasestr

2010-04-13 Thread Dirk Hohndel
On Tue, 13 Apr 2010 20:47:02 +0200, Tomas Carnecky wrote: > On 4/13/10 6:47 PM, Dirk Hohndel wrote: > > > > v.3 of this patch, now with the changes to makefiles, configure script > > compat.h and all new files that I need > > Please test on platforms lacking strcasestr > > > > Signed-off-by: Dirk

[PATCH 1/4] Mailstore abstraction interface

2010-04-13 Thread Stewart Smith
On Tue, 13 Apr 2010 10:53:12 -0700, Carl Worth wrote: > This series is looking like one of the most complete approaches to > maildir-flag synchronization, (and I like some of the motivation that > leads to "notmuch cat"). But I think the mailstore abstraction is > largely a distraction from the

See only unread message in a thread ?

2010-04-13 Thread Jameson Rollins
our inbox that are unread, then you need to search for "tag:inbox and tag:unread", or type 'f' in notmuch mode to filter your inbox search with the "tag:unread" search. Make sense? jamie. -- next part -- A non-text attachment was scrubbed... Name: n

[PATCH 0/4] Mailstore abstraction v4

2010-04-13 Thread Carl Worth
e mailstore type). -Carl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100413/fa35bb5e/attachment.pgp>