search for date received possible?

2011-10-23 Thread Gregor Zattler
Hi Ivy, On Sun, 23 Oct 2011 12:47:41 -0400, Ivy Foster wrote: > On Sun, 23 Oct 2011 16:53:29 +0200, Gregor Zattler > wrote: > > is it possible to limit searches to date received ranges > > instead of date (sent) ranges? > > If your mail is delivered by procmail, I know you can insert > arbitra

[PATCH 2c/2] emacs: test notmuch show with fourfold message indentation

2011-10-23 Thread Gregor Zattler
>From b5d459eb961ff218042e7bd134346ce2c2357dca Mon Sep 17 00:00:00 2001 From: Gregor Zattler Date: Sun, 23 Oct 2011 21:28:09 +0200 Subject: [PATCH] emacs: test notmuch show with fourfold message indentation Previous behaviour was to indent messages in a thread according to depth by one space per

[PATCH 2b/2] emacs: test: notmuch show without indentation

2011-10-23 Thread Gregor Zattler
>From f4b52f67f08880fca41932fe70db72cdf2729ad2 Mon Sep 17 00:00:00 2001 From: Gregor Zattler Date: Sun, 23 Oct 2011 21:21:47 +0200 Subject: [PATCH] emacs: test: notmuch show without indentation Previous behaviour was to indent messages in a thread according to depth by one space per level. In id

[PATCH 2a/2] emacs: test notmuch-indent-messages-width default

2011-10-23 Thread Gregor Zattler
>From e9cbb995c2d51cb3de3baa485e9a6861f6c36b0a Mon Sep 17 00:00:00 2001 From: Gregor Zattler Date: Sun, 23 Oct 2011 21:10:18 +0200 Subject: [PATCH] emacs: test notmuch-indent-messages-width default Previous behaviour was to indent messages in a thread according to depth by one space per level. T

sorry, this test does not work (was: Re: [PATCH 2/2] Emacs: test: notmuch-show for a message thread without the indentation)

2011-10-23 Thread Gregor Zattler
Hi David, notmuch developers, thanks to David (id:8762jfabih.fsf at zancas.localnet), I now know that the test in the parent message does not work. Sorry for the noise, I'll provide a functional test. * Gregor Zattler [23. Oct. 2011]: > In Emacs, notmuch indents messages according to their thre

[PATCH 2/2] Emacs: test: notmuch-show for a message thread without the indentation

2011-10-23 Thread Gregor Zattler
In Emacs, notmuch indents messages according to their thread depth. This leads to unused space and sometimes strange formatting of paragraphs with long lines. Therefore I would like to turn it off and have the message thread look more like a conversation, as on GMail for example. This commit con

[PATCH 1/2] emacs: add customisation for message indentation width

2011-10-23 Thread Gregor Zattler
Messages are shown indented according to their depth in message threads. Previously indentation width was hardcoded to `1' space. This patch adds a new variable `notmuch-indent-messages-width' which governs how many spaces are used per level of indentation. Defaults to `1' for compatibility with

[PATCH] xregcomp: don't consider every regex compilation failure an internal error.

2011-10-23 Thread David Bremner
From: David Bremner This pushes the error handling up one step, but makes the function more flexible. Running out of memory still triggers an internal error, in the spirit of other xutils functions. --- And here is the promised modification of xregcomp. One issue I thought about is that we now

[PATCH] emacs: make message indentation width customisable (was: Re: configure indentation width instead?)

2011-10-23 Thread Gregor Zattler
Hi Michal, Felix, notmuch developers, * Michal Sojka [16. Aug. 2011]: > On Tue, 19 Jul 2011, Gregor Zattler wrote: >> Felix introduces a boolean configuration variable in order to >> disable/enable indentation. Wouldn't it be more helpful and >> powerful to customise the indentation width with "

search for date received possible?

2011-10-23 Thread Ivy Foster
- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111023/c5ab7f96/attachment.pgp>

search for date received possible?

