Re: [notmuch] [PATCH] Permit opening the notmuch database in read-only mode.
authorKeith Packard <keithp@keithp.com>
Sat, 21 Nov 2009 20:06:43 +0000 (12:06 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:38 +0000 (09:35 -0800)
63/8abc8957017a96498e2d0160654a080138840d [new file with mode: 0644]

diff --git a/63/8abc8957017a96498e2d0160654a080138840d b/63/8abc8957017a96498e2d0160654a080138840d
new file mode 100644 (file)
index 0000000..036928d
--- /dev/null
@@ -0,0 +1,78 @@
+Return-Path: <keithp@keithp.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 51E6C431FBF\r
+       for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 12:06:48 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id UkbbgUsYaygJ for <notmuch@notmuchmail.org>;\r
+       Sat, 21 Nov 2009 12:06:47 -0800 (PST)\r
+Received: from keithp.com (home.keithp.com [63.227.221.253])\r
+       by olra.theworths.org (Postfix) with ESMTP id B4CAF431FAE\r
+       for <notmuch@notmuchmail.org>; Sat, 21 Nov 2009 12:06:47 -0800 (PST)\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by keithp.com (Postfix) with ESMTP id 267D976012A;\r
+       Sat, 21 Nov 2009 12:06:47 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at keithp.com\r
+Received: from keithp.com ([127.0.0.1])\r
+       by localhost (keithp.com [127.0.0.1]) (amavisd-new, port 10024)\r
+       with LMTP id wZ9K6kmv55Rc; Sat, 21 Nov 2009 12:06:44 -0800 (PST)\r
+Received: by keithp.com (Postfix, from userid 1033)\r
+       id 700DF76012B; Sat, 21 Nov 2009 12:06:44 -0800 (PST)\r
+Received: from keithp.com (localhost [127.0.0.1])\r
+       by keithp.com (Postfix) with ESMTP id 6221076012A;\r
+       Sat, 21 Nov 2009 12:06:44 -0800 (PST)\r
+From: Keith Packard <keithp@keithp.com>\r
+To: Chris Wilson <chris@chris-wilson.co.uk>, notmuch@notmuchmail.org\r
+In-Reply-To: <1258833265-17012-1-git-send-email-chris@chris-wilson.co.uk>\r
+References: <1258833265-17012-1-git-send-email-chris@chris-wilson.co.uk>\r
+Date: Sat, 21 Nov 2009 12:06:43 -0800\r
+Message-ID: <yunzl6fprqk.fsf@aiko.keithp.com>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+Subject: Re: [notmuch] [PATCH] Permit opening the notmuch database in\r
+ read-only mode.\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 21 Nov 2009 20:06:48 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Sat, 21 Nov 2009 19:54:25 +0000, Chris Wilson <chris@chris-wilson.co.uk>=\r
+ wrote:\r
+\r
+> +typedef enum {\r
+> +    NOTMUCH_DATABASE_MODE_READONLY =3D 0,\r
+> +    NOTMUCH_DATABASE_MODE_WRITABLE\r
+> +} notmuch_database_mode_t;\r
+\r
+Wondering if MODE_READWRITE would be more descriptive?\r
+\r
+=2D-=20\r
+keith.packard@intel.com\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFLCEhTQp8BWwlsTdMRAnecAKDblBPhY8xfCZFK1PWX40a0KLJ36QCgj7Op\r
+2SbKTlJreyKiER2HL1Il9W4=\r
+=hHY5\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r