Changes since v5 (based on Tomi's feedback):
* Return the same error message when config file is not found to
avoid breaking test T040-setup.1.
Ioan-Adrian Ratiu (1):
notmuch-config: replace config reading function
Jani Nikula (1):
cli: abstract config file reading to a separate
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
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
On Thu, Dec 08 2016, David Bremner wrote:
> If your using the elpa packages (e.g. in recent debian packages), you might
> have
> noticed that the autoloading of notmuch-search was not working.
>
> This is a fix for that. You can test it by running:
>
> emacs -q
> M-x
On Wed, Dec 07 2016, David Bremner wrote:
> I went back and forth few times, but eventually decided to go with
> Tomi's version of the test quoting, the better to share the blame.
> The patches will be merged to release and master, in prep for another
> bugfix release. Here
On Thu, Dec 08 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
>