[PATCH] cli: change "setup" to "set up" where used as a verb
[notmuch-archives.git] / f8 / 21ccb3de5182c70b1f1efaac00f4b9755f7fe8
1 Return-Path: <jlmuir@mink.imca.aps.anl.gov>\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 arlo.cworth.org (Postfix) with ESMTP id 8A1186DE1552\r
6  for <notmuch@notmuchmail.org>; Thu, 28 May 2015 10:10:08 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.289\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.289 tagged_above=-999 required=5 tests=[AWL=0.829, \r
12  RP_MATCHES_RCVD=-0.55, T_HEADER_FROM_DIFFERENT_DOMAINS=0.01]\r
13  autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id Vh6Ty24VagoF for <notmuch@notmuchmail.org>;\r
17  Thu, 28 May 2015 10:10:06 -0700 (PDT)\r
18 X-Greylist: delayed 83754 seconds by postgrey-1.35 at arlo;\r
19  Thu, 28 May 2015 10:10:06 PDT\r
20 Received: from mink.imca.aps.anl.gov (mink.imca.aps.anl.gov [164.54.200.120])\r
21  by arlo.cworth.org (Postfix) with ESMTP id 4351D6DE0274\r
22  for <notmuch@notmuchmail.org>; Thu, 28 May 2015 10:10:06 -0700 (PDT)\r
23 Received: by mink.imca.aps.anl.gov (Postfix, from userid 501)\r
24  id D21E16054B2A; Wed, 27 May 2015 12:54:09 -0500 (CDT)\r
25 From: "J. Lewis Muir" <jlmuir@imca-cat.org>\r
26 To: notmuch@notmuchmail.org\r
27 Subject: [PATCH] cli: change "setup" to "set up" where used as a verb\r
28 Date: Wed, 27 May 2015 12:53:52 -0500\r
29 Message-Id: <1432749232-72654-1-git-send-email-jlmuir@imca-cat.org>\r
30 X-Mailer: git-send-email 2.3.2 (Apple Git-55)\r
31 X-BeenThere: notmuch@notmuchmail.org\r
32 X-Mailman-Version: 2.1.18\r
33 Precedence: list\r
34 List-Id: "Use and development of the notmuch mail system."\r
35  <notmuch.notmuchmail.org>\r
36 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
37  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
38 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
39 List-Post: <mailto:notmuch@notmuchmail.org>\r
40 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
41 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
42  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
43 X-List-Received-Date: Thu, 28 May 2015 17:10:08 -0000\r
44 \r
45 The word "setup" is a noun, not a verb.  Change occurrences of "setup"\r
46 where used as a verb to "set up".\r
47 \r
48 ---\r
49 \r
50 The only user-visible change is to the short description of the setup\r
51 command in the "notmuch help" output.  The rest of the changes are just\r
52 to source code comments or test case status messages.\r
53 ---\r
54  NEWS                              | 2 +-\r
55  lib/database.cc                   | 2 +-\r
56  notmuch-insert.c                  | 2 +-\r
57  notmuch-new.c                     | 4 ++--\r
58  notmuch-tag.c                     | 2 +-\r
59  notmuch.c                         | 2 +-\r
60  performance-test/perf-test-lib.sh | 2 +-\r
61  test/test-lib.sh                  | 2 +-\r
62  8 files changed, 9 insertions(+), 9 deletions(-)\r
63 \r
64 diff --git a/NEWS b/NEWS\r
65 index eeaf0d4..393411a 100644\r
66 --- a/NEWS\r
67 +++ b/NEWS\r
68 @@ -2756,7 +2756,7 @@ New 'G' key binding to trigger mail refresh (G == "Get new mail")\r
69  \r
70    The 'G' key works wherever '=' works. Before refreshing the screen\r
71    it calls an external program that can be used to poll email servers,\r
72 -  run notmuch new and setup specific tags for the new emails. The\r
73 +  run notmuch new and set up specific tags for the new emails. The\r
74    script to be called should be configured with the "Notmuch Poll\r
75    Script" setting in the customize interface. This script will\r
76    typically invoke "notmuch new" and then perhaps several "notmuch\r
77 diff --git a/lib/database.cc b/lib/database.cc\r
78 index cffab62..78a24f7 100644\r
79 --- a/lib/database.cc\r
80 +++ b/lib/database.cc\r
81 @@ -1336,7 +1336,7 @@ notmuch_database_upgrade (notmuch_database_t *notmuch,\r
82         return NOTMUCH_STATUS_SUCCESS;\r
83  \r
84      if (progress_notify) {\r
85 -       /* Setup our handler for SIGALRM */\r
86 +       /* Set up our handler for SIGALRM */\r
87         memset (&action, 0, sizeof (struct sigaction));\r
88         action.sa_handler = handle_sigalrm;\r
89         sigemptyset (&action.sa_mask);\r
90 diff --git a/notmuch-insert.c b/notmuch-insert.c\r
91 index 90fe3ba..41a1144 100644\r
92 --- a/notmuch-insert.c\r
93 +++ b/notmuch-insert.c\r
94 @@ -521,7 +521,7 @@ notmuch_insert_command (notmuch_config_t *config, int argc, char *argv[])\r
95             return EXIT_FAILURE;\r
96      }\r
97  \r
98 -    /* Setup our handler for SIGINT. We do not set SA_RESTART so that copying\r
99 +    /* Set up our handler for SIGINT. We do not set SA_RESTART so that copying\r
100       * from standard input may be interrupted. */\r
101      memset (&action, 0, sizeof (struct sigaction));\r
102      action.sa_handler = handle_sigint;\r
103 diff --git a/notmuch-new.c b/notmuch-new.c\r
104 index e6c283e..5ac7eed 100644\r
105 --- a/notmuch-new.c\r
106 +++ b/notmuch-new.c\r
107 @@ -662,7 +662,7 @@ setup_progress_printing_timer (void)\r
108      struct sigaction action;\r
109      struct itimerval timerval;\r
110  \r
111 -    /* Setup our handler for SIGALRM */\r
112 +    /* Set up our handler for SIGALRM */\r
113      memset (&action, 0, sizeof (struct sigaction));\r
114      action.sa_handler = handle_sigalrm;\r
115      sigemptyset (&action.sa_mask);\r
116 @@ -1047,7 +1047,7 @@ notmuch_new_command (notmuch_config_t *config, int argc, char *argv[])\r
117      if (notmuch == NULL)\r
118         return EXIT_FAILURE;\r
119  \r
120 -    /* Setup our handler for SIGINT. We do this after having\r
121 +    /* Set up our handler for SIGINT. We do this after having\r
122       * potentially done a database upgrade we this interrupt handler\r
123       * won't support. */\r
124      memset (&action, 0, sizeof (struct sigaction));\r
125 diff --git a/notmuch-tag.c b/notmuch-tag.c\r
126 index 5b2f1e4..2c6e442 100644\r
127 --- a/notmuch-tag.c\r
128 +++ b/notmuch-tag.c\r
129 @@ -195,7 +195,7 @@ notmuch_tag_command (notmuch_config_t *config, int argc, char *argv[])\r
130      int opt_index;\r
131      int ret;\r
132  \r
133 -    /* Setup our handler for SIGINT */\r
134 +    /* Set up our handler for SIGINT */\r
135      memset (&action, 0, sizeof (struct sigaction));\r
136      action.sa_handler = handle_sigint;\r
137      sigemptyset (&action.sa_mask);\r
138 diff --git a/notmuch.c b/notmuch.c\r
139 index a5b2877..e5c2aeb 100644\r
140 --- a/notmuch.c\r
141 +++ b/notmuch.c\r
142 @@ -47,7 +47,7 @@ static command_t commands[] = {\r
143      { NULL, notmuch_command, TRUE,\r
144        "Notmuch main command." },\r
145      { "setup", notmuch_setup_command, TRUE,\r
146 -      "Interactively setup notmuch for first use." },\r
147 +      "Interactively set up notmuch for first use." },\r
148      { "new", notmuch_new_command, FALSE,\r
149        "Find and import new messages to the notmuch database." },\r
150      { "insert", notmuch_insert_command, FALSE,\r
151 diff --git a/performance-test/perf-test-lib.sh b/performance-test/perf-test-lib.sh\r
152 index 75e3d87..88601fc 100644\r
153 --- a/performance-test/perf-test-lib.sh\r
154 +++ b/performance-test/perf-test-lib.sh\r
155 @@ -203,7 +203,7 @@ time_done ()\r
156      fi\r
157  }\r
158  \r
159 -cd -P "$test" || error "Cannot setup test environment"\r
160 +cd -P "$test" || error "Cannot set up test environment"\r
161  test_failure=0\r
162  test_count=0\r
163  \r
164 diff --git a/test/test-lib.sh b/test/test-lib.sh\r
165 index 486d1c4..23085e7 100644\r
166 --- a/test/test-lib.sh\r
167 +++ b/test/test-lib.sh\r
168 @@ -1231,7 +1231,7 @@ emacs_generate_script\r
169  \r
170  # Use -P to resolve symlinks in our working directory so that the cwd\r
171  # in subprocesses like git equals our $PWD (for pathname comparisons).\r
172 -cd -P "$test" || error "Cannot setup test environment"\r
173 +cd -P "$test" || error "Cannot set up test environment"\r
174  \r
175  if test "$verbose" = "t"\r
176  then\r
177 -- \r
178 2.3.2 (Apple Git-55)\r
179 \r