unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Edmondson <dme@dme.org>
To: Aaron Ecay <aaronecay@gmail.com>,
	Adam Wolfe Gordon <awg+notmuch@xvx.ca>,
	notmuch@notmuchmail.org, awg@xvx.ca
Subject: Re: [PATCH 0/4] Quoting HTML-only emails in replies redux
Date: Mon, 16 Jan 2012 08:39:30 +0000	[thread overview]
Message-ID: <cunsjjg59dp.fsf@hotblack-desiato.hh.sledj.net> (raw)
In-Reply-To: <m239bgcd1d.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2329 bytes --]

On Mon, 16 Jan 2012 02:38:38 -0500, Aaron Ecay <aaronecay@gmail.com> wrote:
> On Sun, 15 Jan 2012 09:26:59 +0000, David Edmondson <dme@dme.org> wrote:
> > Given that we're now doing a bunch of work in emacs as part of the reply
> > setup, why not just grab the content of the original message from the
> > show buffer and quote that?
> > 
> > The last time that approach was discussed Carl was against it because it
> > moved the emacs UI away from the behaviour of the CLI, but it seems that
> > we're already heading in that direction.
> 
> I have been watching this patch series with interest, because it seemed
> that when it landed it would be a good time for me to begin work on a
> patch to allow notmuch to function like other emacs MUAs in constructing
> the reply buffer internally to emacs, rather than through notmuch.  This
> allows (at least) three things:
> - Greater flexibility in the construction of address lists.  For example,
>   there are some email lists where I want replies to list mail to go only
>   to the list, not also to the original sender.

Is there a mechanistic way to determine the correct behaviour in this
respect? I suspect that it's exactly the kind of thing that Carl wanted
to be included in 'notmuch' itself, so that other UIs can benefit.

>   Additionally, I like to
>   reply from my university address if colleagues write to my Gmail one.
>   If a lisp function is generating the replies, it can be made to run a
>   hook allowing users to insert these or other custom behaviors.
> - The same reasoning as above, applied to signatures.  (different ones
>   for different recipients)

You can do both of these things today using `message-send-hook' (I do).

> - There exists at least one emacs package (supercite) which allows
>   customization of the quoting of email replies.  This automates the
>   “Firstname>” style quotes one sometimes sees, as well as many other
>   possiblities.  It defines a way for emacs MUAs to construct reply
>   buffers to cooperate with it, which many of the big emacs MUAs obey
>   (Gnus and Wanderlust certainly do).  This is explained in the “hints
>   to MUA authors” section of the supercite manual (distributed with
>   Emacs).

I dislike supercite, so no support from me in that direction :-)

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2012-01-16  8:39 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-08  7:52 [PATCH 0/4] Quoting HTML-only emails in replies redux Adam Wolfe Gordon
2012-01-08  7:52 ` [PATCH 1/4] test: Add broken test for the new JSON reply format Adam Wolfe Gordon
2012-01-08  7:52 ` [PATCH 2/4] reply: Add a " Adam Wolfe Gordon
2012-01-14 20:58   ` Jani Nikula
2012-01-08  7:52 ` [PATCH 3/4] man: Update notmuch-reply man page for JSON format Adam Wolfe Gordon
2012-01-08  7:52 ` [PATCH 4/4] emacs: Use the new JSON reply format Adam Wolfe Gordon
2012-01-09  1:27   ` Aaron Ecay
2012-01-10  1:59     ` Adam Wolfe Gordon
2012-01-09  8:50   ` David Edmondson
2012-01-10  2:10     ` Adam Wolfe Gordon
2012-01-10  7:25       ` David Edmondson
2012-01-12  8:33       ` Dmitry Kurochkin
2012-01-12 12:07         ` David Edmondson
2012-01-12 13:36           ` Tomi Ollila
2012-01-12 13:43             ` David Edmondson
2012-01-15 21:19         ` Adam Wolfe Gordon
2012-01-09  1:36 ` [PATCH 0/4] Quoting HTML-only emails in replies redux Aaron Ecay
2012-01-10  1:53   ` Adam Wolfe Gordon
2012-01-15  9:26 ` David Edmondson
2012-01-16  7:38   ` Aaron Ecay
2012-01-16  8:39     ` David Edmondson [this message]
2012-01-16 19:29       ` Jameson Graef Rollins
2012-01-16 22:31       ` Aaron Ecay
2012-01-16 22:42         ` Adam Wolfe Gordon

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=cunsjjg59dp.fsf@hotblack-desiato.hh.sledj.net \
    --to=dme@dme.org \
    --cc=aaronecay@gmail.com \
    --cc=awg+notmuch@xvx.ca \
    --cc=awg@xvx.ca \
    --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).