From: David Bremner <david@tethera.net>
To: bserrao <bgserrao@gmail.com>, notmuch@notmuchmail.org
Subject: Re: Notmuch Emacs reply format=JSON
Date: Mon, 13 Mar 2017 08:28:07 -0300 [thread overview]
Message-ID: <8760jd4drs.fsf@tesseract.cs.unb.ca> (raw)
In-Reply-To: <CAF8By0VvH9pyTHcb540niP7f1yxwDNKaJ9ZWQ_0-=5=DfEDEwA@mail.gmail.com>
bserrao <bgserrao@gmail.com> writes:
> Well, at work almost everyone uses Outlook (Exchange Server) and send HTML
> mails. I've made a script to convert mail to html before sending, but when
> replying emacs uses de '>' character has quotation and because of it the
> mail gets messed up when i do the conversion.
> From what i've read i've concluded that if using the format=json those HTML
> pieces were handled differently...maybe i'm wrong. I was just trying to
> find a solution/workaround to deal with this.
I guess the first step is to test on the command line with
% notmuch reply --format=json id:foo
and
% notmuch reply --format=sexp id:foo
where id:foo is some message-id in your notmuch database.
In both cases you'll get a kind of data structure that you can process
how you like, but I think the strings inside are pretty much the same.
If you're trying to modify elisp, the actual function is
notmuch-mua-reply
I'm afraid I don't have any specific advice about sending HTML.
d
next prev parent reply other threads:[~2017-03-13 11:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-10 10:27 Notmuch Emacs reply format=JSON bserrao
2017-03-11 17:17 ` David Bremner
2017-03-13 10:32 ` bserrao
2017-03-13 11:28 ` David Bremner [this message]
2017-03-13 17:00 ` Brian Sniffen
2017-03-21 16:43 ` bserrao
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=8760jd4drs.fsf@tesseract.cs.unb.ca \
--to=david@tethera.net \
--cc=bgserrao@gmail.com \
--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).