From: David Bremner Date: Sun, 28 Sep 2014 06:36:01 +0000 (+0200) Subject: Re: [RFC] database: get and set mapping of dovecot compatible maildir keywords X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c4ff947d5ba68046d52d727f772f4db549234403;p=notmuch-archives.git Re: [RFC] database: get and set mapping of dovecot compatible maildir keywords --- diff --git a/2c/3897b1b0ae4fec5494bca45f75aab958dee395 b/2c/3897b1b0ae4fec5494bca45f75aab958dee395 new file mode 100644 index 000000000..463686ca8 --- /dev/null +++ b/2c/3897b1b0ae4fec5494bca45f75aab958dee395 @@ -0,0 +1,73 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 225F1431FC2 + for ; Sat, 27 Sep 2014 23:36:17 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id t638Vjit5kBK for ; + Sat, 27 Sep 2014 23:36:09 -0700 (PDT) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 5DD92431FC0 + for ; Sat, 27 Sep 2014 23:36:09 -0700 (PDT) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1XY85W-0001ex-NW; Sun, 28 Sep 2014 03:36:06 -0300 +Received: (nullmailer pid 3783 invoked by uid 1000); Sun, 28 Sep 2014 + 06:36:01 -0000 +From: David Bremner +To: Michal Sojka , notmuch@notmuchmail.org +Subject: Re: [RFC] database: get and set mapping of dovecot compatible + maildir keywords +In-Reply-To: <87bnq0feel.fsf@maritornes.cs.unb.ca> +References: <1411805835-3563-1-git-send-email-david@tethera.net> + <87iok8vog6.fsf@steelpick.2x.cz> <87bnq0feel.fsf@maritornes.cs.unb.ca> +User-Agent: Notmuch/0.18.1+98~gae27403 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Sun, 28 Sep 2014 08:36:01 +0200 +Message-ID: <878ul4fe0e.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sun, 28 Sep 2014 06:36:17 -0000 + +David Bremner writes: + +> Michal Sojka writes: +> +> +>> I'd prefer having the mapping stored in the config file rather than in +>> the database. This would allow me to synchronize the configuration +>> between multiple computers. Would there be some benefit of having the +>> mapping (also) in the database? +> +> In retrospect, probably not that great a benefit, except I kindof +> dislike the idea of putting the mess that is notmuch-config.c into the +> library, so we'd likely have to deal with coming up with a clean config +> file mechanism. + +One issue such a configuration mechanism would have to deal with that +the current one does not is concurrent access by multiple clients. This +is not impossible, but just another complication. + +d