Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / 57 / 2da8801e7b289eb78eb5a5168c59f87e220806
1 Return-Path: <david@tethera.net>\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 0F5516DE1761\r
6  for <notmuch@notmuchmail.org>; Sun,  2 Aug 2015 03:25:32 -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.145\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.145 tagged_above=-999 required=5 tests=[AWL=0.145]\r
12  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 8uU8HexLIoqg for <notmuch@notmuchmail.org>;\r
16  Sun,  2 Aug 2015 03:25:28 -0700 (PDT)\r
17 Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224])\r
18  by arlo.cworth.org (Postfix) with ESMTPS id 3A06D6DE173B\r
19  for <notmuch@notmuchmail.org>; Sun,  2 Aug 2015 03:25:28 -0700 (PDT)\r
20 Received: from remotemail by gitolite.debian.net with local (Exim 4.80)\r
21  (envelope-from <david@tethera.net>)\r
22  id 1ZLqQF-0000oa-8e; Sun, 02 Aug 2015 10:23:15 +0000\r
23 Received: (nullmailer pid 30956 invoked by uid 1000); Sun, 02 Aug 2015\r
24  10:23:00 -0000\r
25 From: David Bremner <david@tethera.net>\r
26 To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
27 Subject: Re: [PATCH] notmuch-emacs-mua: do not start emacs daemon w/o\r
28  --create-frame\r
29 In-Reply-To: <1431371993-24292-1-git-send-email-tomi.ollila@iki.fi>\r
30 References: <1431194464-2595-1-git-send-email-jani@nikula.org>\r
31  <1431371993-24292-1-git-send-email-tomi.ollila@iki.fi>\r
32 User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.1\r
33  (x86_64-pc-linux-gnu)\r
34 Date: Sun, 02 Aug 2015 12:23:00 +0200\r
35 Message-ID: <87mvya3s6z.fsf@maritornes.cs.unb.ca>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain\r
38 Cc: tomi.ollila@iki.fi\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.18\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43  <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Sun, 02 Aug 2015 10:25:32 -0000\r
52 \r
53 Tomi Ollila <tomi.ollila@iki.fi> writes:\r
54 \r
55 > notmuch-emacs-mua --client used to start daemon process if it was\r
56 > not running -- just that no emacs mail window of any kind from\r
57 > that is visible to the user.\r
58 >\r
59 > When not starting emacs server in this case notmuch-emacs-mua\r
60 > user will get the same message as would emacsclient user\r
61 > have, which should be enough for such user to understand how\r
62 > to proceed starting emacs server in a way that it is useable\r
63 > for this purpose.\r
64 \r
65 I'm not a big fan of overloading arguments, i.e. if the daemon isn't\r
66 automatically started for all uses of --client, I'd rather there was\r
67 another argument like --auto-daemon so that there are at least 4 ways of\r
68 invoking\r
69 \r
70 | n-e-m                                       | start a new emacs instance, and kill it after |\r
71 | n-e-m --client                              | like emacsclient                              |\r
72 | n-e-m --client --create-frame               | like emacsclient -c, destroy after send       |\r
73 | n-e-m --client --create-frame --auto-daemon | like emacsclient -c -a, destroy after send    |\r
74 \r
75 Since there are probably only 3 users, this should be sufficient ;).\r