Re: v2 of insert tempfail series

2016-12-04 Thread Tomi Ollila
On Tue, Nov 29 2016, David Bremner wrote: > This incorporates Tomi's patch of > > id:1480367228-22183-1-git-send-email-tomi.oll...@iki.fi > > verbatim, to sort out conflicts. > > It fixes the issues I alread sent mail about, and puts back the --keep > tests for various

Re: [PATCH v3 2/2] notmuch-config: replace config reading function

2016-12-04 Thread Tomi Ollila
On Sun, Dec 04 2016, Ioan-Adrian Ratiu wrote: > Config files are currently read using glib's g_key_file_load_from_file > function which is very inconvenient because it's limited by design to read > only from "regular data files" in a filesystem. Because of this limitation >

[PATCH v3 1/2] cli: abstract config file reading to a separate function

2016-12-04 Thread Ioan-Adrian Ratiu
From: Jani Nikula Simplify and fix the coding style while at it. --- notmuch-config.c | 65 ++-- 1 file changed, 35 insertions(+), 30 deletions(-) diff --git a/notmuch-config.c b/notmuch-config.c index e5d42a0..bd52790 100644

[PATCH v3 2/2] notmuch-config: replace config reading function

2016-12-04 Thread Ioan-Adrian Ratiu
Config files are currently read using glib's g_key_file_load_from_file function which is very inconvenient because it's limited by design to read only from "regular data files" in a filesystem. Because of this limitation notmuch can't read configs from pipes, fifos, sockets, stdin, etc. Not even

[PATCH v3 0/2] Refactor config reading to support non-regular files

2016-12-04 Thread Ioan-Adrian Ratiu
Changes since v2 (based on Tomi's feedback): * Rewrote config reading loop to use fread instead of fgets (behaves the same but the code looks much better now). Ioan-Adrian Ratiu (1): notmuch-config: replace config reading function Jani Nikula (1): cli: abstract config file reading to

Re: [PATCH v2 2/2] notmuch-config: replace config reading function

2016-12-04 Thread Tomi Ollila
On Sun, Nov 06 2016, Ioan-Adrian Ratiu wrote: > Config files are currently read using glib's g_key_file_load_from_file > function which is very inconvenient because it's limited by design to read > only from "regular data files" in a filesystem. Because of this limitation >