On Monday 18 of January 2010 16:12:28 Sebastian Spaeth wrote:
Dear list,
I really want to sync my maildir flags/folders with notmuch tags and as
I haven't seen a script to do that, I've written (the beginnings of?)
one.
It is probably pre-alpha but I am a fan of release early, release
This was originally present in Andreas Klöckner's patch.
---
lib/index.cc |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/index.cc b/lib/index.cc
index 7e2da08..eb97f91 100644
--- a/lib/index.cc
+++ b/lib/index.cc
@@ -116,6 +116,8 @@ skip_re_in_subject (const char
Stores the folder (directory name) of the message in the database as a
term with folder prefix.
This patch was originally sent by Andreas Klöckner. The differences
from the original patch are:
- Folder name is taken from strings generated during travesal. It no
longer uses glib nor it allocates
On Tuesday 02 February 2010 18:48:25 Arvid Picciani wrote:
On Tue, 2 Feb 2010 16:01:08 +0100, Michal Sojkasojk...@fel.cvut.cz
wrote:
Stores the folder (directory name) of the message in the database as a
term with folder prefix.
Hi,
I've just made several experiments. I tested both
On Tuesday 02 February 2010 22:31:38 micah anderson wrote:
On Tue, 02 Feb 2010 13:22:29 -0500, Jameson Rollins
jroll...@finestructure.net wrote:
I'm starting to think that maybe the folder: field is not the right way
to do this, though. What if a message moves?
The easiest way to answer
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
test/notmuch-test | 220 -
test/t0001-notmuch-new.sh | 220 +
2 files changed, 220 insertions(+), 220 deletions(-)
delete mode 100755 test/notmuch
On Saturday 06 of February 2010 22:45:32 Carl Worth wrote:
On Sat, 6 Feb 2010 11:40:18 +0100, Michal Sojka sojk...@fel.cvut.cz wrote:
It is straightforward to convert your current test script to Git's
framework. If you are interested I'll do it.
Yes, I'd be quite interested in seeing
On Thursday 04 of February 2010 21:50:18 Carl Worth wrote:
The test suite is still extremely rudimentary. Here are some things I'd
like to improve about it:
I converted the actual version of notmuch-test to git test framework.
The result is in the followup patches.
I'd like to know opinion of
-by: Michal Sojka sojk...@fel.cvut.cz
---
test/Makefile | 46 +++
test/README | 297 +
test/aggregate-results.sh | 34 ++
test/t-basic.sh | 368 +
test/test-lib.sh | 787
To not remove trash directory at the end:
./t0001-new.sh -d
To run all tests verbosely:
make make GIT_TEST_OPTS=-v
TODO: Convert GIT_* variables in test-lib.sh to NOTMUCH_*
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
test/notmuch-test| 542
This removes Git specific things from the test-lib.sh and adds helper
functions for notmuch taken from Carl's notmuch-test script. README is
also slightly modified to reflect the current state.
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
test/Makefile |1 +
test/README
On Wed, 10 Feb 2010 12:54:52 -0800, Carl Worth cwo...@cworth.org wrote:
PS. I know that attaching the output of git format-patch to a message
like this isn't the git way. (That is, you won't get the right result
by simply piping this message to git am.) But I really wish it
were. It seems I
Hi,
recently, I got a message (attached) which is diplayed incorrectly in
emacs GUI. Instead of the message I see direct output of notmuch show
(with ^L characters). I wonder whether it is a porblem of notmuch or it
is because the message does not comform to standards. What do you think?
Michal
On Thu, 11 Feb 2010 13:42:08 -0800, Carl Worth cwo...@cworth.org wrote:
Interesting. My only real concern at this point is that some of the new files
have a copyright header identifying Junio as the copyright holder, but
no license information. Meanwhile, the implicit license of git (GPLv2
On Thu, 11 Feb 2010 23:01:08 -0400, da...@tethera.net wrote:
From: David Bremner brem...@unb.ca
Provide key bindings for stuffing various RFC822 header fields and other
metadata
into the emacs kill-ring as text. The bindings are as follows:
z F notmuch-show-stash-filename
z T
On Tue, 09 Feb 2010 18:18:38 -0800, Carl Worth cwo...@cworth.org wrote:
On Tue, 9 Feb 2010 17:55:21 -0800, Alexander Botero-Lowry
alex.boterolo...@gmail.com wrote:
Now instead of requiring every single message be parsed, we now check
the Content-type in the parsed headers and only do HTML
Dear Junio,
I like the simple and powerful test suite used by Git and I would like
to use something like that in Notmuch project (http://notmuchmail.org/).
Notmuch is licenced under GPLv3 and we think that things will be simpler
if everything in the repository is licenced the same. You are
Hi Stewart,
On Mon, 15 Feb 2010 11:29:14 +1100, Stewart Smith stew...@flamingspork.com
wrote:
Which goes from a 15GB Maildir to a 3.7GB git repo.
That's quite interesting ratio. I've tried a plain git add and git gc on
my mail store and the result was a repo of approximately 50% of mail
store
On Tue, 16 Feb 2010 13:21:28 +1100, Stewart Smith stew...@flamingspork.com
wrote:
What about this patch (just with those few things fixed)?
diff --git a/notmuch-new.c b/notmuch-new.c
index f25c71f..8303047 100644
--- a/notmuch-new.c
+++ b/notmuch-new.c
@@ -39,6 +39,7 @@ typedef struct {
Dear Pierre, Johannes (2x) and Sverre,
as you can read bellow, I'd like to use git's test-lib.sh in a GPLv3
project. Do you mind if I use your work in that file under GPLv3?
Thanks
Michal
On Mon, 15 Feb 2010 09:39:28 +0100, Michal Sojka sojk...@fel.cvut.cz wrote:
Dear Junio,
I like
On Fri, 19 Feb 2010 13:31:15 +1300, martin f krafft madd...@madduck.net wrote:
also sprach Ben Gamari bgam...@gmail.com [2010.02.18.1810 +1300]:
Instead of nested subtrees, think of 16 subtrees forming
a level-1 hash table, or 256 for level-2, which really *ought*
to be enough.
On Sat, 20 Feb 2010 16:05:35 -0500, Jameson Rollins
jroll...@finestructure.net wrote:
I'm not at all trying to be pushy; there's just some older stuff in the
queue that I would really like to see applied, such as folder-based
tagging
Hi,
as for the folder-based tagging patch sent by myself,
On Wed, 24 Feb 2010 10:19:06 -0800, Carl Worth cwo...@cworth.org wrote:
Elsewhere in the thread Jameson Rollins wrote:
I should have mentioned in my previous mail that I think this tool is
a great idea, and I plan on using it. I just hope that all of it's
functionality will be integrated
On Thu, 25 Feb 2010 01:00:04 +0100 (CET), ra...@free.fr wrote:
Hi Carl,
Could you also write a commit message describing what the patch does?
The easiest way for me to apply that would be if you would create a git
commit, then run git format-patch origin/master and mail the resulting
On Fri, 26 Feb 2010 12:00:06 -0800, Carl Worth cwo...@cworth.org wrote:
[This mail started as some off-topic rambling in my reply to the
notmuch-reply script. So that's why it starts on one topic and ends
somewhere else entirely.]
I'm currently avoiding any locking failures with notmuch
On Fri, 26 Feb 2010 12:08:49 -0800, Carl Worth cwo...@cworth.org wrote:
What's your favorite thing about notmuch?
I can process my inbox in a linear fassion (by pressing space). During
that, I'm not distracted by various GUI elements, which remind me how
many other emails I have to read. I
On Mon, 01 Mar 2010 11:27:07 -0500, Ben Gamari bgam...@gmail.com wrote:
2. get the list of new mails which need to be indexed
(current notmuch does recursive file traversal, for git-based store
it will be something like system(git diff-tree --name-status ...)
Is this really
This is probably a very stupid implementation. I do not know elisp
well, so I appreciate advises on how to avoid code duplication.
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
notmuch.el | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/notmuch.el
On Mon, 01 Mar 2010 13:43:24 -0500, Ben Gamari bgam...@gmail.com wrote:
Excerpts from Michal Sojka's message of Mon Mar 01 12:18:55 -0500 2010:
How do you propose that the backends keep track of what mail has been
indexed?
For example by using Xapian metadata:
On Tue, 2 Mar 2010 13:37:42 +0100, Sebastian Spaeth sebast...@sspaeth.de
wrote:
Previously, we would output:
'On Thu, 25 Feb 2010 14:32:54 +0100, Sebastian Spaeth sebast...@sspaeth.de
wrote:' now it is:
'On 2010-02-25, Sebastian Spaeth wrote:'
In case we don't find a '' (as indicator for
patch applied, I got: On 2010-03-02, Michal Sojka wrote:. So I fixed
that in your patch and added removal of around name.
From 0555ba560fdaad3780c186b01b102670451585fb Mon Sep 17 00:00:00 2001
From: Sebastian Spaeth sebast...@sspaeth.de
Date: Tue, 2 Mar 2010 13:37:42 +0100
Subject: [PATCH] notmuch
On Fri, 05 Mar 2010, Xavier Maillard wrote:
Hi,
I am using Debian GNU/linux SID and notmuch and I'd like to be
bleading edge with notmuch. So I am trying to figure out whether
someone is maintaining a Debian package against notmuch git
repository or not. If the former, that's nice.
Hi,
I
On Sun, 07 Mar 2010, Xavier Maillard wrote:
There are probably things to tweak but there is also something
not working for me. Apparentely, you have a special file named
'version' in which you store a version string and its sha1 as
taken from the rev HEAD. I do not have one and thus, I can't
On Tue, 16 Mar 2010, Sandra Snan wrote:
Emacs has an interface called compose-mail which uses whatever mailing
mode that you’ve selected in mail-user-agent so if you like the
message mode that’s been hard-coded into notmuch.el, (setq
mail-user-agent 'message-user-agent) and this will use that.
On Wed, 17 Mar 2010, Ben Gamari wrote:
While trying perfect my initial tagging script, I have run into a very strange
set of issue. In my script, I use the following to exclude mailing list
traffic
from my inbox,
notmuch tag -new tag:new and tag:list notmuch tag -new +inbox tag:new
Hi all,
I've finally found some time to implement the mailstore abstraction
was initially described in id:87ljecmnbd@steelpick.localdomain and
id:87eijqlz54@steelpick.localdomain.
The idea is to allow notmuch operate on different types of mail
storage (e.g. mail in git repositories) and
of this option is the plain-file mailstore currently
implemented in notmuch.
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
lib/Makefile.local |2 +
lib/database-private.h |1 +
lib/database.cc | 15 ++--
lib/mailstore-files.c | 43
lib/mailstore
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
test/t0006-maildir.sh | 113 +
test/test-lib.sh |7 ++-
2 files changed, 118 insertions(+), 2 deletions(-)
create mode 100755 test/t0006-maildir.sh
diff --git a/test/t0006-maildir.sh b
library.
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
lib/mailstore-files.c | 590 +++
notmuch-new.c | 611 ++---
2 files changed, 615 insertions(+), 586 deletions(-)
diff --git a/lib
On Thu, 18 Mar 2010, Emil Sit wrote:
Instead of blanket applying tag:inbox and tag:unread to
all messages, when parsing a Maildir file, attempt to
parse the flags encoded in the filename to determine whether
to mark something as unread (and inbox). Also, parse user
flagged messages and trash
On Tue, 23 Mar 2010, Ruben Pollan wrote:
On 16:39, Thu 18 Mar 10, Michal Sojka wrote:
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
test/t0006-maildir.sh | 113
+
test/test-lib.sh |7 ++-
2 files changed, 118 insertions
When Ctrl-C is pressed in a wrong time during notmuch new, it can lead
to removal of messages from the database even if the files were not
removed.
It happened at least once to me.
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
notmuch-new.c |3 +++
1 files changed, 3 insertions(+), 0
.
This mailstore is enabled by putting the following to your
.notmuch-config:
[mailstore]
type=maildir
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
lib/database.cc |7 ++
lib/mailstore-files.c | 203 -
lib/mailstore.c |1 +
lib
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
test/t0006-maildir.sh | 205 +
test/test-lib.sh |7 +-
2 files changed, 210 insertions(+), 2 deletions(-)
create mode 100755 test/t0006-maildir.sh
diff --git a/test/t0006-maildir.sh b
of this option is the plain-file mailstore currently
implemented in notmuch.
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
lib/Makefile.local |2 +
lib/database-private.h |1 +
lib/database.cc | 15 ++--
lib/mailstore-files.c | 43 +
lib
with the mail store again.
This mailstore is enabled by putting the following to your
.notmuch-config:
[mailstore]
type=maildir
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
lib/database.cc |7 ++
lib/mailstore-files.c | 203 -
lib
This command dumps raw message identified by filename to standard
output. It uses mail store interface to get the message from the right
place.
notmuch.el was modified to use this command to access the raw message
content (view/save attachments and view raw message).
Signed-off-by: Michal Sojka
On Sat, 27 Mar 2010, Michal Sojka wrote:
On Fri, 26 Mar 2010, Michal Sojka wrote:
On Wed, 24 Mar 2010, Stewart Smith wrote:
On Thu, 18 Mar 2010 16:39:36 +0100, Michal Sojka sojk...@fel.cvut.cz
wrote:
- Only file-based storage is suported. Notmuch access the files
directly
On Sun, 28 Mar 2010, Sebastian Spaeth wrote:
On Sun, 28 Mar 2010 00:37:00 +0100, Sebastian Spaeth sebast...@sspaeth.de
wrote:
On Fri, 26 Mar 2010 22:18:13 +0100, Michal Sojka sojk...@fel.cvut.cz
wrote:
When Ctrl-C is pressed in a wrong time during notmuch new, it can lead
to removal
On Sun, 28 Mar 2010, Sebastian Spaeth wrote:
On Mon, 22 Mar 2010 14:47:39 +, David Edmondson d...@dme.org wrote:
I'm pushed the first stage of a JSON based emacs UI to the repository at
http://github.com/dme/notmuch (it's in the master branch).
Despite the switch to daylight savings
On Sun, 28 Mar 2010, Ben Gamari wrote:
On Fri, 12 Mar 2010 17:13:26 -0500, Ben Gamari bgamari.f...@gmail.com wrote:
Add a new_tags option in the [messages] section of the configuration
file to allow the user to specify which tags should be added to new
messages by notmuch new.
Would
On Mon, 29 Mar 2010, Bhaskara Marthi wrote:
Hi all, I'm trying to build notmuch on os x (master branch from today). I
got the ports for gmime and xapian, and installed talloc from source, with
some minor hitches (just getting talloc alone from samba failed on autoconf
due to lack of
On Mon, 29 Mar 2010, Sebastian Spaeth wrote:
On Sun, 28 Mar 2010 07:46:40 +0200, Michal Sojka sojk...@fel.cvut.cz wrote:
I don't think this can be solved only in Makefile. From my look at dme's
repo, he adds a new subcomand 'part', which is used by the UI. So if you
want to use the new UI
On Mon, 29 Mar 2010, spaetz wrote:
hehe, this version compiles but has the logic inverted. Removing the ! from
your patch makes it actually work as intended :--).
Right! I should definitely be more careful even for such a trivial
patches :) It's interesting, that in my branch, I have no
When Ctrl-C is pressed in a wrong time during notmuch new, it can lead
to removal of messages from the database even if the files were not
removed.
It happened at least once to me.
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
notmuch-new.c |3 +++
1 files changed, 3 insertions(+), 0
On Thu, 01 Apr 2010, Carl Worth wrote:
Finally, I'm a tiny bit annoyed that now after a fresh checkout of
notmuch and make that one can't easily run ./notmuch without either
installing the library (or fiddling with LD_LIBRARY_PATH). I've got some
ideas on how to simplify that, but I'm not sure
When I wanted to create a debian package from the current master, make
install failed because of non-existent include directory. This patch
fixes this minor issue.
---
lib/Makefile.local |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/Makefile.local
On Thu, 01 Apr 2010, Carl Worth wrote:
On Thu, 1 Apr 2010 13:24:22 +0200, martin f krafft madd...@madduck.net
wrote:
also sprach Michal Sojka sojk...@fel.cvut.cz [2010.04.01.1310 +0200]:
this can be solved by the following patch, but I don't know how portable
it is. You can see
On Wed, 07 Apr 2010, micah anderson wrote:
On 2010-03-27, micah anderson wrote:
On Thu, 25 Mar 2010 22:50:52 -0400, micah anderson mi...@riseup.net wrote:
On Mon, 01 Mar 2010 15:57:00 +0100, Sebastian Spaeth
sebast...@sspaeth.de wrote:
From git repository
On Wed, 07 Apr 2010, Carl Worth wrote:
For the upcoming 0.2 release, here are some things that I would like to
have in place:
* Anything else that people want, (especially things that already
exist and that you're already using). Support for maildir flags on
import would be great
of notmuch library, as can be seen by
git diff HEAD^ -C
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
lib/Makefile.local |1 +
notmuch-new.c = lib/mailstore-files.c | 406
lib/mailstore.c|5 -
notmuch-new.c
On Wed, 07 Apr 2010, Carl Worth wrote:
* Anything else that people want, (especially things that already
exist and that you're already using). Support for maildir flags on
import would be great here. I'm still waiting to see a complete
solution I think.
So keep the patches
On Wed, 07 Apr 2010, Dirk Hohndel wrote:
This is based in part on some discussion on IRC today.
When a thread is displayed in the search results, previously the authors
were always displayed in chronological order. But if only part of the
thread matches the query, that may or may not be the
On Fri, 09 Apr 2010, Sebastian Spaeth wrote:
On 2010-04-08, Michal Sojka wrote:
I think that the patch you sent was not the latest version. The latest
is in id:1265122868-12133-1-git-send-email-sojk...@fel.cvut.cz, but it
is not rebased to the current master.
Not sure what I am doing
On Fri, 09 Apr 2010, Dirk Hohndel wrote:
On Fri, 09 Apr 2010 08:07:27 +0200, Michal Sojka sojk...@fel.cvut.cz wrote:
On Wed, 07 Apr 2010, Dirk Hohndel wrote:
This is based in part on some discussion on IRC today.
When a thread is displayed in the search results, previously the authors
On Sat, 10 Apr 2010, Carl n∅tmuch 䚳 Worth wrote:
On Fri, 09 Apr 2010 09:35:07 +0200, Sebastian Spaeth
sebast...@sspaeth.de wrote:
On 2010-04-09, Michal Sojka wrote:
Perhaps Carl should get more Nørwég¡añ friends, :-).
Or Görmän or 中文
Are you all trying to show a problem here
On Sat, 10 Apr 2010, Jameson Rollins wrote:
On Sat, 10 Apr 2010 11:02:19 +0200, Michal Sojka sojk...@fel.cvut.cz wrote:
On Sat, 10 Apr 2010, Carl n∅tmuch 䚳 Worth wrote:
Are you all trying to show a problem here? All of the above comes
through fine. Perhaps it's only with non-ASCII
On Fri, 09 Apr 2010, Mark Anderson wrote:
On Fri, 9 Apr 2010 11:29:20 -0500, Carl Worth cwo...@cworth.org wrote:
Of course, it's the same set-theoretic operation I described earlier. I
want the set of threads having messages matching:
tag:notmuch and date-range
intersected with
On Mon, 12 Apr 2010, martin f krafft wrote:
also sprach Michal Sojka sojk...@fel.cvut.cz [2010.04.08.1713 +0200]:
I'm working on the solution - if the mailstore cannot open the
message with the name passed, it tries different names with
different maildir flags.
Wouldn't
On Mon, 12 Apr 2010, martin f krafft wrote:
also sprach Michal Sojka sojk...@fel.cvut.cz [2010.04.12.1347 +0200]:
Wouldn't it be better to postpone synchronisation of the tags
until after emacs is done with the message?
Theoretically, it would be possible, but if, for some reason
On Mon, 12 Apr 2010, Jameson Rollins wrote:
On Mon, 12 Apr 2010 10:00:37 +0200, Sebastian Spaeth sebast...@sspaeth.de
wrote:
On 2010-04-10, Anthony Towns wrote:
The attached patch makes notmuch new --new-tags=unread,new set the
unread and new tags on any new mail it finds rather than
On Mon, 12 Apr 2010, David Edmondson wrote:
commit e55dc251b9e8001fe16873fadac565563e606d69
Author: David Edmondson d...@dme.org
Date: Mon Apr 12 11:12:23 2010 +0100
emacs: Add notmuch-hello.el, a friendly frontend to notmuch
Hi dme,
thanks for the great patch. For next time, could
On Tue, 13 Apr 2010, Servilio Afre Puentes wrote:
The current hardcoded behaviour will not take you to the next unread
thread when the sort order is set to newer-first from the default of
older-first.
Is this really what we want? If I sort messages by newest first, it
menas that I want to
On Tue, 13 Apr 2010, Carl Worth wrote:
On Thu, 8 Apr 2010 16:42:43 +0200, Michal Sojka sojk...@fel.cvut.cz wrote:
The goal of mailstore abstraction is to allow notmuch to store tags
together with email messages. The abstract interface is needed because
people want to use different ways
But you might actually like that change since it's one you requested in
your first version of the modular test suite. I'm dropping the annoying
execute_expecting macro that both runs notmuch and tests the
output. There's now a much cleaner separation such as:
output=$($NOTMUCH search
notmuch-command variable to contain the name of a script
containing:
ssh u...@host notmuch $@
If the ssh client has enabled connection sharing (ControlMaster option
in OpenSSH), the emacs interface is almost as responsive as with local
invocation.
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
to operate with a remote database.
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
NEWS |3 +++
notmuch-client.h |3 +++
notmuch-show.c | 39 +++
notmuch.c|4
4 files changed, 49 insertions(+), 0 deletions(-)
diff --git
On 20.4.2010 09:21, David Edmondson wrote:
On Tue, 20 Apr 2010 09:16:32 +0200, Michal Sojkasojk...@fel.cvut.cz
wrote:
This command dumps a raw message identified by a filename to the
standard output. It allows MUAs to access the messages for piping,
attachment manipulation, etc. in the
On Tue, 20 Apr 2010, David Edmondson wrote:
On Tue, 20 Apr 2010 12:14:56 +0200, Michal Sojka sojk...@fel.cvut.cz wrote:
I'm puzzled why you chose to pass a filename as the argument to 'cat'
rather than a message id (id:f...@bar.com)?
The reason is that I want be able to distinguish
On Thu, 22 Apr 2010, Carl Worth wrote:
On Tue, 20 Apr 2010 12:14:56 +0200, Michal Sojka sojk...@fel.cvut.cz wrote:
On 20.4.2010 09:21, David Edmondson wrote:
I'm puzzled why you chose to pass a filename as the argument to 'cat'
rather than a message id (id:f...@bar.com)?
The reason
On Thu, 22 Apr 2010, Anthony Towns wrote:
On Thu, Apr 22, 2010 at 12:37, Dirk Hohndel hohn...@infradead.org wrote:
On Wed, 21 Apr 2010 17:44:03 -0700, Carl Worth cwo...@cworth.org wrote:
So I'd prefer to have this command behave just like all others and use
the same naming.
)
thread:XXX 2000-01-01 [1/1] Notmuch Test Suite; search by to (inbox
unread)
By setting a fixed time zone in the test script, these problems should
be eliminated.
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
test/notmuch-test |2 ++
1 files changed, 2 insertions(+), 0 deletions
On Fri, 23 Apr 2010, Sebastian Spaeth wrote:
Ohh, that is a good point. Maybe I should write some :-). Is the test
suite going to be changed any day now or does it still make sense to
write tests for the monolitic test suite?
I do not have a plan to modularize the test suite in a near future.
On Fri, 23 Apr 2010, Sebastian Spaeth wrote:
Can it be that in thread.cc in _thread_add_matched_message ()
...
subject = notmuch_message_get_header (message, subject);
if ((strncasecmp (subject, Re: , 4) == 0) ||
...
If the underlying message disappeared, get_header will return
Want to replay all the git test-suite commits other than any from the
person with the missing ack? That should get us pretty close to the
current state in git, would give us code we could use, and might even
make it possible for us to submit improvements directly to the upstream
git
---
test/notmuch-test |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/test/notmuch-test b/test/notmuch-test
index 7082344..dc413f7 100755
--- a/test/notmuch-test
+++ b/test/notmuch-test
@@ -1,6 +1,10 @@
#!/bin/bash
set -e
+# Messages contain time/date values with
Hi,
Git's test suite was finally reslicensed and we can use it for
notmuch. Here is the converted and modularized version of notmuch-test
script which uses git's test-lib.sh.
The conversion was done semi-automatically, so I hope I didn't
introduce to much errors in the tests.
Michal Sojka (5
This removes Git specific things from the test-lib.sh and adds helper
functions for notmuch taken from Carl's notmuch-test script. README is
also slightly modified to reflect the current state.
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
test/Makefile |1 +
test/README
.
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
test/Makefile | 48 +++
test/README | 297
test/aggregate-results.sh | 34 ++
test/t-basic.sh | 389 +
test/test-lib.sh | 832
Modify the helper functions to work with git-based test suite i.e.
1) Quote arguments where it is necessary.
2) Do not use $NOTMUCH. It doesn't exist and $PATH is set to the build
tree
3) Modify pass_if_equal to fit into the git-based test suite.
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
lib/database.cc |3 ++-
lib/notmuch.h |3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/database.cc b/lib/database.cc
index 6afc8d9..694b7ec 100644
--- a/lib/database.cc
+++ b/lib/database.cc
@@ -1613,7 +1613,8 @@ notmuch_database_add_message
patch needs git-based test suite patches sent yesterday.
Michal Sojka (4):
lib: Return added message even if it already was in the database
Maildir synchronization
Make maildir synchronization configurable
Tests for maildir synchronization
lib/database-private.h |2 +-
lib
This patch allows bi-directional synchronization between maildir
flags and certain tags. The flag-to-tag mapping is defined by flag2tag
array.
The synchronization works this way:
1) Whenever notmuch new is executed, the following happens:
o New messages are tagged with configured new_tags.
This adds group [maildir] and key 'sync_level' to the configuration file.
The value of sync_level is used to control how the synchronization happens.
The default value is no synchronization.
---
lib/database-private.h |2 +-
lib/database.cc|9 +
lib/message.cc |
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
test/t0011-maildir-sync.sh | 216
test/test-lib.sh | 11 ++-
2 files changed, 223 insertions(+), 4 deletions(-)
create mode 100755 test/t0011-maildir-sync.sh
diff --git a/test/t0011
On Fri, 04 Jun 2010, Carl Worth wrote:
Keith happens to use saved searches only for subsets of his inbox and in
that case, it makes a lot of sense to see the results of all of these
messages in an oldest-first order.
Hi,
I used saved searches mostly this way until a few days ago, when I wrote
for me (e.g. unread).
I'm not sure whether the patch applies to recent dme's notmuch-hello
updates. If not, I'll rebase it as soon as these patches appear in
master.
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
emacs/notmuch-hello.el | 39 +--
1 files
Modify the helper functions to work with git-based test suite i.e.
1) Quote arguments where it is necessary.
2) Do not use $NOTMUCH. It is equal to notmuch since $PATH is set to
the build tree.
3) Modify pass_if_equal to fit into the git-based test suite.
Signed-off-by: Michal Sojka sojk
was remvoved from the title in t0005-reply.sh
Michal Sojka (5):
Copy test framework from Git
Update test framework for use with notmuch
test: Update helper functions
Convert the actual tests to the new framework
test: Set all times to UTC
test/Makefile| 49 ++
test
This removes Git specific things from the test-lib.sh and adds helper
functions for notmuch taken from Carl's notmuch-test script. README is
also slightly modified to reflect the current state.
Signed-off-by: Michal Sojka sojk...@fel.cvut.cz
---
test/Makefile |1 +
test/README
1 - 100 of 894 matches
Mail list logo