[PATCH] ruby bindings message: docstring typo

2014-01-30 Thread Gaute Hope
--- bindings/ruby/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/ruby/message.c b/bindings/ruby/message.c index eed4b31..4ff6097 100644 --- a/bindings/ruby/message.c +++ b/bindings/ruby/message.c @@ -111,7 +111,7 @@ notmuch_rb_message_get_filename (VALUE

doc: notmuch_result_move_to_next - notmuch_tags_move_to_next

2014-02-09 Thread Gaute Hope
Greetings, another small typo in the docs. Patch attached. Cheers, Gaute 0001-doc-notmuch_results_move_to_next-notmuch_tags_move_t.patch Description: Binary data signature.asc Description: PGP signature ___ notmuch mailing list

notmuch used in the arctic

2014-02-20 Thread Gaute Hope
Hi notmuchers, though I'd share with you that I just used notmuch while processing a bunch of data from a drifting buoy set on the sea ice in the Arctic. email messages were sent using an Iridium satellite link with fairly structured texts with positions and status. I could quickly churn

[PATCH] Add configurable changed tag to messages that have been changed on disk

2014-04-06 Thread Gaute Hope
When one of the source files for a message is changed on disk, renamed, deleted or a new source file is added. A configurable changed tag is is added. The tag can be configured under the option 'changed_tags' in the [new] section, the default is none. Tests have been updated to accept the new

Re: [PATCH] Add configurable changed tag to messages that have been changed on disk

2014-04-10 Thread Gaute Hope
Excerpts from dm-list-email-notmuch's message of 2014-04-10 17:31:04 +0200: Gaute Hope e...@gaute.vetsj.com writes: A better approach would be to add a new modtime xapian value that is updated whenever the tags or any other terms (such as XFDIRENTRY) are added to or deleted from a docid

Re: [PATCH] Add configurable changed tag to messages that have been changed on disk

2014-04-23 Thread Gaute Hope
Excerpts from David Bremner's message of 2014-04-23 00:05:02 +0200: Gaute Hope e...@gaute.vetsj.com writes: I am talking about syncing tags to a maildir _folder_, not flags. It could be implemented as maildir.synchronize is now, but it would be a larger feature which could work in a lot

Re: [PATCH] Add configurable changed tag to messages that have been changed on disk

2014-04-23 Thread Gaute Hope
Excerpts from David Mazieres's message of 2014-04-23 11:00:10 +0200: Gaute Hope e...@gaute.vetsj.com writes: A db-tick or a _good_ ctime solution can as far as I can see solve both David M's (correct me if I am wrong) and my purposes, as well as probably have more use cases in the future

Re: github mirror

2014-04-28 Thread Gaute Hope
Excerpts from David Mazieres's message of 2014-04-28 07:29:06 +0200: Austin Clements amdra...@mit.edu writes: As for storing this information directly in messages, in general, the notmuch community is opposed to modifying messages. This causes many problems, and immutable messages are

Re: [PATCH] Add configurable changed tag to messages that have been changed on disk

2014-07-28 Thread Gaute Hope
On Thu, Jul 3, 2014 at 12:42 PM, David Bremner da...@tethera.net wrote: Gaute Hope e...@gaute.vetsj.com writes: When one of the source files for a message is changed on disk, renamed, deleted or a new source file is added. A configurable changed tag is is added. The tag can be configured

Re: [PATCH] Add configurable changed tag to messages that have been changed on disk

2014-08-06 Thread Gaute Hope
On Fri, Aug 1, 2014 at 8:55 PM, Austin Clements amdra...@mit.edu wrote: I have a prototype implementation of message modification times on my lastmod-v1 branch at https://github.com/aclements/notmuch/tree/lastmod-v1 It builds on my database features series that's currently awaiting review

[PATCH] doc/prerst2man.py: swap execfile with an exec call

2014-08-09 Thread Gaute Hope
at some point in python 3.* execfile was removed. per http://stackoverflow.com/questions/6357361/alternative-to-execfile-in-python-3-2 the execefile has been replaced in the same manner as python 2to3 helper script would do. tested on python 3.4.1 and 2.7.8. --- doc/prerst2man.py | 3 ++- 1 file

Re: [PATCH] doc/prerst2man.py: swap execfile with an exec call

2014-08-09 Thread Gaute Hope
Aight! Whatever works. This bit me today at least, building notmuch git on Arch Linux fails without it. Cheers, Gaute On Sat, Aug 9, 2014 at 3:56 PM, Tomi Ollila tomi.oll...@iki.fi wrote: On Sat, Aug 09 2014, Gaute Hope e...@gaute.vetsj.com wrote: at some point in python 3.* execfile

DatabaseModifiedErrors causing troubles

2014-08-11 Thread Gaute Hope
be a consistent way to really know that this (or something else) is the error that really happened. Cheers, Gaute From 90340fe59d677c989352f08e82f908016c25fafa Mon Sep 17 00:00:00 2001 From: Gaute Hope e...@gaute.vetsj.com Date: Mon, 11 Aug 2014 14:16:12 +0200 Subject: [PATCH] lib: expose XapianDatabae

Re: DatabaseModifiedErrors causing troubles

2014-08-21 Thread Gaute Hope
Gaute Hope e...@gaute.vetsj.com wrote on Mon, 11 Aug 2014 14:17:54 +0200: Hi, I've been working on an application that keeps a read-only handle on the notmuch database open for a long time. In some cases when a new message is added along with some renames of other messages using 'notmuch new

Re: DatabaseModifiedErrors causing troubles

2014-08-21 Thread Gaute Hope
On Thu, Aug 21, 2014 at 10:59 AM, Gaute Hope e...@gaute.vetsj.com wrote: For portability I would suggest starting to move towards the GError scheme provided by glib (also used by gmime). This is a somewhat major effort though since ensuring that error propagation is done right [0] is somewhat

[PATCH] notmuch_thread_get_authors: document match grouping with |

2014-09-10 Thread Gaute Hope
as stated in thread.cc:115 /* Construct an authors string from matched_authors_array and * authors_array. The string contains matched authors first, then * non-matched authors (with the two groups separated by '|'). Within * each group, authors are listed in date order. */ this is, however,

Re: [PATCH] Add configurable changed tag to messages that have been changed on disk

2014-09-22 Thread Gaute Hope
Excerpts from Gaute Hope's message of August 6, 2014 10:29: Austin Clements amdra...@mit.edu wrote on Fri, 01 Aug 2014 14:55:05 -0400: I have a prototype implementation of message modification times on my lastmod-v1 branch at https://github.com/aclements/notmuch/tree/lastmod-v1 It builds on

Re: [PATCH] Add configurable changed tag to messages that have been changed on disk

2014-09-23 Thread Gaute Hope
22. sep. 2014 17:40 skrev Austin Clements acleme...@csail.mit.edu følgende: On Mon, 22 Sep 2014, Gaute Hope e...@gaute.vetsj.com wrote: Excerpts from Gaute Hope's message of August 6, 2014 10:29: Austin Clements amdra...@mit.edu wrote on Fri, 01 Aug 2014 14:55:05 -0400: I have a prototype

Re: Looking for the perfect mail client

2014-10-21 Thread Gaute Hope
Excerpts from Sepp Tannhuber's message of October 21, 2014 12:02: Dear all, I'm wondering whether there's a notmuch mail client - with a handling similar to alot - which is capable to show html content without html2ascii conversion - which can use vim as editor - which doesn't need a web

Re: Looking for the perfect mail client

2014-10-22 Thread Gaute Hope
Excerpts from Sepp Tannhuber's message of October 22, 2014 8:46: Gaute Hope e...@gaute.vetsj.com schrieb am 13:19 Dienstag, 21.Oktober 2014: I am working on something called 'astroid' which is a GTK+ and WebKit based email client for notmuch. That's really interesting. From your description

Re: Looking for the perfect mail client

2014-10-22 Thread Gaute Hope
Excerpts from Sepp Tannhuber's message of October 22, 2014 14:23: Hi Gaute Gaute Hope e...@gaute.vetsj.com schrieb am 8:57 Mittwoch, 22.Oktober 2014: You need a newer version of GTK+, I think at least version 3.10 (I am using 3.12 on Arch Linux) [0]. Thanks for your support. Now

Re: Looking for the perfect mail client

2014-10-22 Thread Gaute Hope
Excerpts from Sepp Tannhuber's message of October 22, 2014 16:48: Gaute Hope e...@gaute.vetsj.com schrieb am 15:49 Mittwoch, 22.Oktober 2014: The next problem is that astroid doesn't start: (astroid:12459): Gtk-WARNING **: Could not find the icon 'mail-send-symbolic'. The 'hicolor' theme

Re: Looking for the perfect mail client

2014-10-22 Thread Gaute Hope
Excerpts from Sepp Tannhuber's message of October 22, 2014 16:48: Gaute Hope e...@gaute.vetsj.com schrieb am 15:49 Mittwoch, 22.Oktober 2014: Do you have libgpg-error installed? No, this was exactly the point. Now, I've compiled it and linked successfully. What distro do you run? Debian

[abunchoftags] überalpha: sync X-Keywords with notmuch tags

2014-11-02 Thread Gaute Hope
hi, there has been a lot of discussion about getting gmail label syncing with notmuch tags over time. one approach is to use the X-Keywords header that offlineimap now supports (kept in sync with GMail labels). I believe this was originally developed by an at the time notmuch user. I haven't

Re: [WIP PATCH 3/4] lib: API to retrieve database revision and UUID

2014-11-06 Thread Gaute Hope
Hi, there's a typo in ..get_revision (revisison). Cheers, Gaute Excerpts from Austin Clements's message of October 13, 2014 8:20: +unsigned long +notmuch_database_get_revisison (notmuch_database_t *notmuch, ___ notmuch mailing list

Announcing Astroid - v0.1

2014-11-30 Thread Gaute Hope
Astroid is a graphical threads-with-tags mail user agent based on sup and notmuch. Written in C++ using GTK+, WebKit and gmime. It is still highly experimental software and, in particular, HTML parts from untrusted senders should not necessarily be viewed. Astroid is intended to be fast, simple

notmuch_query_add_tag_excluded and notmuch_query_search_threads

2014-12-06 Thread Gaute Hope
hi, I can't quite figure out how to make excluded threads show up in searches explicitly including the tag. If I add the 'muted' tag to all messages in a thread, and set up my query as follows: notmuch_query_t * query = notmuch_query_create (nm_db, tag:muted);

Re: notmuch_query_add_tag_excluded and notmuch_query_search_threads

2014-12-07 Thread Gaute Hope
Excerpts from David Bremner's message of December 7, 2014 12:52: Gaute Hope e...@gaute.vetsj.com writes: I would expect to have the thread matching, I get nothing however. It does show up in: $ notmuch search tag:muted (muted added to excluded tags), but does notmuch search operate

Re: notmuch_query_add_tag_excluded and notmuch_query_search_threads

2014-12-07 Thread Gaute Hope
Excerpts from David Bremner's message of December 7, 2014 14:54: Gaute Hope e...@gaute.vetsj.com writes: I also did an notmuch_query_count_threads (query) as illustrated above, this returns 0 and also results in the erroneous behavior below. Your code works as expected without

Re: DatabaseModifiedErrors causing troubles

2015-01-17 Thread Gaute Hope
Excerpts from David Bremner's message of December 31, 2014 9:28: Gaute Hope e...@gaute.vetsj.com writes: I can work around this by checking for a NULL pointer returned from notmuch_query_search_threads () and re-open the database (notmuch_database_close () - notmuch_database_open ()). But I

Re: DatabaseModifiedErrors causing troubles

2015-01-17 Thread Gaute Hope
Excerpts from David Bremner's message of January 17, 2015 13:29: Gaute Hope e...@gaute.vetsj.com writes: Hi David, Would it be possible with an error code that I could compare against in stead? It would then work a bit like a global instance of the gmime error. It could even be a preparation

Announcing Astroid v0.2

2015-01-18 Thread Gaute Hope
Greetings, Astroid (https://github.com/gauteh/astroid) v0.2 is now ready! Astroid is a graphical threads-with-tags mail user agent based on sup and notmuch. Written in C++ using GTK+, WebKit and gmime. # Changes since v0.1 [0] * Allow math to be rendered with MathJax! Enclose math with $

Re: [RFC] lib: add support for date:query..! to mean date:query..query

2015-04-19 Thread Gaute Hope
Excerpts from Mark Walters's message of April 17, 2015 20:57: Hi On Sat, 07 Mar 2015, Jani Nikula j...@nikula.org wrote: Up to debate: 1) Is something like this useful at all as an intermediate step before we can have support for date:query? (This can be done with a future version of Xapian,

Re: feature freeze for notmuch 0.20

2015-04-15 Thread Gaute Hope
Excerpts from David Bremner's message of April 15, 2015 1:03: It's been too long since we had a notmuch release. I'd like to feature freeze May 1 and release by May 15. As usual feel free to tag things in the review queue as notmuch::0.20, although you may also consider reviewing them if you

[PATCH] [wiki] add astroid to list of frontends

2015-06-07 Thread Gaute Hope
--- frontends.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/frontends.mdwn b/frontends.mdwn index d545327..a9674ec 100644 --- a/frontends.mdwn +++ b/frontends.mdwn @@ -11,6 +11,7 @@ ## Other email clients and front ends based on Notmuch * [alot](https://github.com/pazz/alot), a

Re: Learning Notmuch

2015-06-07 Thread Gaute Hope
Excerpts from Johnny Utahh's message of June 6, 2015 21:32: How to support IMAP folders as tags? https://github.com/johnnyutahh/search-based-email#IMAP_folders_as_tags How to auto-detect need for IMAP resync? https://github.com/johnnyutahh/search-based-email#auto-detect-if-imap-resync-needed

Announcing Astroid v0.3

2015-05-27 Thread Gaute Hope
Greetings, Astroid (https://github.com/gauteh/astroid) v0.3 is now ready! Astroid is a graphical threads-with-tags mail user agent for notmuch. Written in C++ using GTK+, WebKit and gmime. Astroid can be found at: https://github.com/gauteh/astroid : $ git clone

Re: [announce] notifymuch - desktop notifications for notmuch

2015-05-27 Thread Gaute Hope
Excerpts from nightshade's message of April 24, 2015 9:31: This is a simple program that displays desktop notifications for unread mail (or actually any search query) in the notmuch database. The notification can optionally have a button to run a mail client. When a message is shown in a

Revision tracking, round 2

2015-05-29 Thread Gaute Hope
Excerpts from David Bremner's message of April 6, 2015 0:59: There is lots to tidy up here, but the series has balooned to 12 patches since since Austin posted id:1413181203-1676-1-git-send-email-acleme...@csail.mit.edu So I figure I better post it to get some feedback. These are

Re: [PATCH 5/5] lib: Add lastmod: queries for filtering by last modification

2015-08-20 Thread Gaute Hope
David Bremner writes on August 20, 2015 8:22: David Bremner da...@tethera.net writes: From: Austin Clements amdra...@mit.edu The implementation is essentially the same as the date range search prior to Jani's fancy date parser. pushed the series. Those of you running master be prepared for

Announcing Astroid v0.4

2015-08-15 Thread Gaute Hope
Greetings, Astroid (https://github.com/gauteh/astroid) v0.4 is now ready! Astroid is a graphical threads-with-tags mail user agent for notmuch. Written in C++ using GTK+, WebKit and gmime. Astroid can be found at: https://github.com/gauteh/astroid : $ git clone

Re: Question re undo

2015-11-21 Thread Gaute Hope
Den lørdag 21. november 2015 skrev Tomi Ollila følgende: > On Sat, Nov 21 2015, Bart Bunting > wrote: > > > Hi there, > > > > I've accidentally removed a bunch of tags in error and was dreaming > > there may be a way to fix it :). >

searching: '*analysis' vs 'reanalysis'

2016-06-06 Thread Gaute Hope
Hi, I have an email with the word 'reanalysis' in the subject line and the email body. However, when I try to search for '*analysis' or 'analysis' I do not get any matches, should not '*analysis' at least match? Regards, Gaute ___ notmuch mailing

Re: searching: '*analysis' vs 'reanalysis'

2016-06-06 Thread Gaute Hope
David Bremner writes on juni 6, 2016 14:42: Gaute Hope <e...@gaute.vetsj.com> writes: Hi, I have an email with the word 'reanalysis' in the subject line and the email body. However, when I try to search for '*analysis' or 'analysis' I do not get any matches, should not '*analysis' at

Re: searching: '*analysis' vs 'reanalysis'

2016-06-06 Thread Gaute Hope
Austin Clements writes on juni 6, 2016 21:20: The experiment was specifically for regexp matching subject, but it should work for any header we store a literal copy of in the database. Does it work for terms in the body of the message? ___ notmuch

Re: [PATCH] WIP: regexp matching in 'subject' and 'from'

2016-06-10 Thread Gaute Hope
David Bremner writes on juni 10, 2016 4:28: the idea is that you can run % notmuch search subject_re: % notmuch search from_re:' or % notmuch search subject:"your usual phrase search" % notmuch search from:"usual phrase search" This should also work with bindings, since it extends the query

Re: [PATCH] WIP: regexp matching in 'subject' and 'from'

2016-06-11 Thread Gaute Hope
Tomi Ollila writes on juni 11, 2016 19:09: On Sat, Jun 11 2016, Gaute Hope <e...@gaute.vetsj.com> wrote: Maybe we could check if the search string contains a regexp and decide whether to pre-process it on the background of that? I think that would make the interface more user-friendly.

Re: [PATCH] WIP: regexp matching in 'subject' and 'from'

2016-06-11 Thread Gaute Hope
David Bremner writes on juni 10, 2016 13:09: Gaute Hope <e...@gaute.vetsj.com> writes: Cool! Would it break a lot of things if you just replace the original prefix? It would change the matching behaviour. I guess there are people that like the current "sloppy" matching of f

talloc_abort in notmuch_thread_get_tags () when db has been modified

2016-01-18 Thread Gaute Hope
Hi, a user of astroid [0] ran into a issue [1] (full trace at issue) where reading a long query causes a talloc_abort in notmuch_thread_get_tags (). 'notmuch new' is running at the same time, and most likely a thread in the query has been modified since the query was done. Note that a

Re: talloc_abort in notmuch_thread_get_tags () when db has been modified

2016-01-18 Thread Gaute Hope
David Bremner writes on January 18, 2016 13:25: The most likely cause of such a crash looks to me like nm_thread is NULL or corrupted when passed in to get_tags. It's used without checking as a talloc context, and that call to talloc never returns. Ok, I'll check some further. I am checking

Announcing Astroid v0.5

2016-02-06 Thread Gaute Hope
Greetings, Astroid (https://github.com/gauteh/astroid) v0.5 is now ready! Astroid is a graphical threads-with-tags mail user agent for notmuch. Written in C++ using GTK+, WebKit and gmime. This release includes a lot of changes and improvements from several authors, including increased

api-doc: return status for notmuch_query_search_threads_st ...

2016-02-07 Thread Gaute Hope
Hi, I am switching from the deprecated notmuch_query_search_threads to notmuch_query_search_threads_st, but the api-documentation does not specify what status values are returned and what they mean. The same goes for notmuch_query_search_messages_st (...). Regards, Gaute

Re: api-doc: return status for notmuch_query_search_threads_st ...

2016-02-07 Thread Gaute Hope
Gaute Hope writes on February 7, 2016 11:06: Hi, I am switching from the deprecated notmuch_query_search_threads to notmuch_query_search_threads_st, but the api-documentation does not specify what status values are returned and what they mean. The same goes for notmuch_query_search_messages_st

need to call notmuch_threads_get (..) to actually move iterator

2016-02-24 Thread Gaute Hope
Hi, it seems to be necessary to actually call notmuch_threads_get (threads) to move the thread iterator from a query object, just calling notmuch_threads_move_to_next (..) is not enough: ``` notmuch_query_t *query; notmuch_threads_t *threads; notmuch_thread_t *thread; query =

Re: how do the different frontends deal with displaying large queries?

2016-02-24 Thread Gaute Hope
That makes sense of course, that could work. Thanks, Gaute Den onsdag 24. februar 2016 skrev David Bremner <da...@tethera.net> følgende: > Gaute Hope <e...@gaute.vetsj.com <javascript:;>> writes: > > > Hi, > > > > I am wondering how the different fronte

how do the different frontends deal with displaying large queries?

2016-02-23 Thread Gaute Hope
Hi, I am wondering how the different frontends deal with displaying large queries? Do you just display everything at the time? Or do you display a limited number and then show more on-demand? In the on-demand case; how do you get to the same position? Keeping a query object alive for long might

Re: need to call notmuch_threads_get (..) to actually move iterator

2016-02-28 Thread Gaute Hope
Gaute Hope writes on February 24, 2016 13:08: Hi, it seems to be necessary to actually call notmuch_threads_get (threads) to move the thread iterator from a query object, just calling notmuch_threads_move_to_next (..) is not enough: A test-case demonstrating this (for the 'astroid' code-base

Re: how do the different frontends deal with displaying large queries?

2016-02-28 Thread Gaute Hope
David Bremner writes on February 27, 2016 13:50: Gaute Hope <e...@gaute.vetsj.com> writes: While loading the threads, if I make enough modifications to the database while the query is still loading (specifically 1: removing the unread tag from a thread, and 2: adding the unre

Re: need to call notmuch_threads_get (..) to actually move iterator

2016-02-28 Thread Gaute Hope
Gaute Hope writes on February 28, 2016 13:36: Gaute Hope writes on February 24, 2016 13:08: Hi, it seems to be necessary to actually call notmuch_threads_get (threads) to move the thread iterator from a query object, just calling notmuch_threads_move_to_next (..) is not enough: A test-case

Re: how do the different frontends deal with displaying large queries?

2016-02-26 Thread Gaute Hope
David Bremner writes on February 24, 2016 18:48: Gaute Hope <e...@gaute.vetsj.com> writes: Hi, I am wondering how the different frontends deal with displaying large queries? Do you just display everything at the time? Or do you display a limited number and then show more on-demand?

Re: talloc_abort in notmuch_thread_get_tags () when db has been modified

2016-03-07 Thread Gaute Hope
Gaute Hope writes on January 18, 2016 13:45: David Bremner writes on January 18, 2016 13:25: The most likely cause of such a crash looks to me like nm_thread is NULL or corrupted when passed in to get_tags. It's used without checking as a talloc context, and that call to talloc never returns

Re: [PATCH] create .mailmap file (for git shortlog/blame)

2016-07-22 Thread Gaute Hope
David Bremner writes on juli 22, 2016 14:47: It would potentially make sense to automagically update this file during the release process using the output from git shortlog. I use git-rank-contributors to maintain sup (written by William Morgan of sup fame, appropriately of this

Re: [PATCH v2] Omit User-Agent: header by default

2016-08-09 Thread Gaute Hope
Daniel Kahn Gillmor writes on august 9, 2016 1:35: The User-Agent: header can be fun and interesting, but it also leaks quite a bit of information about the user and their software stack. Is the message-id generated by gnus or notmuch-emacs? I could not find the relevant code. I noticed it has

Announcing Astroid v0.6

2016-07-23 Thread Gaute Hope
Greetings, Astroid (https://github.com/astroidmail/astroid) v0.6 is now ready! Astroid is a lightweight and fast graphical threads-with-tags mail user agent for notmuch. Written in C++ using GTK+, WebKit and gmime. Astroid can be found at: https://github.com/astroidmail/astroid : $ git

Re: add status value to _notmuch_message_ensure_metadata

2017-02-20 Thread Gaute Hope
Gaute Hope writes on februar 20, 2017 10:27: David Bremner writes on februar 18, 2017 15:45: In id:1487339566.mz8acpov1j.astr...@strange.none , Gaute provided a traceback of an uncaught Xapian::DatabaseModifiedError. The fix for this is simple, but somewhat intrusive. [...] I haven't tested

Re: add status value to _notmuch_message_ensure_metadata

2017-02-20 Thread Gaute Hope
David Bremner writes on februar 18, 2017 15:45: In id:1487339566.mz8acpov1j.astr...@strange.none , Gaute provided a traceback of an uncaught Xapian::DatabaseModifiedError. The fix for this is simple, but somewhat intrusive. [...] I haven't tested against Gaute's test case (needs more boost

Re: [RFC patch 2/2] lib: handle DatabaseModifiedError in _n_message_ensure_metadata

2017-02-24 Thread Gaute Hope
David Bremner writes on februar 24, 2017 3:49: David Bremner writes: The error handling here still needs work. The retry count should be handled in more sane way, and both running out of retries and an error return from notmuch_database_reopen should be handled. Probably

Re: talloc_abort in notmuch_thread_get_tags () when db has been modified

2017-02-17 Thread Gaute Hope
David Bremner writes on februar 17, 2017 13:28: Gaute Hope <e...@gaute.vetsj.com> writes: David Bremner writes on mars 7, 2016 13:01: Gaute Hope <e...@gaute.vetsj.com> writes: Of course _why_ this error is happening could still be notmuch's fault. Can you reproduce the problem un

Re: add status value to _notmuch_message_ensure_metadata

2017-02-22 Thread Gaute Hope
David Bremner writes on februar 23, 2017 1:58: Gaute Hope <e...@gaute.vetsj.com> writes: Gaute Hope writes on februar 20, 2017 10:27: David Bremner writes on februar 18, 2017 15:45: In id:1487339566.mz8acpov1j.astr...@strange.none , Gaute provided a traceback of an uncaught

Re: talloc_abort in notmuch_thread_get_tags () when db has been modified

2017-02-15 Thread Gaute Hope
David Bremner writes on mars 7, 2016 13:01: Gaute Hope <e...@gaute.vetsj.com> writes: as far as I can see, there is _no_ way to catch this error without completely crashing the application. I would have to isolate this code in a separate process or trap SIGABRT (which is certainly

match on all messages in a thread - rather than messages invdividually

2016-08-22 Thread Gaute Hope
Hi, I often fail to find threads because there are no messages that match all the criteria, but the thread combined match the full criterias. Often I remember some bits about the whole thread, but they may not be in any one message - these are hard to find. Is it possible to search in a way

sort by relevance?

2016-08-26 Thread Gaute Hope
Hi, while reading a bit about Xapian with regards to [0] I came across sorting by relevance? Is this currently possible? Especially in OR searches with many terms I think this would be very useful. Regards, Gaute [0] id:1471858269.x2m28lgosh.astroid@strange pgpCwFM0YXcoW.pgp

[PATCH] Add configurable changed tag to messages that have been changed on disk

2014-07-28 Thread Gaute Hope
On Thu, Jul 3, 2014 at 12:42 PM, David Bremner wrote: > Gaute Hope writes: > > > When one of the source files for a message is changed on disk, renamed, > > deleted or a new source file is added. A configurable changed tag is > > is added. The tag can be con

[PATCH] Add configurable changed tag to messages that have been changed on disk

2014-08-06 Thread Gaute Hope
On Fri, Aug 1, 2014 at 8:55 PM, Austin Clements wrote: > I have a prototype implementation of message modification times on my > lastmod-v1 branch at > > https://github.com/aclements/notmuch/tree/lastmod-v1 > > It builds on my database features series that's currently awaiting > review [1]. > >

[PATCH] doc/prerst2man.py: swap execfile with an exec call

2014-08-09 Thread Gaute Hope
at some point in python 3.* execfile was removed. per http://stackoverflow.com/questions/6357361/alternative-to-execfile-in-python-3-2 the execefile has been replaced in the same manner as python 2to3 helper script would do. tested on python 3.4.1 and 2.7.8. --- doc/prerst2man.py | 3 ++- 1 file

[PATCH] doc/prerst2man.py: swap execfile with an exec call

2014-08-09 Thread Gaute Hope
Aight! Whatever works. This bit me today at least, building notmuch git on Arch Linux fails without it. Cheers, Gaute On Sat, Aug 9, 2014 at 3:56 PM, Tomi Ollila wrote: > On Sat, Aug 09 2014, Gaute Hope wrote: > >> at some point in python 3.* execfile was removed.

DatabaseModifiedErrors causing troubles

2014-08-11 Thread Gaute Hope
Hi, I've been working on an application that keeps a read-only handle on the notmuch database open for a long time. In some cases when a new message is added along with some renames of other messages using 'notmuch new' while the application is running I get an Xapian exception:

DatabaseModifiedErrors causing troubles

2014-08-21 Thread Gaute Hope
Gaute Hope wrote on Mon, 11 Aug 2014 14:17:54 +0200: > Hi, > > I've been working on an application that keeps a read-only handle on > the notmuch database open for a long time. In some cases when a new > message is added along with some renames of other messages using > '

DatabaseModifiedErrors causing troubles

2014-08-21 Thread Gaute Hope
On Thu, Aug 21, 2014 at 10:59 AM, Gaute Hope wrote: > For portability I would suggest starting to move towards the GError > scheme provided by glib (also used by gmime). This is a somewhat major > effort though since ensuring that error propagation is done right [0] is > som

[PATCH] notmuch_thread_get_authors: document match grouping with |

2014-09-10 Thread Gaute Hope
as stated in thread.cc:115 /* Construct an authors string from matched_authors_array and * authors_array. The string contains matched authors first, then * non-matched authors (with the two groups separated by '|'). Within * each group, authors are listed in date order. */ this is, however,

[PATCH] Add configurable changed tag to messages that have been changed on disk

2014-09-22 Thread Gaute Hope
Excerpts from Gaute Hope's message of August 6, 2014 10:29: > Austin Clements wrote on Fri, 01 Aug 2014 14:55:05 > -0400: >> I have a prototype implementation of message modification times on my >> lastmod-v1 branch at >> >> https://github.com/aclements/notmuch/tree/lastmod-v1 >> >> It

[PATCH] Add configurable changed tag to messages that have been changed on disk

2014-09-23 Thread Gaute Hope
22. sep. 2014 17:40 skrev "Austin Clements" f?lgende: > > On Mon, 22 Sep 2014, Gaute Hope wrote: > > Excerpts from Gaute Hope's message of August 6, 2014 10:29: > >> Austin Clements wrote on Fri, 01 Aug 2014 14:55:05 -0400: > >>> I have a prototype i

performance-test/README gpg key outdated?

2014-10-21 Thread Gaute Hope
Hi, seems like the info about the gpg key for David Bremner is outdated in the file performance-test/README (fingerprint does not match). At least there exists a newer key at pgp.mit.edu, am I being scammed? Cheers, Gaute

Looking for the perfect mail client

2014-10-21 Thread Gaute Hope
Excerpts from Sepp Tannhuber's message of October 21, 2014 12:02: > Dear all, > > I'm wondering whether there's a notmuch mail client > - with a handling similar to alot > - which is capable to show html content without html2ascii conversion > - which can use vim as editor > - which doesn't need a

Looking for the perfect mail client

2014-10-22 Thread Gaute Hope
Excerpts from Sepp Tannhuber's message of October 22, 2014 8:46: > Gaute Hope schrieb am 13:19 Dienstag, 21.Oktober 2014: > > >> I am working on something called 'astroid' which is a GTK+ and WebKit >> based email client for notmuch. > > That's really interesting.

Looking for the perfect mail client

2014-10-22 Thread Gaute Hope
Excerpts from Sepp Tannhuber's message of October 22, 2014 14:23: > Hi Gaute > > > Gaute Hope schrieb am 8:57 Mittwoch, 22.Oktober 2014: >> You need a newer version of GTK+, I think at least version 3.10 (I am >> using 3.12 on Arch Linux) [0]. > > > > >

Looking for the perfect mail client

2014-10-22 Thread Gaute Hope
Excerpts from Sepp Tannhuber's message of October 22, 2014 16:48: > Gaute Hope schrieb am 15:49 Mittwoch, 22.Oktober 2014: > The next problem is that astroid doesn't start: > > (astroid:12459): Gtk-WARNING **: Could not find the icon > 'mail-send-symbolic'. The 'hicolor' theme

Looking for the perfect mail client

2014-10-22 Thread Gaute Hope
Excerpts from Sepp Tannhuber's message of October 22, 2014 16:48: > Gaute Hope schrieb am 15:49 Mittwoch, 22.Oktober 2014: > >> Do you have libgpg-error installed? > No, this was exactly the point. Now, I've compiled it and linked successfully. > >> What distro do

[abunchoftags] überalpha: sync X-Keywords with notmuch tags

2014-11-02 Thread Gaute Hope
hi, there has been a lot of discussion about getting gmail label syncing with notmuch tags over time. one approach is to use the X-Keywords header that offlineimap now supports (kept in sync with GMail labels). I believe this was originally developed by an at the time notmuch user. I haven't

[WIP PATCH 3/4] lib: API to retrieve database revision and UUID

2014-11-06 Thread Gaute Hope
Hi, there's a typo in ..get_revision (revisison). Cheers, Gaute Excerpts from Austin Clements's message of October 13, 2014 8:20: > +unsigned long > +notmuch_database_get_revisison (notmuch_database_t *notmuch,

Announcing Astroid - v0.1

2014-11-30 Thread Gaute Hope
Astroid is a graphical threads-with-tags mail user agent based on sup and notmuch. Written in C++ using GTK+, WebKit and gmime. It is still highly experimental software and, in particular, HTML parts from untrusted senders should not necessarily be viewed. Astroid is intended to be fast, simple

notmuch_query_add_tag_excluded and notmuch_query_search_threads

2014-12-06 Thread Gaute Hope
hi, I can't quite figure out how to make excluded threads show up in searches explicitly including the tag. If I add the 'muted' tag to all messages in a thread, and set up my query as follows: notmuch_query_t * query = notmuch_query_create (nm_db, "tag:muted");

notmuch_query_add_tag_excluded and notmuch_query_search_threads

2014-12-07 Thread Gaute Hope
Excerpts from David Bremner's message of December 7, 2014 12:52: > Gaute Hope writes: > >> >> I would expect to have the thread matching, I get nothing however. It >> does show up in: $ notmuch search tag:muted (muted added to excluded >> tags), b

notmuch_query_add_tag_excluded and notmuch_query_search_threads

2014-12-07 Thread Gaute Hope
Excerpts from David Bremner's message of December 7, 2014 14:54: > Gaute Hope writes: > >> >> I also did an notmuch_query_count_threads (query) as illustrated >> above, this returns 0 and also results in the erroneous behavior >> below. Your code works as expec

DatabaseModifiedErrors causing troubles

2015-01-17 Thread Gaute Hope
Excerpts from David Bremner's message of December 31, 2014 9:28: > Gaute Hope writes: > >> I can work around this by checking for a NULL pointer returned from >> notmuch_query_search_threads () and re-open the database >> (notmuch_database_close () -> notmuch_da

DatabaseModifiedErrors causing troubles

2015-01-17 Thread Gaute Hope
Excerpts from David Bremner's message of January 17, 2015 13:29: > Gaute Hope writes: > >> >> Hi David, >> >> Would it be possible with an error code that I could compare against in >> stead? It would then work a bit like a global instance of the gmime >

Announcing Astroid v0.2

2015-01-18 Thread Gaute Hope
Greetings, Astroid (https://github.com/gauteh/astroid) v0.2 is now ready! Astroid is a graphical threads-with-tags mail user agent based on sup and notmuch. Written in C++ using GTK+, WebKit and gmime. # Changes since v0.1 [0] * Allow math to be rendered with MathJax! Enclose math with $

[PATCH] Re: Add /renew/ tag to moved/renamed/reflagged messages

2015-04-11 Thread Gaute Hope
Excerpts from David Bremner's message of April 11, 2015 1:56: > Baptiste writes: > >> Hi, >> >>> What about another automatic tag to re-add to an existing mail when >>> =notmuch new= detect a moved, renamed or reflagged message ... >> >> the following code sample seems to actually do the job 

feature freeze for notmuch 0.20

2015-04-15 Thread Gaute Hope
Excerpts from David Bremner's message of April 15, 2015 1:03: > > It's been too long since we had a notmuch release. I'd like to feature > freeze May 1 and release by May 15. As usual feel free to tag things in > the review queue as notmuch::0.20, although you may also consider > reviewing them

[RFC] lib: add support for date:..! to mean date:..

2015-04-19 Thread Gaute Hope
Excerpts from Mark Walters's message of April 17, 2015 20:57: > > Hi > > On Sat, 07 Mar 2015, Jani Nikula wrote: >> Up to debate: >> >> 1) Is something like this useful at all as an intermediate step before >> we can have support for date:? (This can be done with a future >> version of Xapian,

  1   2   >