unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Nicolas Petton <nicolas@petton.fr>
To: David Edmondson <dme@dme.org>, Tomi Ollila <tomi.ollila@iki.fi>,
	notmuch@notmuchmail.org
Subject: Re: Content-type of the mime part in cited text when replying
Date: Wed, 16 Mar 2016 09:23:26 +0100	[thread overview]
Message-ID: <87fuvq6dc1.fsf@petton.fr> (raw)
In-Reply-To: <m2oaagey9t.fsf@dme.org>


[-- Attachment #1.1: Type: text/plain, Size: 96 bytes --]

David Edmondson <dme@dme.org> writes:

> I'd be happy to "+1" a patch :-)

I attached a patch.


[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 512 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-emacs-Change-the-default-notmuch-mua-reply-insert-he.patch --]
[-- Type: text/x-patch, Size: 1695 bytes --]

From 0b809886913c9410f030cf2c6cfdf619ab5c82b7 Mon Sep 17 00:00:00 2001
From: Nicolas Petton <nicolas@petton.fr>
Date: Wed, 16 Mar 2016 09:19:55 +0100
Subject: [PATCH] emacs: Change the default
 notmuch-mua-reply-insert-header-p-function

Set notmuch-show-reply-insert-header-p-never as the default value for
notmuch-mua-reply-insert-header-p-function.
---
 emacs/notmuch-mua.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el
index fcb3e95..4cb714a 100644
--- a/emacs/notmuch-mua.el
+++ b/emacs/notmuch-mua.el
@@ -94,19 +94,19 @@ Note that these functions use `mail-citation-hook' if that is non-nil."
   :group 'notmuch-reply)
 
 (defcustom notmuch-mua-reply-insert-header-p-function
-  'notmuch-show-reply-insert-header-p-trimmed
+  'notmuch-show-reply-insert-header-p-never
   "Function to decide which parts get a header when replying.
 
 This function specifies which parts of a mime message with
 mutiple parts get a header."
-  :type '(radio (const :tag "All except multipart/* and hidden parts"
-			       notmuch-show-reply-insert-header-p-trimmed)
+  :type '(radio (const :tag "No part headers"
+		               notmuch-show-reply-insert-header-p-never)
+		(const :tag "All except multipart/* and hidden parts"
+		               notmuch-show-reply-insert-header-p-trimmed)
 		(const :tag "Only for included text parts"
 			       notmuch-show-reply-insert-header-p-minimal)
 		(const :tag "Exactly as in show view"
 			       notmuch-show-insert-header-p)
-		(const :tag "No part headers"
-			       notmuch-show-reply-insert-header-p-never)
 		(function :tag "Other"))
   :group 'notmuch-reply)
 
-- 
2.5.0


[-- Attachment #3: Type: text/plain, Size: 50 bytes --]


Nico
-- 
Nicolas Petton
http://nicolas-petton.fr

  reply	other threads:[~2016-03-16  8:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-15  9:59 Content-type of the mime part in cited text when replying Nicolas Petton
2016-03-15 12:04 ` David Edmondson
2016-03-15 12:07   ` Tomi Ollila
2016-03-15 12:11     ` David Edmondson
2016-03-16  8:23       ` Nicolas Petton [this message]
2016-03-16  8:57         ` Tomi Ollila
2016-03-18 21:25         ` David Bremner
2016-03-19 15:50         ` [PATCH] test/test-lib.el: revert setting notmuch-mua-reply-insert-header-p-function Tomi Ollila
2016-03-26 12:11           ` David Bremner
2016-03-16  8:10   ` Content-type of the mime part in cited text when replying Nicolas Petton

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=87fuvq6dc1.fsf@petton.fr \
    --to=nicolas@petton.fr \
    --cc=dme@dme.org \
    --cc=notmuch@notmuchmail.org \
    --cc=tomi.ollila@iki.fi \
    /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).