Re: python-notmuch decoding error on a message

2011-11-25 Thread Patrick Totzke
Silly question: how do i get Antoine's msg stup into notmuch? i tried using pythons mailbox lib to add this string to one of my mailboxes, which works fine. but upon `notmuch new` I get something along the lines of skipped non-mail file $myfile.. back to the topic: I find it hichgly suprising

[PATCH] Build symbol-test with make a not manually in symbol-hiding.

2011-11-25 Thread Amadeusz Żołnowski
Fixed warnings in symbol-test.cc, btw. --- test/.gitignore |1 + test/Makefile.local |5 - test/basic |2 +- test/symbol-hiding |3 +-- test/symbol-test.cc |9 - 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/test/.gitignore

[PATCH] Build symbol-test with make instead of hardcoding in symbol-hiding.

2011-11-25 Thread Amadeusz Żołnowski
If symbol-test is built in symbol-hiding with hardcoded g++ invokation, it's not so easy to pass $(srcdir) which is required to find notmuch.h when srcdir and builddir are separate directories. Fixed warnings in symbol-test.cc, btw. --- test/.gitignore |1 + test/Makefile.local |5

[PATCH 1/2] Build symbol-test with make instead of hardcoding in symbol-hiding.

2011-11-25 Thread Amadeusz Żołnowski
If symbol-test is built in symbol-hiding with hardcoded g++ invokation, it's not so easy to pass $(srcdir) which is required to find notmuch.h when srcdir and builddir are separate directories. --- test/.gitignore |1 + test/Makefile.local |5 - test/basic |2 +-

Re: python-notmuch decoding error on a message

2011-11-25 Thread David Bremner
On Fri, 25 Nov 2011 09:04:06 +, Patrick Totzke patricktot...@googlemail.com wrote: Silly question: how do i get Antoine's msg stup into notmuch? i tried using pythons mailbox lib to add this string to one of my mailboxes, which works fine. but upon `notmuch new` I get something along the

Re: [PATCH 1/2] Build symbol-test with make instead of hardcoding in symbol-hiding.

2011-11-25 Thread David Bremner
On Fri, 25 Nov 2011 11:54:51 +0100, Amadeusz Żołnowski aide...@aidecoe.name wrote: +$(dir)/symbol-test: $(dir)/symbol-test.o + $(call quiet,CC) $^ -o $@ -Llib -lnotmuch -lxapian I'm a bit surprised no -I is neaded here. Is that taken care in the CC call? .PHONY: test check -test:

Re: [PATCH 2/2] Fixed warnings for test/symbol-test.cc.

2011-11-25 Thread David Bremner
On Fri, 25 Nov 2011 11:54:52 +0100, Amadeusz Żołnowski aide...@aidecoe.name wrote: --- + //notmuch_database_t *notmuch = + notmuch_database_open (fakedb, NOTMUCH_DATABASE_MODE_READ_ONLY); Leaving commented out code in is for people without version control ;). Shouldn't this cast to void?

Re: [PATCH 1/2] Build symbol-test with make instead of hardcoding in symbol-hiding.

2011-11-25 Thread Amadeusz Żołnowski
Excerpts from David Bremner's message of 2011-11-25 14:04:44 +0100: On Fri, 25 Nov 2011 11:54:51 +0100, Amadeusz Żołnowski aide...@aidecoe.name wrote: +$(dir)/symbol-test: $(dir)/symbol-test.o +$(call quiet,CC) $^ -o $@ -Llib -lnotmuch -lxapian I'm a bit surprised no -I is neaded

[PATCH 2/3] Fix warnings for test/symbol-test.cc.

2011-11-25 Thread Amadeusz Żołnowski
--- test/symbol-test.cc |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/symbol-test.cc b/test/symbol-test.cc index 1de06ea..ec250b2 100644 --- a/test/symbol-test.cc +++ b/test/symbol-test.cc @@ -1,10 +1,9 @@ #include stdio.h #include xapian.h #include

[PATCH 3/3] Whitespaces cleanup.

2011-11-25 Thread Amadeusz Żołnowski
--- test/symbol-test.cc | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/test/symbol-test.cc b/test/symbol-test.cc index ec250b2..1548ca4 100644 --- a/test/symbol-test.cc +++ b/test/symbol-test.cc @@ -1,16 +1,17 @@ #include stdio.h #include xapian.h #include

[PATCH] test: add simple tests for online help

2011-11-25 Thread David Bremner
From: David Bremner brem...@debian.org Nothing fancy, but we can at least detect segmentation faults. --- I think Jani was just making fun of me when he suggested tests for notmuch --help, but I thought, why not. test/help-test| 12 test/notmuch-test |1 + 2 files

Re: compile error of current git on F15

2011-11-25 Thread David Bremner
On Thu, 24 Nov 2011 21:45:20 +, Darren McGuicken mailing-notm...@fernseed.info wrote: Hi guys, I assume this is old news, although I haven't seen anything else mentioned on list since the chain Dirk started - there's a koji build of 0.9 for rawhide, the source rpm of which contains a gmime

[PATCH 1/2] emacs: remove some code duplication in notmuch-show

2011-11-25 Thread Dmitry Kurochkin
Add optional props argument to `notmuch-show-get-header'. Use it to get headers in `notmuch-show-insert-part-multipart/signed' and `notmuch-show-insert-part-multipart/encrypted'. --- emacs/notmuch-show.el | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git

