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 olra.theworths.org (Postfix) with ESMTP id CF0E6431E82
\r
6 for <notmuch@notmuchmail.org>; Wed, 25 Mar 2015 02:06:47 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=2.438 tagged_above=-999 required=5
\r
12 tests=[DNS_FROM_AHBL_RHSBL=2.438] 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 6xqqEzBkaa5q for <notmuch@notmuchmail.org>;
\r
16 Wed, 25 Mar 2015 02:06:44 -0700 (PDT)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 81993431E62
\r
19 for <notmuch@notmuchmail.org>; Wed, 25 Mar 2015 02:06:44 -0700 (PDT)
\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])
\r
21 by guru.guru-group.fi (Postfix) with ESMTP id 358CE100086;
\r
22 Wed, 25 Mar 2015 11:06:21 +0200 (EET)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: glyn.millington@gmail.com, notmuch@notmuchmail.org
\r
25 Subject: Re: Can't compose message in Emacs - Notmuch
\r
26 In-Reply-To: <87619q3s9w.fsf@nowhere.org>
\r
27 References: <878uembwmj.fsf@nowhere.org> <87fv8u6wbc.fsf@maritornes.cs.unb.ca>
\r
28 <87619q3s9w.fsf@nowhere.org>
\r
29 User-Agent: Notmuch/0.19+92~g402df12 (http://notmuchmail.org) Emacs/24.3.1
\r
30 (x86_64-unknown-linux-gnu)
\r
31 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
32 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
33 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
34 Date: Wed, 25 Mar 2015 11:06:21 +0200
\r
35 Message-ID: <m2r3sdh2eq.fsf@guru.guru-group.fi>
\r
37 Content-Type: text/plain
\r
38 X-BeenThere: notmuch@notmuchmail.org
\r
39 X-Mailman-Version: 2.1.13
\r
41 List-Id: "Use and development of the notmuch mail system."
\r
42 <notmuch.notmuchmail.org>
\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
46 List-Post: <mailto:notmuch@notmuchmail.org>
\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
50 X-List-Received-Date: Wed, 25 Mar 2015 09:06:47 -0000
\r
52 On Wed, Mar 25 2015, Glyn Millington <glyn.millington@gmail.com> wrote:
\r
54 > David Bremner <david@tethera.net> writes:
\r
56 >> Glyn Millington <glyn.millington@gmail.com> writes:
\r
60 >>> Emacs 24.4.1 (Arch Linux if that helps)
\r
63 >>> The problem is that I can neither compose a new email nor reply to an old
\r
64 >>> email unless I have already used message mode (via Gnus) first.
\r
65 >>> I get an error message - Google on the error message below gets me nowhere!
\r
68 >> Can you duplicate the error with a minimal .emacs? In particular save
\r
69 >> the following to "run-notmuch.el" and start emacs with
\r
71 >> % emacs -Q --load run-emacs.el
\r
73 >> ;; -8x-------------------------------------------------------------
\r
74 >> ;; adjust the following line to point to either the .el or .elc of
\r
77 >> (add-to-list 'load-path "/path/to/notmuch/dot/el")
\r
78 >> (require 'notmuch)
\r
79 >> (notmuch-mua-mail)
\r
81 >> ;; -8x-------------------------------------------------------------
\r
83 >> If that doesn't error, then the most likely trigger is some setting or
\r
84 >> add on package in your .emacs. Once we know what the trigger is, we can
\r
85 >> try to figure out where bug lies.
\r
91 > A thorough trawl through init.el revealed that this line is the culprit
\r
93 > (setq message-mail-user-agent t)
\r
95 > which refers on to mail-user-agent, which was invoking gnus!
\r
98 > Sorry for the noise.
\r
100 Instead of noise I think this is valuable information...
\r
102 ... if we had "troubleshooting" (or just put to emacstips.mdwn) page
\r
103 we could add something along the line:
\r
105 emacs -Q -L /path/to/notmuch/elisp/dir --eval "(require 'notmuch)"
\r
107 (with some explanation) there (e.g. M-x notmuch-hello & M-x notmuch-mua-mail)
\r
109 (emacs manpage says -L 'add's this dir to load-path -- I verified
\r
110 it "prepends"! it to load-path (like add-to-list does by default))
\r