Re: Splitting long lines in .notmuch-config

Subject: Re: Splitting long lines in .notmuch-config

Date: Wed, 05 Oct 2022 19:48:38 -0300

To: Rudolf Adamkovič, notmuch@notmuchmail.org

Cc:

From: David Bremner


Rudolf Adamkovič <salutis@me.com> writes:

> Hi there!
>
> Is it possible to split long lines in the .notmuch-config?  I normally
> wrap my markup, config, and source files to 80 columns, but some of the
> queries I define in my .notmuch-config now sprawl for over 200 columns.
> I have tried to use two backslashes (\\) followed by a newline, like in
> say Bash, but that does not work.  Any tips?

Not sure if this helps, but we are using the GLib GKeyFile API, so
whatever it supports (if anything) for line continuation, we do too.

One not so nice strategy would be to break your queries up into several
subqueries and and/or them together.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: