unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Can't compose message in Emacs  - Notmuch
@ 2015-03-24  8:57 Glyn Millington
  2015-03-24 19:15 ` David Bremner
  0 siblings, 1 reply; 5+ messages in thread
From: Glyn Millington @ 2015-03-24  8:57 UTC (permalink / raw)
  To: notmuch


Greetings!

Emacs 24.4.1 (Arch Linux if that helps)
Notmuch 0.19

The problem is that I can neither compose a new email nor reply to an old
email unless I have already used  message mode (via Gnus) first.
I get an error message - Google on the error message below gets me nowhere!

Can anyone give me  pointer?

with thanks

Glyn


Debugger entered--Lisp error: (error "Variable binding depth exceeds max-specpdl-size")
mapcar(#[(item) "\301\302\b@\"\bAB\207" [item format "%s"] 3] ((From . "Glyn Millington <glyn@123456789.org>") (User-Agent . "Notmuch/0.19 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-unknown-linux-gnu)") (From . "Glyn Millington <glyn@123456789.org>") (User-Agent . "Notmuch/0.19 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-unknown-linux-gnu)") (From . "Glyn Millington <glyn@123456789.org>") (User-Agent . "Notmuch/0.19 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-unknown-linux-gnu)") (From . "Glyn Millington <glyn@123456789.org>") (User-Agent . "Notmuch/0.19 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-unknown-linux-gnu)") (From . "Glyn Millington <glyn@123456789.orgy>") (User-Agent . "Notmuch/0.19 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-unknown-linux-gnu)")

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can't compose message in Emacs  - Notmuch
  2015-03-24  8:57 Can't compose message in Emacs - Notmuch Glyn Millington
@ 2015-03-24 19:15 ` David Bremner
  2015-03-24 23:11   ` Glyn Millington
  0 siblings, 1 reply; 5+ messages in thread
From: David Bremner @ 2015-03-24 19:15 UTC (permalink / raw)
  To: glyn.millington, notmuch

Glyn Millington <glyn.millington@gmail.com> writes:

> Greetings!
>
> Emacs 24.4.1 (Arch Linux if that helps)
> Notmuch 0.19
>
> The problem is that I can neither compose a new email nor reply to an old
> email unless I have already used  message mode (via Gnus) first.
> I get an error message - Google on the error message below gets me nowhere!
>

Can you duplicate the error with a minimal .emacs? In particular save
the following to "run-notmuch.el" and start emacs with

% emacs -Q --load run-emacs.el

;; -8x-------------------------------------------------------------
;; adjust the following line to point to either the .el or .elc of
;; notmuch.el

(add-to-list 'load-path "/path/to/notmuch/dot/el")
(require 'notmuch)
(notmuch-mua-mail)

;; -8x-------------------------------------------------------------

If that doesn't error, then the most likely trigger is some setting or
add on package in your .emacs. Once we know what the trigger is, we can
try to figure out where bug lies.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can't compose message in Emacs  - Notmuch
  2015-03-24 19:15 ` David Bremner
@ 2015-03-24 23:11   ` Glyn Millington
  2015-03-25  9:06     ` Tomi Ollila
  0 siblings, 1 reply; 5+ messages in thread
From: Glyn Millington @ 2015-03-24 23:11 UTC (permalink / raw)
  To: notmuch

David Bremner <david@tethera.net> writes:

