[Patch v2 6/6] test: add broken roundtrip test

2012-08-13 Thread David Bremner
We demonstrate the current notmuch restore parser being confused by message-id's and tags containing non alpha numeric characters (particularly space and parentheses are problematic because they are not escaped by notmuch dump). We save the files as hex escaped on disk so that the output from the

[Patch v2 5/6] test: add generator for random "stub" messages

2012-08-13 Thread David Bremner
Initial use case is testing dump and restore, so we only have message-ids and tags. The message ID's are nothing like RFC compliant, but it doesn't seem any harder to roundtrip random UTF-8 strings than RFC-compliant ones. Tags are UTF-8, even though notmuch is in principle more generous than

[Patch v2 4/6] test: add database routines for testing.

2012-08-13 Thread David Bremner
Initially, provide a way to create "stub" messages in the notmuch database without corresponding files. This is essentially cut and paste from lib/database.cc. This is a seperate file since we don't want to export these symbols from libnotmuch or bloat the library with non-exported code. ---

[Patch v2 2/6] test/hex-xcode: new test binary

2012-08-13 Thread David Bremner
This program is used both as a test-bed/unit-tester for ../util/hex-escape.c, and also as a utility in future tests of dump and restore. --- test/.gitignore |1 + test/Makefile.local | 10 - test/basic |2 +- test/hex-xcode.c| 103

Random message corpus, v2

2012-08-13 Thread David Bremner
This obsoletes the series id:"1344190393-22497-1-git-send-email-david at tethera.net" [Patch v2 1/6] hex-escape: (en|de)code strings to/from restricted [Patch v2 2/6] test/hex-xcode: new test binary [Patch v2 3/6] test/hex-escaping: new test for hex escaping routines In order to avoid the

[announce] Bower 0.4

2012-08-13 Thread Peter Wang
On Sun, 12 Aug 2012 17:53:43 +0200, David Froger wrote: > > > 4. postponed message doesn't work for me. When I postpone a message, it > > > says > > > 'message postponed', but when pressing R from Index view, it says 'No > > > postponed > > > message'. Maybe I need to create a directory to

multipart/alternative bug

2012-08-13 Thread Dmitrijs Ledkovs
On 13 August 2012 16:50, hellekin wrote: > > Hello, > > as I mentioned on IRC a few days ago, there are some cases where: > > - a thread only displays the first message > - key bindings do not work at all (except q) > Does this in ~/.emacs help ? (defvar gnus-inhibit-images nil "*testing")

multipart/alternative bug

2012-08-13 Thread hellekin
Hello, as I mentioned on IRC a few days ago, there are some cases where: - a thread only displays the first message - key bindings do not work at all (except q) By trial and error, I could nail down the issue to multipart/alternative support. I had set notmuch to only show the text/plain

[PATCH] News for new 'previous' behavior

2012-08-13 Thread Austin Clements
--- NEWS |8 1 file changed, 8 insertions(+) diff --git a/NEWS b/NEWS index 9916c91..7c7b510 100644 --- a/NEWS +++ b/NEWS @@ -41,6 +41,14 @@ Experimental support for multi-line search result formats `notmuch-search-result-format` to make individual search results span multiple

[PATCH 2/2] test: emacs: run list-processes after accept-process-output in emacs 23.1

2012-08-13 Thread Austin Clements
Quoth Tomi Ollila on Aug 05 at 2:13 pm: > When running emacs tests using emacs 23.1.1 the tests block (until timeout) > when emacs function (notmuch-test-wait) is called. > > There is an emacs bug #2930 titled: > 23.0.92; `accept-process-output' and `sleep-for' do not run sentinel > > It seems

multipart/alternative bug

2012-08-13 Thread Jameson Graef Rollins
e Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120813/38099c59/attachment.pgp>

[announce] Bower 0.4

2012-08-13 Thread Peter Wang
On Sun, 12 Aug 2012 14:40:23 +0200, David Froger wrote: > > Hi, Hi David, > > Thanks Peter, nice to see this new release and these new functionnalies! > > I'm using bower every day, both at home and at work, and it's really usefull > for > me. > > By the way, I have some questions: > >

