[notmuch] [PATCH 1/2] * notmuch-config: fix small leak from 'g_key_file_to_data'

2009-12-01 Thread Dirk-Jan C. Binnema
Signed-off-by: Dirk-Jan C. Binnema --- notmuch-config.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/notmuch-config.c b/notmuch-config.c index fc65d6b..95430db 100644 --- a/notmuch-config.c +++ b/notmuch-config.c @@ -317,9 +317,11 @@ notmuch_config_save (notmuch_conf

[notmuch] [PATCH 2/2] * free the response data from 'prompt'

2009-12-01 Thread Dirk-Jan C. Binnema
Free the results of the prompt; this patch does the minimal job for that. It may be nice to refactor the function a bit. Signed-off-by: Dirk-Jan C. Binnema --- notmuch-setup.c | 15 +-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/notmuch-setup.c b/notmuch-setup

[notmuch] [PATCH 3/3] notmuch.el: Support for customizing search result display

2009-12-01 Thread aneesh.ku...@gmail.com
From: Aneesh Kumar K.V This patch helps in customizing search result display similar to mutt's index_format. The customization is done by defining an alist as below (setq notmuch-search-result-format '(("date" . "%s ") ("authors" . "%-40s ")

[notmuch] [PATCH 2/3] notmuch.el: Fix the message summary button to be active even on first column

2009-12-01 Thread aneesh.ku...@gmail.com
From: Aneesh Kumar K.V This make we have button activated even on the first column of the message summary line. Remove the inverse video overlay on the message summary line. Signed-off-by: Aneesh Kumar K.V --- notmuch.el | 15 +++ 1 files changed, 7 insertions(+), 8 deletions(-)

[notmuch] [PATCH 1/3] Use default face for the button types so that the underlines go away

2009-12-01 Thread aneesh.ku...@gmail.com
From: Alexander Botero-Lowry Since we know what these buttons do it seems like the underlines are unnecessary. This also backs out the attempt at fixing the button alignment on the message row, which is broken because of some interaction with indent-rigidly in some threads --- notmuch.el | 27

[notmuch] [PATCH 2/2] * avoid gcc 4.4.1 compiler warning due to ignored 'fflush' return value

2009-12-01 Thread Dirk-Jan C. Binnema
xt part -- A non-text attachment was scrubbed... Name: 0001-notmuch-config-fix-small-leak-from-g_key_file_to_dat.patch Type: application/octet-stream Size: 491 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091201/6a42087a/attachment.obj>

Re: [notmuch] [PATCH 2/2] * avoid gcc 4.4.1 compiler warning due to ignored 'fflush' return value

2009-12-01 Thread Carl Worth
On Tue, 01 Dec 2009 20:50:03 +0200, Dirk-Jan C. Binnema wrote: > Sure, that's the better solution, but note that my patch did not introduce the > undefined behavior -- it was there before. I was trying a minimal patch to > silencing the warning. Yes, the leak was my bug. And the warning was use

[notmuch] [PATCH 2/2] * avoid gcc 4.4.1 compiler warning due to ignored 'fflush' return value

2009-12-01 Thread Carl Worth
plication/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091201/f1627db3/attachment.pgp>

Re: [notmuch] [PATCH] Make search filters handle disjunctive queries.

2009-12-01 Thread Carl Worth
On Mon, 23 Nov 2009 19:07:23 +0100, Jed Brown wrote: > notmuch-search-filter accepts now accepts an arbitrary query and will > group if necessary so that we get > > tag:inbox AND (gravy OR biscuits) > > notmuch-search-filter-tag now handles multiple terms. All terms in the > query except AND

[notmuch] [PATCH] Make search filters handle disjunctive queries.

2009-12-01 Thread Carl Worth
signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091201/40f9f12f/attachment.pgp>

[notmuch] Problem building notmuch

2009-12-01 Thread Jed Brown
On Tue, 1 Dec 2009 10:33:05 +0100, Steen Manniche wrote: > Probably unusable system info: > % uname -a > Linux algorithm 2.6.31-ARCH #1 SMP PREEMPT Fri Oct 23 11:12:58 CEST > 2009 i686 Intel(R) Core(TM)2 Duo CPU P9500 @ 2.53GHz GenuineIntel > GNU/Linux This is pretty much my fault because I made

[notmuch] [PATCH 2/3] notmuch.el: Add collapse all and expand all to notmuch-show

2009-12-01 Thread Kan-Ru Chen
These two functions behave like gmail's collapse all and expand all commands. notmuch-show-collapse-all is bound to 'B' but notmuch-show-expand-all has no keybindig because I thought it is not often used. Signed-off-by: Kan-Ru Chen --- notmuch.el | 25 + 1 files changed

[notmuch] [PATCH 3/3] notmuch.el: Use emacs built-in forward-button and backward-button

2009-12-01 Thread Kan-Ru Chen
There are built-ins, so why not use them? Signed-off-by: Kan-Ru Chen --- notmuch.el |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notmuch.el b/notmuch.el index 5b8513c..4d08c83 100644 --- a/notmuch.el +++ b/notmuch.el @@ -547,12 +547,12 @@ which this thread was orig

[notmuch] [PATCH 1/3] notmuch.el: Add keybinding to toggle display of message body and headers.

2009-12-01 Thread Kan-Ru Chen
I really missed this feature. Added notmuch-show-toggle-current-body and notmuch-show-toggle-current-header and bind them to 'b' and 'h'. Signed-off-by: Kan-Ru Chen --- notmuch.el | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/notmuch.el b/notmuch.

Re: [notmuch] [PATCH 2/2] * avoid gcc 4.4.1 compiler warning due to ignored 'fflush' return value

2009-12-01 Thread Dirk-Jan C . Binnema
Hi Carl, > "Carl" == Carl Worth writes: Carl> [1 ] Carl> On Mon, 23 Nov 2009 08:21:50 +0200, Dirk-Jan C. Binnema wrote: >> -#define prompt(format, ...) \ >> -do {\ >> -printf (forma

[notmuch] Problem building notmuch

2009-12-01 Thread Steen Manniche
Hi list, I've been trying to install notmuch but I ran into problems related to talloc and, seemingly with notmuch's understanding of the talloc.h file. ./configure affirms that all needed headers are installed: [...] Checking for Xapian development files... Yes. Checking for GMime 2.4 developme

Re: [notmuch] [patch] Trivial fix for non-root install

2009-12-01 Thread Carl Worth
On Mon, 23 Nov 2009 16:41:23 +0100, Ingmar Vanhassel wrote: > Excerpts from Brett Viren's message of Mon Nov 23 16:31:47 +0100 2009: > > Installing as a normal user fails because the bash completion config > > files try to install into /etc. This trivial patch fixes this. > > Your patch breaks t

[notmuch] [patch] Trivial fix for non-root install

2009-12-01 Thread Carl Worth
etion.bash \ + $(DESTDIR)$(bash_completion_dir)/notmuch + SRCS := $(SRCS) $(notmuch_client_srcs) CLEAN := $(CLEAN) notmuch $(notmuch_client_modules) notmuch.elc notmuch.1.gz diff --git a/configure b/configure index 64816e0..140711f 100755 --- a/configure +++ b/configure @@ -133,6 +1

[notmuch] [PATCH] notmuch.el: Add face support to message summary and subject lines.

2009-12-01 Thread Kan-Ru Chen
On Mon, 30 Nov 2009 22:10:59 +0530, "Aneesh Kumar K. V" wrote: > The subject line is already have a font face value attached. > message-header-name to show the name of the header and > message-header-subject to show the subject details. > Two faces will be merged automatically, and the button fa

[notmuch] [PATCH] Fix typos in documentation strings

2009-12-01 Thread Fernando Carrijo
Let's keep the line wrapping out of the party! Signed-off-by: Fernando Carrijo --- notmuch.el |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notmuch.el b/notmuch.el index 65473ba..fe09d81 100644 --- a/notmuch.el +++ b/notmuch.el @@ -360,7 +360,7 @@ buffer." (not

Re: [notmuch] Problem building notmuch

2009-12-01 Thread Jed Brown
On Tue, 1 Dec 2009 10:33:05 +0100, Steen Manniche wrote: > Probably unusable system info: > % uname -a > Linux algorithm 2.6.31-ARCH #1 SMP PREEMPT Fri Oct 23 11:12:58 CEST > 2009 i686 Intel(R) Core(TM)2 Duo CPU P9500 @ 2.53GHz GenuineIntel > GNU/Linux This is pretty much my fault because I made

[notmuch] [PATCH] Fix typos in documentation strings

2009-12-01 Thread Fernando Carrijo
One more party, one more joiner, one more patch! :) Signed-off-by: Fernando Carrijo --- notmuch.el |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notmuch.el b/notmuch.el index 65473ba..fe09d81 100644 --- a/notmuch.el +++ b/notmuch.el @@ -360,7 +360,7 @@ buffer."

[notmuch] [PATCH 3/3] notmuch.el: Support for customizing search result display

2009-12-01 Thread aneesh . kumar
From: Aneesh Kumar K.V This patch helps in customizing search result display similar to mutt's index_format. The customization is done by defining an alist as below (setq notmuch-search-result-format '(("date" . "%s ") ("authors" . "%-40s ")

[notmuch] [PATCH 2/3] notmuch.el: Fix the message summary button to be active even on first column

2009-12-01 Thread aneesh . kumar
From: Aneesh Kumar K.V This make we have button activated even on the first column of the message summary line. Remove the inverse video overlay on the message summary line. Signed-off-by: Aneesh Kumar K.V --- notmuch.el | 15 +++ 1 files changed, 7 insertions(+), 8 deletions(-)

[notmuch] [PATCH 1/3] Use default face for the button types so that the underlines go away

2009-12-01 Thread aneesh . kumar
From: Alexander Botero-Lowry Since we know what these buttons do it seems like the underlines are unnecessary. This also backs out the attempt at fixing the button alignment on the message row, which is broken because of some interaction with indent-rigidly in some threads --- notmuch.el | 27

Re: [notmuch] [PATCH 2/2] * avoid gcc 4.4.1 compiler warning due to ignored 'fflush' return value

2009-12-01 Thread Carl Worth
On Mon, 23 Nov 2009 08:21:50 +0200, Dirk-Jan C. Binnema wrote: > -#define prompt(format, ...) \ > -do { \ > - printf (format, ##__VA_ARGS__); \ > - fflush (stdout);\ >

[notmuch] [PATCH 2/2] * avoid gcc 4.4.1 compiler warning due to ignored 'fflush' return value

2009-12-01 Thread Carl Worth
ULL, &is_new); -- 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/20091201/44ff3d86/attachment.pgp>

Re: [notmuch] [PATCH 1/2] * avoid gcc 4.4.1 compiler warnings due to ignored write return values

2009-12-01 Thread Carl Worth
On Mon, 23 Nov 2009 15:24:46 +0100, Jed Brown wrote: > >From the gcc man page: > >-Wunused-value >Warn whenever a statement computes a result that is explicitly >not used. To suppress this warning cast the unused expression >to void. This includes an ex

[notmuch] [PATCH 1/2] * avoid gcc 4.4.1 compiler warnings due to ignored write return values

2009-12-01 Thread Carl Worth
ill work with any gcc >= 4.1). So I've pushed the patch now, (with an updated commit message to reflect the above analysis). -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/20091201/40d12278/attachment-0001.pgp>

