From: Mark Walters <markwalters1009@gmail.com>
To: Felix Konstantin Maurer <maufl@maufl.de>, notmuch@notmuchmail.org
Subject: Re: Emacs: notmuch-mua-mail throws error if notmuch-fcc-dirs does not exist
Date: Sat, 11 Jul 2015 10:07:48 +0100 [thread overview]
Message-ID: <87vbdrysd7.fsf@qmul.ac.uk> (raw)
In-Reply-To: <55A025BD.2090105@maufl.de>
This may have been obvious to others but wasn't to me until I started
digging into this:
we add the function notmuch-fcc-header-setup
to message-header-setup-hook
and it is this function that is calling the error and forcing the
exit. In other words the problem is entirely on the notmuch side, rather
than something caused by message-mode.
Best wishes
Mark
On Fri, 10 Jul 2015, Felix Konstantin Maurer <maufl@maufl.de> wrote:
> Hi,
>
> I had a problem where creating a reply from a message would not include
> the quoted original body in the emacs notmuch client. I now found out
> what the problem was.
>
> What would happen:
> From a search in notmuch, I would open a thread.
> In the read I would hit "r" or "R" to reply.
> A new buffer would open, containing all headers and the "--text .." line.
> The headers included an FCC header to a non existing sent folder.
> I would be asked whether I want to create that folder but would decline.
> Then I would be in the message buffer but without a quoted body.
>
> What seemed to be the problem:
> In notmuch-mua-mail the message-mail function is called, which asked me
> about the folder. When I declined to create the folder, it returned an
> error "Message not sent".
> The rest of notmuch-mua-mail was not executed anymore, and also the rest
> of notmuch-mua-reply.
>
> I fixed it by setting notmuch-fcc-dirs to nil.
> This is good for me, but might bite somebody else at some point.
>
> I'm quite new to emacs and don't know much elisp. I hope my findings are
> correct.
> Maybe somebody with more experience can confirm this problem and propose
> a good fix.
>
> Regards
> Felix
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
next prev parent reply other threads:[~2015-07-11 9:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-10 20:06 Emacs: notmuch-mua-mail throws error if notmuch-fcc-dirs does not exist Felix Konstantin Maurer
2015-07-11 8:21 ` David Bremner
2015-07-11 9:07 ` Mark Walters [this message]
2015-08-01 9:44 ` Stop stomping on global fcc related variables David Bremner
2015-08-01 9:44 ` [PATCH 1/2] emacs: define a notmuch-compose-mode based on message mode David Bremner
2015-08-01 9:44 ` [PATCH 2/2] emacs: make modifications to message Fcc vars buffer-local David Bremner
2015-08-03 7:46 ` Mark Walters
2015-08-03 8:25 ` David Bremner
2015-08-03 9:03 ` Tomi Ollila
2015-08-04 20:04 ` [PATCH 1/2] emacs: define a notmuch-compose-mode based on message mode David Bremner
2015-08-04 20:04 ` [PATCH 2/2] emacs: make modifications to message Fcc vars buffer-local David Bremner
2015-08-06 19:08 ` Tomi Ollila
2015-08-06 20:54 ` David Bremner
2015-08-07 4:11 ` Tomi Ollila
2017-05-02 12:57 ` David Bremner
2015-08-07 19:31 ` David Bremner
2015-08-07 19:38 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vbdrysd7.fsf@qmul.ac.uk \
--to=markwalters1009@gmail.com \
--cc=maufl@maufl.de \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).