Re: [announce] Bower 0.4

2012-08-13 Thread Peter Wang
On Sun, 12 Aug 2012 17:53:43 +0200, David Froger david.fro...@gmail.com wrote: 4. postponed message doesn't work for me. When I postpone a message, it says 'message postponed', but when pressing R from Index view, it says 'No postponed message'. Maybe I need to create a directory

Re: [PATCH 2/2] test: emacs: run list-processes after accept-process-output in emacs 23.1

2012-08-13 Thread Austin Clements
Quoth Tomi Ollila on Aug 05 at 2:13 pm: When running emacs tests using emacs 23.1.1 the tests block (until timeout) when emacs function (notmuch-test-wait) is called. There is an emacs bug #2930 titled: 23.0.92; `accept-process-output' and `sleep-for' do not run sentinel It seems this is

[PATCH] News for new 'previous' behavior

2012-08-13 Thread Austin Clements
--- NEWS |8 1 file changed, 8 insertions(+) diff --git a/NEWS b/NEWS index 9916c91..7c7b510 100644 --- a/NEWS +++ b/NEWS @@ -41,6 +41,14 @@ Experimental support for multi-line search result formats `notmuch-search-result-format` to make individual search results span multiple

multipart/alternative bug

2012-08-13 Thread hellekin
Hello, as I mentioned on IRC a few days ago, there are some cases where: - a thread only displays the first message - key bindings do not work at all (except q) By trial and error, I could nail down the issue to multipart/alternative support. I had set notmuch to only show the text/plain

Re: multipart/alternative bug

2012-08-13 Thread Jameson Graef Rollins
On Mon, Aug 13 2012, hellekin helle...@cepheide.org wrote: as I mentioned on IRC a few days ago, there are some cases where: - a thread only displays the first message - key bindings do not work at all (except q) By trial and error, I could nail down the issue to multipart/alternative

Re: multipart/alternative bug

2012-08-13 Thread Dmitrijs Ledkovs
On 13 August 2012 16:50, hellekin helle...@cepheide.org wrote: Hello, as I mentioned on IRC a few days ago, there are some cases where: - a thread only displays the first message - key bindings do not work at all (except q) Does this in ~/.emacs help ? (defvar gnus-inhibit-images nil

Re: Alternative (raw) message store (i.e. instead of maildir)

2012-08-13 Thread Ciprian Dorin Craciun
On Sat, Aug 11, 2012 at 11:50 PM, Jameson Graef Rollins jroll...@finestructure.net wrote: On Sat, Aug 11 2012, Ciprian Dorin Craciun ciprian.crac...@gmail.com wrote: My problem with it is that it doesn't scale... And I don't mean this in a theoretical sense, I mean it in the concrete one: I

Re: Alternative (raw) message store (i.e. instead of maildir)

2012-08-13 Thread Stewart Smith
Vladimir Marek vladimir.ma...@oracle.com writes: Hi, I have objections against maildir too, but I tried to tackle it from different perspective. Store the maildir in zip file and use fuse-zip to manage it. It works sort of but it has two major disadvantages: huh... this is fairly

Re: [announce] Bower 0.4

2012-08-13 Thread David Froger
On Sun, 12 Aug 2012 21:33:39 +0100, Patrick Totzke patricktot...@gmail.com wrote: Quoting David Froger (2012-08-12 16:53:43) 3. Would it be possible to have the feature 'kill a thread' like Sup have? (see http://sup.rubyforge.org/README.txt). I haven't needed such a feature

Re: [announce] Bower 0.4

2012-08-13 Thread David Froger
This is the command to save drafts: notmuch-deliver Drafts --tag=draft \ --remove-tag=inbox --remove-tag=unread message_file Does it work if you run it manually? Just make a dummy message_file with Date:, From:, To:, Subject: headers and a body. The manual command works! So