[notmuch] Problem building notmuch

2009-12-01 Thread Steen Manniche
Hi list, I've been trying to install notmuch but I ran into problems related to talloc and, seemingly with notmuch's understanding of the talloc.h file. ./configure affirms that all needed headers are installed: [...] Checking for Xapian development files... Yes. Checking for GMime 2.4 developme

Re: [notmuch] [PATCH] Fix typos in documentation strings

2009-12-01 Thread Fernando Carrijo
Let's keep the line wrapping out of the party! Signed-off-by: Fernando Carrijo --- notmuch.el |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notmuch.el b/notmuch.el index 65473ba..fe09d81 100644 --- a/notmuch.el +++ b/notmuch.el @@ -360,7 +360,7 @@ buffer." (not

[notmuch] [PATCH] Fix typos in documentation strings

2009-12-01 Thread Fernando Carrijo
One more party, one more joiner, one more patch! :) Signed-off-by: Fernando Carrijo --- notmuch.el |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notmuch.el b/notmuch.el index 65473ba..fe09d81 100644 --- a/notmuch.el +++ b/notmuch.el @@ -360,7 +360,7 @@ buffer."

[notmuch] Requires g++, and something else?

2009-12-01 Thread Adrian Perez de Castro
kages listed in the README file plus this one you shoule be able of building NotMuch successfully. Good luck, and best regards, -- Adrian Perez de Castro Igalia - Free Software Engineering -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: app

[notmuch] Requires g++, and something else?

2009-12-01 Thread Scot Becker
Friends, I'm a brand new joiner to notmuch ('course so is nearly everyone). I just tried compiling, and I see: 1. g++ is also a 'dependency' though ./configure didn't catch it. 2. I 'make' breaks with the following error: . CXX lib/thread.o ARlib/notmuch.a CXX notmuch /usr/bi