Re: [PATCH 6/6] emacs: `notmuch-show-tag-all' sans prefix arg only tags open messages
[notmuch-archives.git] / 9b / b40d8d7aa7084f2a3f5d13bfabd84fe0264858
1 Return-Path: <tomi.ollila@nixu.com>\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 3F959431FD0\r
6         for <notmuch@notmuchmail.org>; Thu,  8 Dec 2011 00:49:59 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 fG2DrjHNte-P for <notmuch@notmuchmail.org>;\r
16         Thu,  8 Dec 2011 00:49:58 -0800 (PST)\r
17 Received: from mail-gw3.nixu.fi (mail-gw3.nixu.fi [193.209.237.7])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id B30AB431FB6\r
21         for <notmuch@notmuchmail.org>; Thu,  8 Dec 2011 00:49:57 -0800 (PST)\r
22 Received: from pps.filterd (mail-gw3 [127.0.0.1])\r
23         by mail-gw3.nixu.fi (8.14.4/8.14.4) with SMTP id pB88njB3025703;\r
24         Thu, 8 Dec 2011 10:49:45 +0200\r
25 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
26         by mail-gw3.nixu.fi with ESMTP id 114cs0s1nj-1\r
27         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
28         Thu, 08 Dec 2011 10:49:45 +0200\r
29 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
30         by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id\r
31         pB88nhVR023924; Thu, 8 Dec 2011 10:49:44 +0200\r
32 From: Tomi Ollila <tomi.ollila@iki.fi>\r
33 To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
34         Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
35 Subject: Re: [PATCH v3 0/2] notmuch hooks\r
36 In-Reply-To: <87ipls81za.fsf@servo.finestructure.net>\r
37 References:\r
38  <7fbe6befcf31881a9bca672f55b93501249a220c.1322859389.git.jani@nikula.org>\r
39         <cover.1323176771.git.jani@nikula.org>\r
40         <87hb1dru9c.fsf@servo.finestructure.net>        <87iplsb23a.fsf@nikula.org>\r
41         <87ipls81za.fsf@servo.finestructure.net>\r
42 User-Agent: Notmuch/0.10.2+70~gf0e0053 (http://notmuchmail.org) Emacs/23.3.1\r
43         (i686-pc-linux-gnu)\r
44 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
45         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
46         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
47 Date: Thu, 08 Dec 2011 10:49:43 +0200\r
48 Message-ID: <yf6sjkvwiqg.fsf@taco2.nixu.fi>\r
49 MIME-Version: 1.0\r
50 Content-Type: text/plain; charset=us-ascii\r
51 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110,\r
52  1.0.211,       0.0.0000        definitions=2011-12-08_02:2011-12-08, 2011-12-08,\r
53         1970-01-01 signatures=0\r
54 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0\r
55         ipscore=0 suspectscore=0\r
56         phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0\r
57         reason=mlx\r
58         scancount=1 engine=6.0.2-1012030000 definitions=main-1112080008\r
59 X-BeenThere: notmuch@notmuchmail.org\r
60 X-Mailman-Version: 2.1.13\r
61 Precedence: list\r
62 List-Id: "Use and development of the notmuch mail system."\r
63         <notmuch.notmuchmail.org>\r
64 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
65         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
66 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
67 List-Post: <mailto:notmuch@notmuchmail.org>\r
68 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
69 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
70         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
71 X-List-Received-Date: Thu, 08 Dec 2011 08:49:59 -0000\r
72 \r
73 On Wed, 07 Dec 2011 14:13:13 -0800, Jameson Graef Rollins <jrollins@finestructure.net> wrote:\r
74 > On Wed, 07 Dec 2011 21:42:33 +0200, Jani Nikula <jani@nikula.org> wrote:\r
75 > > I wonder, though, whether the samples should be created only when\r
76 > > creating the database, or whenever the hooks directory does not exist?\r
77 > > The latter, I guess. Otherwise existing notmuch users would hardly get\r
78 > > the sample hooks.\r
79\r
80 > I agree, the later would be better.  notmuch new should just create the\r
81 > hooks directory (and example scripts) if they don't already exist.\r
82 \r
83 +1\r
84 \r
85\r
86 > I also think it's nice to have the scripts not executable to begin with,\r
87 > and the hook runner only executes the script if they are executable.\r
88 \r
89 If the hooks are named as 'pre-new.sample' and 'post-new.sample' and\r
90 executable then users need just copy the file and start editing (and\r
91 not remember to do any chmod's)...\r
92 \r
93 ... this is the way it seems to be in .git/hooks -- I tested copy --\r
94 permission bits seems to follow (filtered by umask).\r
95 \r
96 > jamie.\r
97 \r
98 Tomi\r