> Glyn Millington <glyn.millington@gmail.com> writes:
>
>> Greetings!
>>
>> Emacs 24.4.1 (Arch Linux if that helps)
>> Notmuch 0.19
>>
>> The problem is that I can neither compose a new email nor reply to an old
>> email unless I have already used  message mode (via Gnus) first.
>> I get an error message - Google on the error message below gets me nowhere!
>>
>
> Can you duplicate the error with a minimal .emacs? In particular save
> the following to "run-notmuch.el" and start emacs with
>
> % emacs -Q --load run-emacs.el
>
> ;; -8x-------------------------------------------------------------
> ;; adjust the following line to point to either the .el or .elc of
> ;; notmuch.el
>
> (add-to-list 'load-path "/path/to/notmuch/dot/el")
> (require 'notmuch)
> (notmuch-mua-mail)
>
> ;; -8x-------------------------------------------------------------
>
> If that doesn't error, then the most likely trigger is some setting or
> add on package in your .emacs. Once we know what the trigger is, we can
> try to figure out where bug lies.

Thanks David,

It didn't error! 

A thorough trawl through init.el revealed that this line is the culprit

(setq message-mail-user-agent t)

which refers on to mail-user-agent, which was invoking gnus!


Sorry for the noise. 


atb

Glyn

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can't compose message in Emacs  - Notmuch
  2015-03-24 23:11   ` Glyn Millington
@ 2015-03-25  9:06     ` Tomi Ollila
  2015-03-28  9:25       ` David Bremner
  0 siblings, 1 reply; 5+ messages in thread
From: Tomi Ollila @ 2015-03-25  9:06 UTC (permalink / raw)
  To: glyn.millington, notmuch

On Wed, Mar 25 2015, Glyn Millington <glyn.millington@gmail.com> wrote:

> David Bremner <david@tethera.net> writes:
>
>> Glyn Millington <glyn.millington@gmail.com> writes:
>>
>>> Greetings!
>>>
>>> Emacs 24.4.1 (Arch Linux if that helps)
>>> Notmuch 0.19
>>>
>>> The problem is that I can neither compose a new email nor reply to an old
>>> email unless I have already used  message mode (via Gnus) first.
>>> I get an error message - Google on the error message below gets me nowhere!
>>>
>>
>> Can you duplicate the error with a minimal .emacs? In particular save
>> the following to "run-notmuch.el" and start emacs with
>>
>> % emacs -Q --load run-emacs.el
>>
>> ;; -8x-------------------------------------------------------------
>> ;; adjust the following line to point to either the .el or .elc of
>> ;; notmuch.el
>>
>> (add-to-list 'load-path "/path/to/notmuch/dot/el")
>> (require 'notmuch)
>> (notmuch-mua-mail)
>>
>> ;; -8x-------------------------------------------------------------
>>
>> If that doesn't error, then the most likely trigger is some setting or
>> add on package in your .emacs. Once we know what the trigger is, we can
>> try to figure out where bug lies.
>
> Thanks David,
>
> It didn't error! 
>
> A thorough trawl through init.el revealed that this line is the culprit
>
> (setq message-mail-user-agent t)
>
> which refers on to mail-user-agent, which was invoking gnus!
>
>
> Sorry for the noise. 

Instead of noise I think this is valuable information...

... if we had "troubleshooting" (or just put to emacstips.mdwn) page
we could add something along the line:

   emacs -Q -L /path/to/notmuch/elisp/dir --eval "(require 'notmuch)"

(with some explanation) there (e.g. M-x notmuch-hello & M-x notmuch-mua-mail)

(emacs manpage says -L 'add's this dir to load-path -- I verified
it "prepends"! it to load-path (like add-to-list does by default))

>
> atb
>
> Glyn

Tomi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can't compose message in Emacs  - Notmuch
  2015-03-25  9:06     ` Tomi Ollila
@ 2015-03-28  9:25       ` David Bremner
  0 siblings, 0 replies; 5+ messages in thread
From: David Bremner @ 2015-03-28  9:25 UTC (permalink / raw)
  To: Tomi Ollila, glyn.millington, notmuch

Tomi Ollila <tomi.ollila@iki.fi> writes:

>
> Instead of noise I think this is valuable information...
>
> ... if we had "troubleshooting" (or just put to emacstips.mdwn) page
> we could add something along the line:
>
>    emacs -Q -L /path/to/notmuch/elisp/dir --eval "(require 'notmuch)"
>

For the record, I started a "troubleshooting" page at

    http://notmuchmail.org/bugs

It's a wiki, so feel free to improve this page.

d

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-28  9:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-24  8:57 Can't compose message in Emacs - Notmuch Glyn Millington
2015-03-24 19:15 ` David Bremner
2015-03-24 23:11   ` Glyn Millington
2015-03-25  9:06     ` Tomi Ollila
2015-03-28  9:25       ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).