2011-10-23 Thread Gregor Zattler
Hi notmuch users, notmuch developers, is it possible to limit searches to date received ranges instead of date (sent) ranges? Rationale: - In order to read current emails I want to search for messages received (for instance) within the last hour. [Is there another way to read last incoming em

Updated v3 patches for notmuch restore --accumulate.

2011-10-23 Thread David Bremner
t was scrubbed... Name: not available Type: application/pgp-signature Size: 315 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111023/4fb30685/attachment.pgp>

Emacs/bug? additional email headers not shown

2011-10-23 Thread Gregor Zattler
Hi notmuch users and developers, i'd like to see the Message-Id in thread view. Therefore I customised notmuch-message-headers via the customisation interface like so: (notmuch-message-headers (quote ("Received" "Message-Id" "Subject" "To" "Cc" "Date"))) but I still see the standard headers (S

[PATCH] Prefix lib/notmuch.h and lib/gen-version-script.sh with $(srcdir)

2011-10-23 Thread Amadeusz Żołnowski
lib/notmuch.h and lib/gen-version-script.sh couldn't have been found when building out of sources directory. --- lib/Makefile.local | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/Makefile.local b/lib/Makefile.local index ea20b2b..be51eaa 100644 --- a/lib/M

Re: search for date received possible?

2011-10-23 Thread Ivy Foster
On Sun, 23 Oct 2011 23:42:54 +0200, Gregor Zattler wrote: > On Sun, 23 Oct 2011 12:47:41 -0400, Ivy Foster > wrote: > > On Sun, 23 Oct 2011 16:53:29 +0200, Gregor Zattler > > wrote: > > > is it possible to limit searches to date received > > > ranges instead of date (sent) ranges? > > If your

[PATCH] xregcomp: don't consider every regex compilation failure an internal error.

2011-10-23 Thread David Bremner
From: David Bremner This pushes the error handling up one step, but makes the function more flexible. Running out of memory still triggers an internal error, in the spirit of other xutils functions. --- And here is the promised modification of xregcomp. One issue I thought about is that we now

Re: search for date received possible?

2011-10-23 Thread Gregor Zattler
Hi Ivy, On Sun, 23 Oct 2011 12:47:41 -0400, Ivy Foster wrote: > On Sun, 23 Oct 2011 16:53:29 +0200, Gregor Zattler wrote: > > is it possible to limit searches to date received ranges > > instead of date (sent) ranges? > > If your mail is delivered by procmail, I know you can insert > arbitrary h

[PATCH] emacs: make message indentation width customisable (was: Re: configure indentation width instead?)

2011-10-23 Thread David Bremner
On Sun, 23 Oct 2011 18:43:24 +0200, Gregor Zattler wrote: > > I also altered Felix test to use this new variable. I don't know > how to run the test suite and therefore don't know if it really > tests zero indentation. > Perhaps I misunderstand you, but running test suite is documented in test

notmuchmail and rmail

2011-10-23 Thread David Bremner
On Sun, 23 Oct 2011 05:57:41 -0400, Richard Stallman wrote: > Why not make notmuchmail handle multiple messages per file? > > I have around 8000 files, and most of them contain hundreds of > messages. I'd hate to split them out into one message per file. I don't think anyone would be opposed to

Re: Updated v3 patches for notmuch restore --accumulate.

2011-10-23 Thread David Bremner
On Fri, 21 Oct 2011 16:47:51 -0300, David Bremner wrote: > These are rebased quite violently from what Thomas posted. They are > also the first use of getopt (because I plan to add another option to > restore). They depend on > id:"1319199557-16888-1-git-send-email-da...@tethera.net". I pushed

search for date received possible?

2011-10-23 Thread Ivy Foster
rubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111023/ea8714b3/attachment.pgp>

[PATCH 2c/2] emacs: test notmuch show with fourfold message indentation

2011-10-23 Thread Gregor Zattler
>From b5d459eb961ff218042e7bd134346ce2c2357dca Mon Sep 17 00:00:00 2001 From: Gregor Zattler Date: Sun, 23 Oct 2011 21:28:09 +0200 Subject: [PATCH] emacs: test notmuch show with fourfold message indentation Previous behaviour was to indent messages in a thread according to depth by one space per

[PATCH 2b/2] emacs: test: notmuch show without indentation

2011-10-23 Thread Gregor Zattler
>From f4b52f67f08880fca41932fe70db72cdf2729ad2 Mon Sep 17 00:00:00 2001 From: Gregor Zattler Date: Sun, 23 Oct 2011 21:21:47 +0200 Subject: [PATCH] emacs: test: notmuch show without indentation Previous behaviour was to indent messages in a thread according to depth by one space per level. In id

[PATCH 2a/2] emacs: test notmuch-indent-messages-width default

2011-10-23 Thread Gregor Zattler
>From e9cbb995c2d51cb3de3baa485e9a6861f6c36b0a Mon Sep 17 00:00:00 2001 From: Gregor Zattler Date: Sun, 23 Oct 2011 21:10:18 +0200 Subject: [PATCH] emacs: test notmuch-indent-messages-width default Previous behaviour was to indent messages in a thread according to depth by one space per level. T

[PATCH] xutil.c: remove duplicate copies, create new library libutil.a to contain xutil.

2011-10-23 Thread David Bremner
From: David Bremner We keep the lib/xutil.c version. As a consequence, also factor out _internal_error and associated macros. It might be overkill to make a new file error_util.c for this, but _internal_error does not really belong in database.cc. --- This turned out to be more disruptive than

sorry, this test does not work (was: Re: [PATCH 2/2] Emacs: test: notmuch-show for a message thread without the indentation)

2011-10-23 Thread Gregor Zattler
Hi David, notmuch developers, thanks to David (id:8762jfabih.fsf@zancas.localnet), I now know that the test in the parent message does not work. Sorry for the noise, I'll provide a functional test. * Gregor Zattler [23. Oct. 2011]: > In Emacs, notmuch indents messages according to their thread

[PATCH 2/2] Emacs: test: notmuch-show for a message thread without the indentation

2011-10-23 Thread Gregor Zattler
In Emacs, notmuch indents messages according to their thread depth. This leads to unused space and sometimes strange formatting of paragraphs with long lines. Therefore I would like to turn it off and have the message thread look more like a conversation, as on GMail for example. This commit con

Re: [PATCH] emacs: make message indentation width customisable (was: Re: configure indentation width instead?)

2011-10-23 Thread David Bremner
On Sun, 23 Oct 2011 18:43:24 +0200, Gregor Zattler wrote: > > I also altered Felix test to use this new variable. I don't know > how to run the test suite and therefore don't know if it really > tests zero indentation. > Perhaps I misunderstand you, but running test suite is documented in test

[PATCH 1/2] emacs: add customisation for message indentation width

2011-10-23 Thread Gregor Zattler
Messages are shown indented according to their depth in message threads. Previously indentation width was hardcoded to `1' space. This patch adds a new variable `notmuch-indent-messages-width' which governs how many spaces are used per level of indentation. Defaults to `1' for compatibility with

Re: search for date received possible?

2011-10-23 Thread Ivy Foster
On Sun, 23 Oct 2011 16:53:29 +0200, Gregor Zattler wrote: > Hi notmuch users, notmuch developers, Howdy, > is it possible to limit searches to date received ranges > instead of date (sent) ranges? If your mail is delivered by procmail, I know you can insert arbitrary headers as part of the mail

Re: notmuchmail and rmail

2011-10-23 Thread David Bremner
On Sun, 23 Oct 2011 05:57:41 -0400, Richard Stallman wrote: > Why not make notmuchmail handle multiple messages per file? > > I have around 8000 files, and most of them contain hundreds of > messages. I'd hate to split them out into one message per file. I don't think anyone would be opposed to

[PATCH] emacs: make message indentation width customisable (was: Re: configure indentation width instead?)

2011-10-23 Thread Gregor Zattler
Hi Michal, Felix, notmuch developers, * Michal Sojka [16. Aug. 2011]: > On Tue, 19 Jul 2011, Gregor Zattler wrote: >> Felix introduces a boolean configuration variable in order to >> disable/enable indentation. Wouldn't it be more helpful and >> powerful to customise the indentation width with "

[PATCH] xutil.c: remove duplicate copies, create new library libutil.a to contain xutil.

2011-10-23 Thread David Bremner
From: David Bremner We keep the lib/xutil.c version. As a consequence, also factor out _internal_error and associated macros. It might be overkill to make a new file error_util.c for this, but _internal_error does not really belong in database.cc. --- This turned out to be more disruptive than

search for date received possible?

2011-10-23 Thread Gregor Zattler
Hi notmuch users, notmuch developers, is it possible to limit searches to date received ranges instead of date (sent) ranges? Rationale: - In order to read current emails I want to search for messages received (for instance) within the last hour. [Is there another way to read last incoming em

Emacs/bug? additional email headers not shown

2011-10-23 Thread Gregor Zattler
Hi notmuch users and developers, i'd like to see the Message-Id in thread view. Therefore I customised notmuch-message-headers via the customisation interface like so: (notmuch-message-headers (quote ("Received" "Message-Id" "Subject" "To" "Cc" "Date"))) but I still see the standard headers (S

notmuchmail and rmail

2011-10-23 Thread Richard Stallman
Why not make notmuchmail handle multiple messages per file? I have around 8000 files, and most of them contain hundreds of messages. I'd hate to split them out into one message per file. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org w

Re: notmuchmail and rmail

2011-10-23 Thread Richard Stallman
Why not make notmuchmail handle multiple messages per file? I have around 8000 files, and most of them contain hundreds of messages. I'd hate to split them out into one message per file. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org w