unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: "Rudolf Adamkovič" <salutis@me.com>, notmuch@notmuchmail.org
Subject: Re: Splitting long lines in .notmuch-config
Date: Wed, 05 Oct 2022 19:48:38 -0300	[thread overview]
Message-ID: <87edvlanuh.fsf@tethera.net> (raw)
In-Reply-To: <m2tu4impvw.fsf@me.com>

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.\r

  reply	other threads:[~2022-10-05 22:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-05 12:11 Splitting long lines in .notmuch-config Rudolf Adamkovič
2022-10-05 22:48 ` David Bremner [this message]
2022-10-13 23:08   ` Rudolf Adamkovič

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87edvlanuh.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    --cc=salutis@me.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).