1 Return-Path: <bremner@unb.ca>
\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 74817431FD0
\r
6 for <notmuch@notmuchmail.org>; Mon, 26 Dec 2011 03:39:14 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3] 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 zCvZG4AKFXa5 for <notmuch@notmuchmail.org>;
\r
16 Mon, 26 Dec 2011 03:39:14 -0800 (PST)
\r
17 Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])
\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 D0327431FB6
\r
21 for <notmuch@notmuchmail.org>; Mon, 26 Dec 2011 03:39:13 -0800 (PST)
\r
22 Received: from zancas.localnet
\r
23 (fctnnbsc36w-156034079193.pppoe-dynamic.High-Speed.nb.bellaliant.net
\r
24 [156.34.79.193]) (authenticated bits=0)
\r
25 by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id pBQBcrnK018768
\r
26 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO);
\r
27 Mon, 26 Dec 2011 07:38:53 -0400
\r
28 Received: from bremner by zancas.localnet with local (Exim 4.77)
\r
29 (envelope-from <bremner@unb.ca>)
\r
30 id 1Rf8tI-0006NS-GW; Mon, 26 Dec 2011 07:38:52 -0400
\r
31 From: David Bremner <david@tethera.net>
\r
32 To: Aaron Ecay <aaronecay@gmail.com>,
\r
33 Jameson Graef Rollins <jrollins@finestructure.net>,
\r
34 Thomas Jost <schnouki@schnouki.net>, notmuch@notmuchmail.org
\r
35 Subject: Re: [PATCH v3 1/4] emacs: Let the user choose where to compose new
\r
37 In-Reply-To: <m2ty4oszji.fsf@gmail.com>
\r
38 References: <87d3cx2t38.fsf@rocinante.cs.unb.ca>
\r
39 <1323797532-597-1-git-send-email-schnouki@schnouki.net>
\r
40 <1323797532-597-2-git-send-email-schnouki@schnouki.net>
\r
41 <877h1y13dv.fsf@zancas.localnet>
\r
42 <87sjklzrcn.fsf@servo.finestructure.net>
\r
43 <87r505iecz.fsf@zancas.localnet> <m2ty4oszji.fsf@gmail.com>
\r
44 User-Agent: Notmuch/0.11~rc1 (http://notmuchmail.org) Emacs/23.3.1
\r
45 (x86_64-pc-linux-gnu)
\r
46 Date: Mon, 26 Dec 2011 07:38:52 -0400
\r
47 Message-ID: <87boqvy33n.fsf@zancas.localnet>
\r
49 Content-Type: multipart/mixed; boundary="=-=-="
\r
50 X-BeenThere: notmuch@notmuchmail.org
\r
51 X-Mailman-Version: 2.1.13
\r
53 List-Id: "Use and development of the notmuch mail system."
\r
54 <notmuch.notmuchmail.org>
\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
58 List-Post: <mailto:notmuch@notmuchmail.org>
\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
62 X-List-Received-Date: Mon, 26 Dec 2011 11:39:14 -0000
\r
65 Content-Type: text/plain; charset=utf-8
\r
66 Content-Transfer-Encoding: quoted-printable
\r
68 On Sun, 25 Dec 2011 23:54:41 -0500, Aaron Ecay <aaronecay@gmail.com> wrote:
\r
70 > I just tried, and I cannot reproduce this behavior. IIUC, here is what
\r
71 > happened to you: you set nm-mua-compose-in to 'new-window. You began a
\r
72 > new message, this opened a new window as expected. Your emacs frame now
\r
73 > has two windows in it. You sent this message, which deleted the window
\r
74 > showing it. Your emacs frame was deleted as well, which made the other
\r
75 > window, showing notmuch-hello (or some other notmuch buffer, from which
\r
76 > you began writing the email message) disappear as well, unexpectedly.
\r
77 > Is this a correct description of what happened?
\r
79 Yes, although it happened quickly enough I'm not sure the window was
\r
80 deleted before the frame.
\r
82 > Here=E2=80=99s the recipe I used for replicating:
\r
87 > (add-to-list 'load-path "/path/to/notmuch/emacs/") C-j
\r
88 > (load-library "notmuch") C-j
\r
89 > C-x C-f /path/to/notmuch/emacs/notmuch-mua.el
\r
90 > M-x eval-buffer (in order to pick up changes not in byte-compiled file)
\r
91 > M-x customize-variable notmuch-mua-compose-in (set to 'new-window, save f=
\r
94 > m (new window is created in current frame, below the window showing notmu=
\r
97 > C-c C-c (enter smtp settings, since emacs doesn=E2=80=99t know them)
\r
98 > (new window disappears, the window with notmuch-hello fills whole frame)
\r
101 It sounds plausible. On Debian I was a bit lazy and relied on the Debian
\r
102 site startup file, which I attach. Note that the setting of 'new-window
\r
103 seems broken to me without emacsclient as well. In this case it buries
\r
104 the notmuch-hello buffer that the compose window was launched from.
\r
106 > I also tried with notmuch-mua-compose-in set to 'new-frame, and got the
\r
107 > expected behavior (m -> create new frame, C-c C-c -> new frame is
\r
110 Yes, that one seems fine; perhaps because deleting the frame is the
\r
111 desired outcome in this case.
\r
113 > What version of emacs did you have this problem with?=20=20
\r
120 Content-Type: application/emacs-lisp
\r
121 Content-Disposition: attachment; filename=50notmuch.el
\r
122 Content-Transfer-Encoding: quoted-printable
\r
123 Content-Description: site startup for notmuch.
\r
125 ;; -*-emacs-lisp-*-
\r
127 ;; Emacs startup file, e.g. /etc/emacs/site-start.d/50notmuch.el
\r
128 ;; for the Debian notmuch package
\r
130 ;; The notmuch package follows the Debian/GNU Linux 'emacsen' policy and
\r
131 ;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
\r
132 ;; xemacs19, emacs20, xemacs20...). The compiled code is then
\r
133 ;; installed in a subdirectory of the respective site-lisp directory.
\r
136 ((not (file-exists-p "/usr/share/emacs/site-lisp/notmuch"))
\r
137 (message "Package notmuch removed but not purged. Skipping setup."))
\r
138 ((not (file-exists-p (concat "/usr/share/"
\r
139 (symbol-name debian-emacs-flavor)
\r
140 "/site-lisp/notmuch")))
\r
141 (message "Package notmuch not fully installed. Skipping setup."))
\r
143 (debian-pkg-add-load-path-item
\r
144 (concat "/usr/share/"
\r
145 (symbol-name debian-emacs-flavor)
\r
146 "/site-lisp/notmuch"))
\r
147 (autoload 'notmuch "notmuch" "Run notmuch and display saved searches, kno=
\r
149 (autoload 'notmuch-hello "notmuch" "Run notmuch and display saved searche=
\r
150 s, known tags, etc." t)
\r
151 (autoload 'notmuch-search "notmuch" "Run \"notmuch search\" with the give=
\r
152 n query string and display results." t)
\r
153 (autoload 'notmuch-show "notmuch" "Run \"notmuch show\" with the given th=
\r
154 read ID and display results." t)
\r