[PATCH 2/2] emacs: remove unused variable in `notmuch-show-insert-part-message/rfc822'

2011-11-25 Thread Dmitry Kurochkin
An obvious cleanup. I wonder why there was no warning about this during compilation. --- emacs/notmuch-show.el |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index bcc436f..66c08cc 100644 --- a/emacs/notmuch-show.el +++

[PATCH 1/3] test: add functions to count how much times notmuch was called

2011-11-25 Thread Dmitry Kurochkin
The patch adds two auxiliary functions and a variable: notmuch_counter_reset $notmuch_counter notmuch_counter They allow to count how many times notmuch binary is called. notmuch_counter_reset() function generates a script that counts how many times it is called and resets the counter to

[PATCH 3/3] emacs: do not call notmuch show for non-inlinable parts

2011-11-25 Thread Dmitry Kurochkin
Before the change, there was a workaround to avoid notmuch show calls for parts with application/* Content-Type. But non-inlinable parts are not limited to this Content-Type (e.g. mp3 files have audio/mpeg Content-Type and are not inlinable). For such parts `notmuch-show-insert-part-*/*' handler

Re: [PATCH] test: fix sed error in basic tests

2011-11-25 Thread Dmitry Kurochkin
Ping. Perhaps this is trivial enought to be pushed? Regards, Dmitry ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

[PATCH 2/2] test: cleanup basic tests

2011-11-25 Thread Dmitry Kurochkin
Basic test 'Ensure that all available tests will be run by notmuch-test' compares all tests that are run with listing of test/ directory. There is a growing list of exceptions for files and directories which located in the test/ directory but are not tests. Moreover some (probably buggy) tests do

python-notmuch decoding error on a message

2011-11-25 Thread David Bremner
On Fri, 25 Nov 2011 09:04:06 +, Patrick Totzke wrote: > Silly question: how do i get Antoine's msg stup into notmuch? i tried > using pythons mailbox lib to add this string to one of my mailboxes, > which works fine. but upon `notmuch new` I get something along the > lines of "skipped

[PATCH 1/2] Build symbol-test with make instead of hardcoding in symbol-hiding.

2011-11-25 Thread David Bremner
On Fri, 25 Nov 2011 11:54:51 +0100, Amadeusz ?o?nowski wrote: > > +$(dir)/symbol-test: $(dir)/symbol-test.o > + $(call quiet,CC) $^ -o $@ -Llib -lnotmuch -lxapian I'm a bit surprised no -I is neaded here. Is that taken care in the CC call? > .PHONY: test check > -test:all

[PATCH 2/2] Fixed warnings for test/symbol-test.cc.

2011-11-25 Thread David Bremner
On Fri, 25 Nov 2011 11:54:52 +0100, Amadeusz ?o?nowski wrote: > --- > + //notmuch_database_t *notmuch = > + notmuch_database_open ("fakedb", NOTMUCH_DATABASE_MODE_READ_ONLY); Leaving commented out code in is for people without version control ;). Shouldn't this cast to void? > >try{ >

[PATCH 1/2] Build symbol-test with make instead of hardcoding in symbol-hiding.

2011-11-25 Thread Amadeusz Żołnowski
patch. Purpose of this one is to make building out of tree working. -- Amadeusz ?o?nowski -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/2025/b3af8dc4/attachment.pgp>

[PATCH 2/3] Fix warnings for test/symbol-test.cc.

2011-11-25 Thread Amadeusz Żołnowski
--- test/symbol-test.cc |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/symbol-test.cc b/test/symbol-test.cc index 1de06ea..ec250b2 100644 --- a/test/symbol-test.cc +++ b/test/symbol-test.cc @@ -1,10 +1,9 @@ #include #include #include -main (int argc, char

[PATCH 3/3] Whitespaces cleanup.

2011-11-25 Thread Amadeusz Żołnowski
--- test/symbol-test.cc | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/test/symbol-test.cc b/test/symbol-test.cc index ec250b2..1548ca4 100644 --- a/test/symbol-test.cc +++ b/test/symbol-test.cc @@ -1,16 +1,17 @@ #include #include #include -int main (){

[PATCH] test: add simple tests for online help

2011-11-25 Thread David Bremner
From: David Bremner Nothing fancy, but we can at least detect segmentation faults. --- I think Jani was just making fun of me when he suggested tests for notmuch --help, but I thought, why not. test/help-test| 12 test/notmuch-test |1 + 2 files

compile error of current git on F15

2011-11-25 Thread David Bremner
On Thu, 24 Nov 2011 21:45:20 +, Darren McGuicken wrote: > Hi guys, I assume this is old news, although I haven't seen anything > else mentioned on list since the chain Dirk started - there's a koji > build of 0.9 for rawhide, the source rpm of which contains a gmime 2.6 > patch. I recently

compile error of current git on F15

2011-11-25 Thread Darren McGuicken
t attachment was scrubbed... Name: notmuch-0.6.1-gmime.patch Type: text/x-patch Size: 9862 bytes Desc: Fedora GMime Patch URL: <http://notmuchmail.org/pipermail/notmuch/attachments/2025/6acb206f/attachment.bin> -- next part -- A non-text attachment was scrubbed... Name:

[PATCH 0/4] emacs: make message indentation width customisable (was: Re: [PATCH 2a/2] emacs: test notmuch-indent-messages-width default)

2011-11-25 Thread David Bremner
On Thu, 24 Nov 2011 23:03:20 +0100, Gregor Zattler wrote: > Dear David, notmuch developers, > > * David Bremner [24. Nov. 2011]: > > On Sun, 23 Oct 2011 21:38:43 +0200, Gregor Zattler > > wrote: > > The extra copy of the patch header messes up the log messages with the 3 > > test related

Incorrect parsing of email addresses (MIME with quotes)

2011-11-25 Thread Petter Reinholdtsen
[David Bremner] > Notmuch is accepting the input, it just isn't displaying it the way > you want. Well, I guess that is mostly a question of semantics and definitions. To me it isn't really accepting the input when I try to reply to an email with the problem in question and end up with On