unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Carl Worth <cworth@cworth.org>
To: Keith Packard <keithp@keithp.com>,
	Chris Wilson <chris@chris-wilson.co.uk>,
	notmuch@notmuchmail.org
Subject: Re: [PATCH] Permit opening the notmuch database in read-only mode.
Date: Sat, 21 Nov 2009 22:26:07 +0100	[thread overview]
Message-ID: <87skc736z4.fsf@yoom.home.cworth.org> (raw)
In-Reply-To: <yunzl6fprqk.fsf@aiko.keithp.com>

On Sat, 21 Nov 2009 12:06:43 -0800, Keith Packard <keithp@keithp.com> wrote:
> On Sat, 21 Nov 2009 19:54:25 +0000, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> 
> > +typedef enum {
> > +    NOTMUCH_DATABASE_MODE_READONLY = 0,
> > +    NOTMUCH_DATABASE_MODE_WRITABLE
> > +} notmuch_database_mode_t;
> 
> Wondering if MODE_READWRITE would be more descriptive?

I went with READ_ONLY and READ_WRITE and pushed this.

Thanks, Chris! It's a nice feature.

-Carl

  reply	other threads:[~2009-11-21 21:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-21 19:54 [PATCH] Permit opening the notmuch database in read-only mode Chris Wilson
2009-11-21 20:06 ` Keith Packard
2009-11-21 21:26   ` Carl Worth [this message]
2009-11-21 21:34     ` [PATCH] _READ_Write -> _READ_WRITE Jed Brown
  -- strict thread matches above, loose matches on Subject: below --
2009-11-21 20:08 [PATCH] Permit opening the notmuch database in read-only mode Chris Wilson
2009-11-22  4:07 ` Carl Worth

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=87skc736z4.fsf@yoom.home.cworth.org \
    --to=cworth@cworth.org \
    --cc=chris@chris-wilson.co.uk \
    --cc=keithp@keithp.com \
    --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).