|
Philippe LeCavalier-2 |
|
|
Hi.
I really like searching my inde by date and I came across a post that I can't seems to find for the life of me regarding the functionality of doing such a thing. I'll I'm left with is this[1] and I can't figure out what the heck it is. I do know that what it does do is limit mail from two weeks back to present. I suppose the omition at .. implies present but what the number represent and how to I play with that? -- Thanks, Phil _______________________________________________ notmuch mailing list [hidden email] http://notmuchmail.org/mailman/listinfo/notmuch |
|
Jani Nikula |
|
|
On Thu, 16 Feb 2012 12:58:00 -0500, Philippe LeCavalier <[hidden email]> wrote:
> I really like searching my inde by date and I came across a post that I > can't seems to find for the life of me regarding the functionality of > doing such a thing. I'll I'm left with is this[1] and I can't figure out > what the heck it is. I do know that what it does do is limit mail from > two weeks back to present. I suppose the omition at .. implies present > but what the number represent and how to I play with that? Hi Philippe - Out of the box you have the date search syntax described in 'man notmuch-search-terms', i.e. specifying a date range in terms of timestamps. Not very user friendly, but can be helped a little by using date(1) to produce the timestamps. See the man page. Quite some time ago I posted patches to add gnulib date search, but the gnulib semantics, while compatible with other GNU programs, are a bit awkward for the needs of notmuch. Plus it's plenty of code. See id:"[hidden email]" for the patches (they may not apply anymore though). Finally, I've been working on adding support for a decent date range search. It still needs some polish and tests, but seeing the demand, perhaps I should just post the patches and see what happens. BR, Jani. _______________________________________________ notmuch mailing list [hidden email] http://notmuchmail.org/mailman/listinfo/notmuch |
|
Jameson Graef Rollins |
|
|
On Thu, 16 Feb 2012 21:39:04 +0200, Jani Nikula <[hidden email]> wrote:
> Finally, I've been working on adding support for a decent date range > search. It still needs some polish and tests, but seeing the demand, > perhaps I should just post the patches and see what happens. A while back Austin also worked on a custom query parser [0] that supported more natural language date specification. He has threatened to resurrect that patch set as well. jamie. [0] id:"[hidden email]" _______________________________________________ notmuch mailing list [hidden email] http://notmuchmail.org/mailman/listinfo/notmuch |
|
Austin Clements |
|
|
Quoth Jameson Graef Rollins on Feb 18 at 4:40 pm:
> On Thu, 16 Feb 2012 21:39:04 +0200, Jani Nikula <[hidden email]> wrote: > > Finally, I've been working on adding support for a decent date range > > search. It still needs some polish and tests, but seeing the demand, > > perhaps I should just post the patches and see what happens. > > A while back Austin also worked on a custom query parser [0] that > supported more natural language date specification. He has threatened > to resurrect that patch set as well. > > jamie. > > [0] id:"[hidden email]" Really you want v2, id:"[hidden email]" Ideally we would use a combination of my query parser and Jani's date parser. The date parser I included with my query parser was just a simple demonstration whereas Jani's parser (I hear) is much more complete but has some peculiarities that stem from Xapian's query parser (like not being able to use spaces in dates). _______________________________________________ notmuch mailing list [hidden email] http://notmuchmail.org/mailman/listinfo/notmuch |
| Powered by Nabble | See how NAML generates this page |