[PATCH 1/3] emacs: add a function to heuristically test if the CLI is configured OK.
[notmuch-archives.git] / cb / 0be5a31625cc531bc33b2be7140ce97bb464f2
1 Return-Path: <jani@nikula.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 1737D431FBD\r
6         for <notmuch@notmuchmail.org>; Sat, 25 Jan 2014 11:30:10 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id c7tJwPqavHrW for <notmuch@notmuchmail.org>;\r
16         Sat, 25 Jan 2014 11:30:02 -0800 (PST)\r
17 Received: from mail-ee0-f49.google.com (mail-ee0-f49.google.com\r
18  [74.125.83.49])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
19  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
20  B96A2431FBC    for <notmuch@notmuchmail.org>; Sat, 25 Jan 2014 11:30:01 -0800\r
21  (PST)\r
22 Received: by mail-ee0-f49.google.com with SMTP id d17so1537184eek.36\r
23         for <notmuch@notmuchmail.org>; Sat, 25 Jan 2014 11:29:59 -0800 (PST)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=1e100.net; s=20130820;\r
26         h=x-gm-message-state:from:to:subject:in-reply-to:references\r
27         :user-agent:date:message-id:mime-version:content-type;\r
28         bh=pPFraViFsUwwWOT6hCXpyq2Q9PaZrpwNTTnF6ygQT6Y=;\r
29         b=WJx/8lwkOqY6PO5RLZiFlLWD553oD9P4SdgcjykE4HGgDUajF9UwtR51nj9+3Tqvdy\r
30         uJhf4kyJvYVCJQ3C2qAc47v65C7JSfBgC4wYFNM3w1XdgEavhvzBNrXO1VT/z/TINua8\r
31         HWD6khefdsOGo/dxiPFc/ulGHwWpOwUSAq4LLu/1j1R4gefwW1M5bBxKtpIReizu+7z+\r
32         bJuFA+rF3Dgv6uVpHxGCBbP/BnWZ7rLk9fUiW2wKFUHQcNej4CWb6nFifNzTI/gn6tJ6\r
33         TNJS2YkiclCU582FWKCwmNcUE855YlZDNxQEtKY5gRVgKIQmwpv6XYyYihQ6I1AoCyE/\r
34         D7dA==\r
35 X-Gm-Message-State:\r
36  ALoCoQkvBe/2vbySLFDycfm4USRlJNlX1R3Fdv5lRxSdWOF21BWlrCdLe37z958E/QD2hoZoxAhZ\r
37 X-Received: by 10.15.33.193 with SMTP id c41mr7656578eev.79.1390678198047;\r
38         Sat, 25 Jan 2014 11:29:58 -0800 (PST)\r
39 Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi.\r
40         [88.195.111.91]) by mx.google.com with ESMTPSA id\r
41         o13sm19398898eex.19.2014.01.25.11.29.56 for <multiple recipients>\r
42         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
43         Sat, 25 Jan 2014 11:29:57 -0800 (PST)\r
44 From: Jani Nikula <jani@nikula.org>\r
45 To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org\r
46 Subject: Re: automatic database upgrades (was: Re: [PATCH 0/7] cli: notmuch\r
47         new improvements)\r
48 In-Reply-To: <87fvoc9dd7.fsf@qmul.ac.uk>\r
49 References: <cover.1390163335.git.jani@nikula.org> <87ppnga21o.fsf@qmul.ac.uk>\r
50         <87lhy4f6pr.fsf@nikula.org> <87fvoc9dd7.fsf@qmul.ac.uk>\r
51 User-Agent: Notmuch/0.17+44~ge3b4cd9 (http://notmuchmail.org) Emacs/24.3.1\r
52         (x86_64-pc-linux-gnu)\r
53 Date: Sat, 25 Jan 2014 21:29:55 +0200\r
54 Message-ID: <87d2jfg8r0.fsf@nikula.org>\r
55 MIME-Version: 1.0\r
56 Content-Type: text/plain\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\r
59 Precedence: list\r
60 List-Id: "Use and development of the notmuch mail system."\r
61         <notmuch.notmuchmail.org>\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
65 List-Post: <mailto:notmuch@notmuchmail.org>\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Sat, 25 Jan 2014 19:30:10 -0000\r
70 \r
71 On Sat, 25 Jan 2014, Mark Walters <markwalters1009@gmail.com> wrote:\r
72 > What about a config option? Something like\r
73 > database_auto_upgrade=true/false? I wouldn't have a strong preference\r
74 > which was the default (though I would choose "false" in my own\r
75 > config). I guess we would need a command line --upgrade to allow people\r
76 > with database_auto_upgrade=false to do force/allow the upgrade.\r
77 \r
78 I just recently read [1] again, I think it's a good one.\r
79 \r
80 It makes me ask the question, why should we ask the user to make that\r
81 decision? The decision of what to do with the config option, or even\r
82 whether to upgrade the database or not. Basically the decision is made\r
83 when the user decides to upgrade notmuch. Once the user has upgraded\r
84 notmuch his choices are to upgrade the database or downgrade notmuch.\r
85 \r
86 The user would probably just like to get on with the mail reading, which\r
87 is probably also just means to an end!\r
88 \r
89 BR,\r
90 Jani.\r
91 \r
92 \r
93 [1] http://www.joelonsoftware.com/uibook/chapters/fog0000000059.html\r
94 \r