unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: notmuch@notmuchmail.org
Subject: Re: [PATCH 1/3] CLI: stash pointer to database in sprinter structs
Date: Tue, 18 Jan 2022 08:14:30 -0400	[thread overview]
Message-ID: <87h7a1w89l.fsf@tethera.net> (raw)
In-Reply-To: <20220101120136.37988-2-david@tethera.net>

David Bremner <david@tethera.net> writes:

> We already use an allocated (and presumably open) database as a talloc
> context. Keeping the pointer in the allocated struct will allow us to
> e.g. interrogate the configuration in a sprinter function without
> threading the database all the way through the various levels of function.

Series applied to master.

d

  reply	other threads:[~2022-01-18 12:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-01 12:01 support extra headers in notmuch show v2 David Bremner
2022-01-01 12:01 ` [PATCH 1/3] CLI: stash pointer to database in sprinter structs David Bremner
2022-01-18 12:14   ` David Bremner [this message]
2022-01-18 13:26     ` [PATCH] doc: document new option `show.extra_headers` David Bremner
2022-01-25 11:57       ` David Bremner
2022-01-01 12:01 ` [PATCH 2/3] lib/config: add known config key "show.extra_headers" David Bremner
2022-01-01 12:01 ` [PATCH 3/3] CLI: print extra headers in structured output David Bremner

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=87h7a1w89l.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    /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).