Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 54 / edc6b42520654fd13ab4ad87b050241b75c71e
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 3C260431FC2\r
6         for <notmuch@notmuchmail.org>; Fri,  1 Nov 2013 07:27:52 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
9 X-Spam-Flag: NO\r
10 X-Spam-Score: -0.7\r
11 X-Spam-Level: \r
12 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
13         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id rGdK-OhOsMFk for <notmuch@notmuchmail.org>;\r
17         Fri,  1 Nov 2013 07:27:47 -0700 (PDT)\r
18 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com\r
19         [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 8CFA6431FD5\r
22         for <notmuch@notmuchmail.org>; Fri,  1 Nov 2013 07:27:42 -0700 (PDT)\r
23 Received: by mail-wi0-f181.google.com with SMTP id ex4so1149710wid.14\r
24         for <notmuch@notmuchmail.org>; Fri, 01 Nov 2013 07:27:41 -0700 (PDT)\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
26         d=1e100.net; s=20130820;\r
27         h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\r
28         :references:in-reply-to:references;\r
29         bh=m2qSM9sjvoxtu03gctgLFc6H29ot9OEoRAH9vrQPghY=;\r
30         b=TqSnlBlHrjl8r6UIoxYhgPUYsnC4lTKTtc3BRf9KD4/pmfEEOs+TegrLauAEaUvLnm\r
31         jgMRsbuOVXUKIvuPHZmBzS2GJ593/Vx9CQ+P8l09F5gnaBOI6Ord+alk2BqD+zf3g6ym\r
32         YSPQZJXaRjGlVXCdCWBhPhZwWDflP+JtsjjYsQYckl/sxwSZmiBPlt5WOKtFyaQ3HKqh\r
33         cdWPTvEEI7PaZKLj3pp7GeA8agkmT9+aT+8ucpjD2VR42bTBONSwaZSlLrTOYLOp78d1\r
34         cNLjuOztNIHc+5OBQk8XRtP2tatTimC1XaBFGH+3fKgFWdtDMf5dGb7P/lpz4TnkUEcx\r
35         hgkQ==\r
36 X-Gm-Message-State:\r
37  ALoCoQmNFK7j9pxKHtn2GsQATDMXwWVF7PsFnCz+BWh9fUHSJjRtcVYXGD2D0OGIKuw/FOrTRTbC\r
38 X-Received: by 10.194.23.8 with SMTP id i8mr121731wjf.68.1383316061467;\r
39         Fri, 01 Nov 2013 07:27:41 -0700 (PDT)\r
40 Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3])\r
41         by mx.google.com with ESMTPSA id ev4sm6974522wib.7.2013.11.01.07.27.40\r
42         for <multiple recipients>\r
43         (version=TLSv1.1 cipher=RC4-SHA bits=128/128);\r
44         Fri, 01 Nov 2013 07:27:40 -0700 (PDT)\r
45 From: Jani Nikula <jani@nikula.org>\r
46 To: notmuch@notmuchmail.org\r
47 Subject: [PATCH 4/6] cli: return error status if compaction fails\r
48 Date: Fri,  1 Nov 2013 15:27:13 +0100\r
49 Message-Id:\r
50  <8448d3b3daaca43859c984f5623f279d4510288a.1383315568.git.jani@nikula.org>\r
51 X-Mailer: git-send-email 1.7.2.5\r
52 In-Reply-To: <cover.1383315568.git.jani@nikula.org>\r
53 References: <cover.1383315568.git.jani@nikula.org>\r
54 In-Reply-To: <cover.1383315568.git.jani@nikula.org>\r
55 References: <cover.1383315568.git.jani@nikula.org>\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.13\r
58 Precedence: list\r
59 List-Id: "Use and development of the notmuch mail system."\r
60         <notmuch.notmuchmail.org>\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
64 List-Post: <mailto:notmuch@notmuchmail.org>\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
68 X-List-Received-Date: Fri, 01 Nov 2013 14:27:52 -0000\r
69 \r
70 ---\r
71  notmuch-compact.c |   19 ++++++++++---------\r
72  1 files changed, 10 insertions(+), 9 deletions(-)\r
73 \r
74 diff --git a/notmuch-compact.c b/notmuch-compact.c\r
75 index 043710f..2afa725 100644\r
76 --- a/notmuch-compact.c\r
77 +++ b/notmuch-compact.c\r
78 @@ -39,16 +39,17 @@ notmuch_compact_command (notmuch_config_t *config,\r
79      ret = notmuch_database_compact (path, backup_path, status_update_cb, NULL);\r
80      if (ret) {\r
81         fprintf (stderr, "Compaction failed: %s\n", notmuch_status_to_string(ret));\r
82 -    } else {\r
83 -       printf ("\n");\r
84 -       printf ("\n");\r
85 -       printf ("The old database has been moved to %s", backup_path);\r
86 -       printf ("\n");\r
87 -       printf ("To delete run,\n");\r
88 -       printf ("\n");\r
89 -       printf ("    rm -R %s\n", backup_path);\r
90 -       printf ("\n");\r
91 +       return 1;\r
92      }\r
93  \r
94 +    printf ("\n");\r
95 +    printf ("\n");\r
96 +    printf ("The old database has been moved to %s", backup_path);\r
97 +    printf ("\n");\r
98 +    printf ("To delete run,\n");\r
99 +    printf ("\n");\r
100 +    printf ("    rm -R %s\n", backup_path);\r
101 +    printf ("\n");\r
102 +\r
103      return 0;\r
104  }\r
105 -- \r
106 1.7.2.5\r
107 \r