Re: How does notmuch track mails?
[notmuch-archives.git] / 0c / ea6ae2821ab8e27c054f41c43c6203f8d63d2d
1 Return-Path: <tomi.ollila@iki.fi>\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 A1DAC6DE1216\r
6  for <notmuch@notmuchmail.org>; Sat, 28 Nov 2015 07:02:45 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.714\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.714 tagged_above=-999 required=5 tests=[AWL=0.062, \r
12  SPF_NEUTRAL=0.652] autolearn=disabled\r
13 Received: from arlo.cworth.org ([127.0.0.1])\r
14  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
15  with ESMTP id Alc753xHfAnx for <notmuch@notmuchmail.org>;\r
16  Sat, 28 Nov 2015 07:02:43 -0800 (PST)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18  by arlo.cworth.org (Postfix) with ESMTP id 8157B6DE0ACD\r
19  for <notmuch@notmuchmail.org>; Sat, 28 Nov 2015 07:02:43 -0800 (PST)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21  by guru.guru-group.fi (Postfix) with ESMTP id BAEBB1000CA;\r
22  Sat, 28 Nov 2015 17:02:50 +0200 (EET)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: David Bremner <david@tethera.net>,\r
25  Andrew Burgess <andrew.burgess@embecosm.com>, notmuch@notmuchmail.org\r
26 Subject: Re: [PATCH] configure: Use $prefix for emacs,\r
27  even when pkg-config is available.\r
28 In-Reply-To: <87egfa2rye.fsf@zancas.localnet>\r
29 References: <1448472725-11684-1-git-send-email-andrew.burgess@embecosm.com>\r
30  <87egfa2rye.fsf@zancas.localnet>\r
31 User-Agent: Notmuch/0.21+32~g73439f8 (http://notmuchmail.org) Emacs/24.3.1\r
32  (x86_64-unknown-linux-gnu)\r
33 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
34  $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
35  !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
36 Date: Sat, 28 Nov 2015 17:02:50 +0200\r
37 Message-ID: <m2k2p2rwth.fsf@guru.guru-group.fi>\r
38 MIME-Version: 1.0\r
39 Content-Type: text/plain\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.20\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44  <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
46  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
51  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Sat, 28 Nov 2015 15:02:45 -0000\r
53 \r
54 On Sat, Nov 28 2015, David Bremner <david@tethera.net> wrote:\r
55 \r
56 > Andrew Burgess <andrew.burgess@embecosm.com> writes:\r
57 >\r
58 >> Assumming that you have pkg-config installed, emacs installed, and the\r
59 >> command 'pkg-config emacs --variable sitepkglispdir' returns a\r
60 >> directory that only root can write to, then the make install above\r
61 >> should fail.\r
62 >\r
63 > I agree that the current behaviour is probably wrong. I'm not sure if we\r
64 > need more control here as Tomi suggests. My biggest concern is that\r
65 > emacs.pc seems to be rather specific to fedora / redhat packaging, which\r
66 > makes it hard for me to evaluate both the current handling and this\r
67 > patch. Do any any Fedora users have opinions on just dropping the\r
68 > handling of "pkg-config emacs"? Or am I missing other places that\r
69 > pkg-config file is available?\r
70 \r
71 Now that I looked this a bit more I tend to agree with David:\r
72 \r
73 default PREFIX is /usr/local\r
74 \r
75 and $ pkg-config emacs --variable sitepkglispdir\r
76 \r
77 outputs\r
78 \r
79 /usr/share/emacs/site-lisp\r
80 \r
81 (in default case we should mangle /local/ there in between ... :/ ).\r
82 \r
83 package managers can add \r
84 \r
85 ./configure ---emacslispdir=`pkg-config emacs --variable sitepkglispdir`\r
86 \r
87 in their build scripts.\r
88 \r
89 >\r
90 > d\r
91 \r
92 Tomi\r