Re: Python3 cffi bindings

2020-10-16 Thread Gaute Hope
On Fri, Oct 16, 2020 at 9:19 AM Gaute Hope wrote: > On Wed, Oct 14, 2020 at 10:24 PM Floris Bruynooghe wrote: > >> Hi Gaute, >> >> On Thu 08 Oct 2020 at 10:13 +0200, Gaute Hope wrote: >> > I made another attempt at porting lieer to notmuch2, but I am missing

Re: Python3 cffi bindings

2020-10-16 Thread Gaute Hope
On Wed, Oct 14, 2020 at 10:24 PM Floris Bruynooghe wrote: > Hi Gaute, > > On Thu 08 Oct 2020 at 10:13 +0200, Gaute Hope wrote: > > I made another attempt at porting lieer to notmuch2, but I am missing the > > get_directory method still. Any plans to look at it? > >

Re: Python3 cffi bindings

2020-10-08 Thread Gaute Hope
Nov 2019 at 11:27 +0100, Gaute Hope wrote: > > I just checked out the wip/cffi branch on git.notmuch.org with the > > purpose of porting Lieer (https://github.com/gauteh/lieer). There > > seems to be some missing functionality: `Database.get_directory()` > > specifically. &g

[lieer] Release v1.2

2020-05-22 Thread Gaute Hope
UA provide recipients in the header fields if it does not already. Credits for contributions in this release: * Gaute Hope * Stefan Kangas * Adrian Petrescu * Florian Klink Regards, Gaute pgpQvLbjftYuK.pgp Description: PGP

Re: [lieer] Release v1.1

2020-04-17 Thread Gaute Hope
On Fri, Apr 17, 2020 at 1:58 PM Thomas Schneider wrote: > Hi Gaute, > > Gaute Hope writes: > > > lieer v1.1 has been released with a bunch of minor fixes, and also the > > ability to (experimentally) send e-mail as a primitive sendmail stand-in. > > > &g

[lieer] Release v1.1

2020-04-16 Thread Gaute Hope
t shortlog: * Gaute Hope * Aurélien Ooms * Radu Butoi Regards, Gaute pgpIzIBdOPvi9.pgp Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch

[lieer] Release v1.0

2019-11-26 Thread Gaute Hope
Hi, Lieer v1.0 has been released! Fast email-fetching and two-way tag synchronization between notmuch and GMail. https://github.com/gauteh/lieer Regards, Gaute ___ notmuch mailing list notmuch@notmuchmail.org

Re: Python3 cffi bindings

2019-11-17 Thread Gaute Hope
On Sun, Nov 17, 2019 at 6:14 PM Floris Bruynooghe wrote: > > Hi Gaute, > > Thanks for trying this out! > > On Mon 04 Nov 2019 at 11:27 +0100, Gaute Hope wrote: > > I just checked out the wip/cffi branch on git.notmuch.org with the > > purpose of porting Lieer (h

Re: Python3 cffi bindings

2019-11-04 Thread Gaute Hope
Hi, I just checked out the wip/cffi branch on git.notmuch.org with the purpose of porting Lieer (https://github.com/gauteh/lieer). There seems to be some missing functionality: `Database.get_directory()` specifically. I also ran into a couple of warning when building (included below). Thanks for

[astroid] release v0.15

2019-07-17 Thread Gaute Hope
Greetings, astroid v0.15 has been released! Astorid is: "A graphical threads-with-tags style, lightweight and fast, e-mail client for Notmuch" get it at: https://github.com/astroidmail/astroid Thanks to all contributors! See the git log for changes. Regards, Gaute

[lieer] Release v0.11

2019-07-17 Thread Gaute Hope
Greetings, a new release of lieer (earlier gmailieer) has been released! Lieer is a "Fast email-fetching and two-way tag synchronization between notmuch and GMail" get it at: https://github.com/gauteh/lieer The name change was necessary due to Googles new API rules. Regards, Gaute

gmailieer -> lieer

2019-05-01 Thread Gaute Hope
Hi, because of Googles new stricter rules [0] for public OAuth api keys gmailieer needs to be renamed to something non-google / non-gmail´y. So say hello to `lieer`. https://github.com/gauteh/lieer There will probably be a bunch of references that need to be updated. Hopefully this will

Re: segfault using python bindings

2018-11-11 Thread Gaute Hope
David Bremner writes on November 11, 2018 21:16: [1]: There is some discussion in the list archives. See id:87lg5z74l3@tethera.net Regards, Gaute ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch

[gmailieer] Gmailieer v0.10 released

2018-10-13 Thread Gaute Hope
Hi, Gmailieer v0.10 has been released! https://github.com/gauteh/gmailieer Gmailieer provides fast email-fetching and two-way tag synchronization between notmuch and GMail. Changes: * Remote tags/labels can now be ignored (special categories are now optionally ignored). * Various

[astroid] Announcing Astroid v0.14

2018-09-30 Thread Gaute Hope
. Otherwise fall back to option from configuration file. * We now have a man page! Generated either by scdoc or ronn. * Number of bugfixes. Gaute Hope (24): log: re-introduce log-level command line option to overrdide config git: only ignore build/ dirs, not build* tv: remove

Re: [PATCH] introduce new.rename_tags for renamed (moved) messages

2018-09-21 Thread Gaute Hope
Michael J Gruber writes on September 21, 2018 10:22: Lastmod and (re)new tags serve different purposes, I would thank. The latter is a flag that can be cleared to signal that a certain job has been done (by whomever). Whereas, if one actor acts upon a lastmod change by modifying the db that will

Re: [PATCH] introduce new.rename_tags for renamed (moved) messages

2018-09-21 Thread Gaute Hope
Michael J Gruber writes on July 6, 2018 16:04: IMAP clients (such as webmail) use folders to mark messages as junk etc., some even to mark messages as trash ("move to trash"). Such a change is reported by notmuch as a rename; the message is not tagged with new.tags since it is not new, so that

[astroid] Announcing Astroid v0.13 ( with WebKit2 ! )

2018-07-20 Thread Gaute Hope
Greetings, Astroid v0.13 has been released! Astroid is a lightweight and fast graphical threads-with-tags email client for notmuch. Written in C++ using GTK+, WebKit2 and GMime. Astroid can be acquired, along with instructions for use, at: https://github.com/astroidmail/astroid once

Re: In some cases get_toplevel_messages() and _message_get_replies() does not return all messages

2018-07-10 Thread Gaute Hope
David Bremner writes on July 10, 2018 19:21: Gaute Hope writes: Hi, a while back I got a bug report for astroid about get_toplevel_messages() and _message_get_replies() not showing all messages [0]. When relying on these alone the user will occasionally miss emails. I do not have much

In some cases get_toplevel_messages() and _message_get_replies() does not return all messages

2018-07-01 Thread Gaute Hope
Hi, a while back I got a bug report for astroid about get_toplevel_messages() and _message_get_replies() not showing all messages [0]. When relying on these alone the user will occasionally miss emails. I do not have much more information, but I'll post this here in case someone else

[gmailieer] Gmailieer v0.9 released

2018-06-19 Thread Gaute Hope
Hi, Gmailieer v0.9 has been released! https://github.com/gauteh/gmailieer Gmailieer provides fast email-fetching and two-way tag synchronization between notmuch and GMail. Changes: * Fix docs and help (timeout 0 means min (forver, system-timeout)). * All output is ASCII, ensures working

[astroid] Announcing Astroid v0.12

2018-06-18 Thread Gaute Hope
Greetings, Astroid v0.12 has been released! Astroid is a lightweight and fast graphical threads-with-tags email client for notmuch. Written in C++ using GTK+, WebKit and gmime. Astroid can be acquired, along with usage and instructions for use, at: https://github.com/astroidmail/astroid

[gmailieer] Gmailieer v0.8 released

2018-05-11 Thread Gaute Hope
Hi, Gmailieer v0.8 has been released! https://github.com/gauteh/gmailieer Gmailieer provides fast email-fetching and two-way tag synchronization between notmuch and GMail. Changes: * Allow custom tags to be ignored (when pushing), can be set with `gmi set`. * Bug fix in `gmi set`.

Re: Thread subqueries

2018-05-07 Thread Gaute Hope
man. 7. mai 2018 kl. 14:09 skrev David Bremner : > David Bremner writes: > > > This is the first non-WIP version of this series. It adds a small > > optimization (something like a 10% speedup on SSD), and some > > documentation and tests. > > pushed to

[gmaileer] Gmailieer v0.7 released

2018-05-03 Thread Gaute Hope
Hi, Gmailieer v0.7 has been released! https://github.com/gauteh/gmailieer Gmailieer provides fast email-fetching and two-way tag synchronization between notmuch and GMail. Changes: * Reload local repository if local changes have been made during sync. * Only allow one instance of gmi for

Re: Bcc, throw-keyids, and metadata hiding [was: Re: Announcing Astroid v0.11]

2018-02-05 Thread Gaute Hope
Daniel Kahn Gillmor writes on februar 5, 2018 9:33: On Mon 2018-02-05 08:33:36 +0100, Gaute Hope wrote: Yes; this seems like the ultimate approach to this problem, unless it will be possible for GPG to completely hide receivers - I am guessing this is inherently impossible? I'm not sure how

Re: Bcc, throw-keyids, and metadata hiding [was: Re: Announcing Astroid v0.11]

2018-02-04 Thread Gaute Hope
Daniel Kahn Gillmor writes on februar 5, 2018 2:21: On Sun 2018-02-04 16:18:02 -0500, Daniel Kahn Gillmor wrote: Well, i guess you could limit it to two copies total: one copy is to all Bcc'ed recipients, and one copy to all non-Bcc'ed recipients. you'd want to make sure that you got the same

Re: umask/permissions on new files created via notmuch-insert(1) ?

2018-02-04 Thread Gaute Hope
Daniel Kahn Gillmor writes on februar 4, 2018 20:25: is there a reason that "notmuch insert" should be stricter than the umask? does this ring any bells for people? Are you asking why it is or why it should? If former; maybe because of line 230 in notmuch-insert.c ? Regards, Gaute

Re: Announcing Astroid v0.11

2018-02-04 Thread Gaute Hope
Daniel Kahn Gillmor writes on februar 4, 2018 19:32: On Sun 2018-02-04 18:52:22 +0100, Gaute Hope wrote: This is done to hide Bcc-recipients. sure, but i'm wondering why you throw *all* keyids, instead of only the key-ids of the bcc'ed people? Because that is currently the only option when

Re: Announcing Astroid v0.11

2018-02-04 Thread Gaute Hope
Daniel Kahn Gillmor writes on februar 4, 2018 16:37: On Sun 2018-02-04 11:46:20 +0100, Gaute Hope wrote: * Always throw key-id when sending (using GMime 3) Can you explain this choice? As someone who receives mail with a thrown key-id, and as someone who has multiple secret keys, the user

Announcing Astroid v0.11

2018-02-04 Thread Gaute Hope
Greetings, Astroid v0.11 has been released! Astroid is a lightweight and fast graphical threads-with-tags email client for notmuch. Written in C++ using GTK+, WebKit and gmime. Astroid can be acquired, along with usage and instructions for use, at: https://github.com/astroidmail/astroid

gmailieer v0.6 released

2018-02-04 Thread Gaute Hope
Hi, Gmailieer v0.6 has been released! https://github.com/gauteh/gmailieer Gmailieer provides fast email-fetching and two-way tag synchronization between notmuch and GMail. Major changes: * Index emails in notmuch db by each received batch from GMail * Ignore 'Trash' tag * Verbose errors

gmailieer v0.5 released

2017-12-05 Thread Gaute Hope
Hi, Gmailieer v0.5 has been released! The changes can be seen listed below, get the latest version here: https://github.com/gauteh/gmailieer Gmailieer provides fast email-fetching and two-way tag synchronization between notmuch and GMail. Changes: * 2017-11-20 5772de0 Gaute Hope local

Re: python bindings memory management

2017-11-20 Thread Gaute Hope
David Bremner writes on november 20, 2017 0:11: Gaute Hope <e...@gaute.vetsj.com> writes: Hi, when writing this small script [0][1] using the notmuch python bindings I had to manually delete the python objects in the right order. Otherwise it segfaults when exiting, presumably b

python bindings memory management

2017-11-19 Thread Gaute Hope
Hi, when writing this small script [0][1] using the notmuch python bindings I had to manually delete the python objects in the right order. Otherwise it segfaults when exiting, presumably because memory dependencies / cleanup isn't done correctly when the Python GC gets going. Essentially I

Re: bounce/forward not working due to CR at line end

2017-11-19 Thread Gaute Hope
Kai Harries writes on november 17, 2017 19:16: I am thinking about filing a ticket against gmailier because storing the emails with CRLF on a *nix is at least surprising. Hi, this was actually fixed in commit 71ce2b2 where line-endings are converted to \n if that is the OS line seperator. I

gmailieer v0.4

2017-11-19 Thread Gaute Hope
Hi, I just release gmailieer v0.4! The changes can be seen listed below, get the latest version here: https://github.com/gauteh/gmailieer Regards, Gaute 2017-11-19 b7a9237 Gaute Hope release v0.4 (HEAD -> master, tag: v0.4, origin/master) 2017-11-17 5a9f3f7 Gaute Hope drop miss

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

2017-11-03 Thread Gaute Hope
David Bremner writes on november 3, 2017 13:18: Gaute Hope <e...@gaute.vetsj.com> writes: Not sure if this is talloc_abort() anymore. Actually, at this point this seems to be caused by different GMime versions used for binary and notmuch library. Regards, Gaute OK, that sound

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

2017-11-03 Thread Gaute Hope
David Bremner writes on februar 17, 2017 16:35: Gaute Hope <e...@gaute.vetsj.com> writes: threads != NULL terminate called after throwing an instance of 'Xapian::DatabaseModifiedError' Yeah, that looks like a different problem. But it _should_ be something we can catch in libn

Announcing Astroid v0.10.2

2017-10-11 Thread Gaute Hope
Astroid v0.10.2 has been released! * Fix build issues on Mac OS. * Gmime 2 used weird timezone for sent email. * Add Meson build system as alternative. Regards, Gaute Gaute Hope writes on september 21, 2017 12:34: Astroid v0.10 has been released! Astroid is a lightweight and fast

[github-thread] find and open corresponding github page for thread or message

2017-10-09 Thread Gaute Hope
Hi, this small script finds and opens the corresponding GitHub issue, comment, or pull-request. https://gist.github.com/gauteh/de546cb143ebae4a489a482a05ab4beb $ ./github-thread.py notmuch-thread-id [message-id] the first argument is always required. If a message id is specified, it

Announcing Astroid v0.10.1

2017-09-24 Thread Gaute Hope
Gaute Hope writes on september 21, 2017 12:34: Greetings, Astroid v0.10 has been released! Astroid is a lightweight and fast graphical threads-with-tags email client for notmuch. Written in C++ using GTK+, WebKit and gmime. Astroid can be acquired, along with usage and instructions

Announcing Astroid v0.10

2017-09-21 Thread Gaute Hope
Greetings, Astroid v0.10 has been released! Astroid is a lightweight and fast graphical threads-with-tags email client for notmuch. Written in C++ using GTK+, WebKit and gmime. Astroid can be acquired, along with usage and instructions for use, at: https://github.com/astroidmail/astroid

Re: [PATCH] python: Fix database.add_message

2017-09-12 Thread Gaute Hope
David Bremner writes on september 12, 2017 3:56: Dylan Baker writes: b10ce6bc23002d48916b1b2f375480e7540e3164 introduced a new index_file method as a replacement for add_message. It helpfully made add_message an alias for index_file, unfortunately it got the signature

Re: [PATCH] WIP: add thread subqueries.

2017-09-07 Thread Gaute Hope
David Bremner writes on august 21, 2017 3:35: David Bremner writes: If you're interested in this feature, please test, let me know if it's workable for your use case. The syntax here is thread:{$query}. The usual caveats about whitespace apply. The running example is

[PATCH v2] python: deprecated add_message calls index_file correctly and returns result

2017-08-30 Thread Gaute Hope
The deprecated Database.add_message now calls the new index_file with correct number of arguments (without an extra `self`), and returns the tuple from index_file - as it used to do before. This change also adds a DeprecationWarning to the function. --- bindings/python/notmuch/database.py | 6

Re: [PATCH] python: deprecated add_message calls index_file correctly and returns result

2017-08-30 Thread Gaute Hope
Tomi Ollila writes on august 30, 2017 0:00: On Mon, Aug 28 2017, Gaute Hope wrote: The deprecated Database.add_message now calls the new index_file with correct number of arguments (without an extra `self`), and returns the tuple from index_file - as it used to do before. Instead

[PATCH] python: deprecated add_message calls index_file correctly and returns result

2017-08-28 Thread Gaute Hope
The deprecated Database.add_message now calls the new index_file with correct number of arguments (without an extra `self`), and returns the tuple from index_file - as it used to do before. --- bindings/python/notmuch/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] python: open messages in binary mode

2017-08-25 Thread Gaute Hope
David Bremner writes on august 25, 2017 0:11: Florian Klink writes: To fix this, read file in binary mode and pass to email.message_from_binary_file(fp). Thanks for the patch, but notmuch is not (yet) python3 only. Apparently that function is only since python 3.2. I'm

[Gmailieer] v0.2 released

2017-08-13 Thread Gaute Hope
Hi, this marks the release of version 0.2 of gmailieer - a fast fetch and two-way tag synchronization program for notmuch and GMail messages and tags: https://github.com/gauteh/gmailieer 'gmailieer' (or 'gmi') is a small program pulls email and labels (and changes to labels) from your

Re: find threads where I and Jian participated but not Dave

2017-06-22 Thread Gaute Hope
Gaute Hope writes on juni 22, 2017 8:08: Daniel Kahn Gillmor writes on juni 21, 2017 23:30: On Wed 2017-06-21 13:04:53 -0700, Matt Armstrong wrote: For what it is worth, I've found this idea from Daniel intriguing and pretty useful in practice: "show me threads in which i've partici

Re: find threads where I and Jian participated but not Dave

2017-06-22 Thread Gaute Hope
Daniel Kahn Gillmor writes on juni 21, 2017 23:30: On Wed 2017-06-21 13:04:53 -0700, Matt Armstrong wrote: For what it is worth, I've found this idea from Daniel intriguing and pretty useful in practice: "show me threads in which i've participated, where there are some messages flagged

Re: find threads where I and Jian participated but not Dave

2017-06-16 Thread Gaute Hope
David Bremner writes on juni 15, 2017 22:20: Daniel Kahn Gillmor writes: One of my long-standing wishes is to be able to say "show me mails in my inbox from people who have replied to messages i've sent them". This could be re-framed as "show me threads in which i've

[gmailieer] [release v0.1] Fast fetch and two-way tag synchronization between notmuch and GMail

2017-05-13 Thread Gaute Hope
Hi, gmailieer now has its first release! 'gmailieer' (or 'gmi') is a small program that can pull email and labels from your GMail account and store them locally in a maildir with the labels synchronized with a notmuch database. The changes to tags in the notmuch database may be pushed back to

[gmailieer] [release v0.1] Fast fetch and two-way tag synchronization between notmuch and GMail

2017-05-13 Thread Gaute Hope
Hi, gmailieer now has its first release! 'gmailieer' (or 'gmi') is a small program that can pull email and labels from your GMail account and store them locally in a maildir with the labels synchronized with a notmuch database. The changes to tags in the notmuch database may be pushed back to

Announcing Astroid v0.9

2017-05-13 Thread Gaute Hope
Greetings, Astroid v0.9 has been released! Astroid is a lightweight and fast graphical threads-with-tags email client for notmuch. Written in C++ using GTK+, WebKit and gmime. Astroid can be acquired at: $ git clone https://github.com/astroidmail/astroid.git Usage and instructions:

Re: [gmailieer] fast fetch and two-way tag synchronization between notmuch and GMail

2017-04-03 Thread Gaute Hope
Rafael Avila de Espindola writes on april 3, 2017 16:35: After a few issues with the initial sync this is working perfectly. Thanks a lot, it is a big improvement over mbsync. Great, thanks for the patches! This made inital sync much more robust. I have a non-user-api-key version working

Re: [gmailieer] fast fetch and two-way tag synchronization between notmuch and GMail

2017-03-27 Thread Gaute Hope
Rafael Espíndola writes on mars 27, 2017 15:23: $ gmi pull # does the initial pull, fetching all you messages - this # could take some time. It is currently running. Thank you so much. The only things I noticed so far: * running auth before init fails, but running init -c ... -a

Re: [gmailieer] fast fetch and two-way tag synchronization between notmuch and GMail

2017-03-26 Thread Gaute Hope
Rafael Avila de Espindola writes on mars 27, 2017 4:32: I currently have a mbsync + notmuch setup and I am just about to give this a try. One question is what the notmuch setup should look like. I assume I should create a new config file pointing to the directory where the emails will be

Announcing Astroid v0.8

2017-03-17 Thread Gaute Hope
Greetings, Astroid v0.8 is now ready! Astroid is a lightweight and fast graphical threads-with-tags email client for notmuch. Written in C++ using GTK+, WebKit and gmime. Astroid can be found at: $ git clone https://github.com/astroidmail/astroid.git ## Usage and instructions

Re: [gmailieer] fast fetch and two-way tag synchronization between notmuch and GMail

2017-03-14 Thread Gaute Hope
Rafael Avila de Espindola writes on mars 14, 2017 16:51: That looks really interesting. What is the license? :-) Ay, GPL v3+ it is! - gaute ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch

[gmailieer] fast fetch and two-way tag synchronization between notmuch and GMail

2017-03-13 Thread Gaute Hope
Hi, 'gmailieer' (or 'gmi') is a small program that can pull email and labels (and changes to labels) from your GMail account and store them locally in a maildir with the labels synchronized with a notmuch database. The changes to tags in the notmuch database may be pushed back remotely to your

[PATCH] bindings/python: test python Database.get_revision ()

2017-03-09 Thread Gaute Hope
Here is a test for Database.get_revision (), based on the first part of T570-revision-tracking.sh. --- test/T390-python.sh | 19 +++ 1 file changed, 19 insertions(+) diff --git a/test/T390-python.sh b/test/T390-python.sh index 4726bc36..b27f0740 100755 --- a/test/T390-python.sh

[PATCH] bindings/python: add bindings for notmuch_database_get_revision

2017-03-06 Thread Gaute Hope
Database.get_revision () returns a tuple with the current database revision and the UUID string representing the database. --- bindings/python/notmuch/database.py | 16 1 file changed, 16 insertions(+) diff --git a/bindings/python/notmuch/database.py

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: 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: 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: 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: 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

Announcing Astroid v0.7

2017-01-02 Thread Gaute Hope
Greetings, Astroid (https://github.com/astroidmail/astroid) v0.7 is now ready! Astroid is a lightweight and fast graphical threads-with-tags email client for notmuch. Written in C++ using GTK+, WebKit and gmime. Astroid can be found at: https://github.com/astroidmail/astroid : $ git clone

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

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

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: [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] 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

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: 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: 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

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: 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: 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: 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: 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: 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

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 =

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

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

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

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

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 :). >

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

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

[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

  1   2   >