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 D8A806DE1919
\r
6 for <notmuch@notmuchmail.org>; Mon, 6 Apr 2015 06:04:39 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=1.214 tagged_above=-999 required=5 tests=[AWL=0.562,
\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 EqHDSzkpeMUe for <notmuch@notmuchmail.org>;
\r
16 Mon, 6 Apr 2015 06:04:36 -0700 (PDT)
\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 C0CCD6DE17BF
\r
19 for <notmuch@notmuchmail.org>; Mon, 6 Apr 2015 06:04:35 -0700 (PDT)
\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])
\r
21 by guru.guru-group.fi (Postfix) with ESMTP id 3D91210019F;
\r
22 Mon, 6 Apr 2015 16:04:13 +0300 (EEST)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org
\r
25 Subject: Re: [PATCH v2] notmuch-emacs-mua: do not create a frame by default
\r
27 In-Reply-To: <1428132606-8624-1-git-send-email-jani@nikula.org>
\r
28 References: <87d23o4gzd.fsf@maritornes.cs.unb.ca>
\r
29 <1428132606-8624-1-git-send-email-jani@nikula.org>
\r
30 User-Agent: Notmuch/0.19+107~gab55bdb (http://notmuchmail.org) Emacs/24.3.1
\r
31 (x86_64-unknown-linux-gnu)
\r
32 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
33 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
34 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
35 Date: Mon, 06 Apr 2015 16:04:13 +0300
\r
36 Message-ID: <m2twwt9zn6.fsf@guru.guru-group.fi>
\r
38 Content-Type: text/plain
\r
39 X-BeenThere: notmuch@notmuchmail.org
\r
40 X-Mailman-Version: 2.1.18
\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: Mon, 06 Apr 2015 13:04:40 -0000
\r
53 On Sat, Apr 04 2015, Jani Nikula <jani@nikula.org> wrote:
\r
55 > Make the default behaviour for --client the same as emacsclient
\r
56 > default: do not create a new frame. Add a new option --create-frame,
\r
57 > passing the same option to emacsclient to create a frame.
\r
61 > v2: fix killing frame with --create-frame
\r
63 > doc/man1/notmuch-emacs-mua.rst | 14 +++++++++-----
\r
64 > notmuch-emacs-mua | 29 ++++++++++++++++++++---------
\r
65 > 2 files changed, 29 insertions(+), 14 deletions(-)
\r
67 > diff --git a/doc/man1/notmuch-emacs-mua.rst b/doc/man1/notmuch-emacs-mua.rst
\r
68 > index 36b51cdc3b18..e39d9e5fba1f 100644
\r
69 > --- a/doc/man1/notmuch-emacs-mua.rst
\r
70 > +++ b/doc/man1/notmuch-emacs-mua.rst
\r
71 > @@ -122,6 +125,14 @@ for arg; do
\r
72 > ELISP="${ELISP} (message-goto-to) (insert \"${arg}, \")"
\r
75 > +# If reusing a frame in emacsclient, don't kill the buffer.
\r
76 > +if [ -n "$CREATE_FRAME" ]; then
\r
77 > + ELISP="${ELISP} (setq message-exit-actions (list #'save-buffers-kill-terminal))"
\r
78 > +elif [ -z "$USE_EMACSCLIENT" ]; then
\r
79 > + echo "$0: --create-frame is only applicable with --client." >&2
\r
84 # If reusing a frame in emacsclient, don't kill the buffer.
\r
85 if [ -n "$CREATE_FRAME" ]; then
\r
86 if [ -z "$USE_EMACSCLIENT" ]; then
\r
87 echo "$0: --create-frame is only applicable with --client." >&2
\r
90 ELISP="${ELISP} (setq message-exit-actions (list #'save-buffers-kill-terminal))"
\r
93 should work better...
\r