Re: [PATCH] emacs: Make notmuch-message-mode play nicely with flyspell
authorMark Walters <markwalters1009@gmail.com>
Mon, 9 Nov 2015 14:59:21 +0000 (14:59 +0000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:50:02 +0000 (14:50 -0700)
bf/1d1ccce4aa9ff7d4ece062902c24035a8cebaa [new file with mode: 0644]

diff --git a/bf/1d1ccce4aa9ff7d4ece062902c24035a8cebaa b/bf/1d1ccce4aa9ff7d4ece062902c24035a8cebaa
new file mode 100644 (file)
index 0000000..eac1abc
--- /dev/null
@@ -0,0 +1,99 @@
+Return-Path: <markwalters1009@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id DD8826DE1B00\r
+ for <notmuch@notmuchmail.org>; Mon,  9 Nov 2015 06:59:27 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.183\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.183 tagged_above=-999 required=5 tests=[AWL=0.053, \r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,\r
+ RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id NGYkTiFelWjH for <notmuch@notmuchmail.org>;\r
+ Mon,  9 Nov 2015 06:59:25 -0800 (PST)\r
+Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com\r
+ [74.125.82.42]) by arlo.cworth.org (Postfix) with ESMTPS id 87C8E6DE1552 for\r
+ <notmuch@notmuchmail.org>; Mon,  9 Nov 2015 06:59:25 -0800 (PST)\r
+Received: by wmec201 with SMTP id c201so73689999wme.1\r
+ for <notmuch@notmuchmail.org>; Mon, 09 Nov 2015 06:59:23 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=from:to:subject:in-reply-to:references:user-agent:date:message-id\r
+ :mime-version:content-type;\r
+ bh=c62fWdxPmWswbPpAY3yWdIbPW745Wi1n6s+5qNjTZg8=;\r
+ b=W+rNLA+e0vitIGzN7PlpVEcPI3T86AIElrLHIjb1+Sh3HoB4kfE05RviEj+Gp4ZL1h\r
+ TBAOMBdpgS7AamlKqNN+MZOCyUzBXM7tHrkyJD1V6XKocHcZislcdwQCvE9r22p2RugC\r
+ zbOtkNXcu1FTQSFUd8f7pwKQGT9V5KsbIb0Y7mbt5Mmopb971riacgMPEMhV3AhwP1gN\r
+ Pw1+BYTjRyzGbek3faTbT62WeF5oTC+0h5AtS58uHeKkTmsYcRWg+LebvNEWCnNZ5mo3\r
+ Xf6fg6P2J36rBC3v+XFngPOw8HJFxhNUKNjjrOTHL9qc7Crf+0HGvkpbmEawsVeTgWk7\r
+ RzuQ==\r
+X-Received: by 10.28.45.72 with SMTP id t69mr8444862wmt.32.1447081163728;\r
+ Mon, 09 Nov 2015 06:59:23 -0800 (PST)\r
+Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162])\r
+ by smtp.gmail.com with ESMTPSA id cr5sm15836272wjb.16.2015.11.09.06.59.22\r
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Mon, 09 Nov 2015 06:59:22 -0800 (PST)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: Michal Sojka <sojkam1@fel.cvut.cz>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: Make notmuch-message-mode play nicely with\r
+ flyspell\r
+In-Reply-To: <1446584532-27101-1-git-send-email-sojkam1@fel.cvut.cz>\r
+References: <1446584532-27101-1-git-send-email-sojkam1@fel.cvut.cz>\r
+User-Agent: Notmuch/0.18+519~ga09e253 (http://notmuchmail.org) Emacs/23.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Mon, 09 Nov 2015 14:59:21 +0000\r
+Message-ID: <87y4e76wxi.fsf@qmul.ac.uk>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 09 Nov 2015 14:59:28 -0000\r
+\r
+\r
+This looks good to me +1.\r
+\r
+Mark\r
+\r
+On Tue, 03 Nov 2015, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
+> Flyspell mode uses a special setting for message-mode to not\r
+> spell-check message headers except Subject. Apply this setting also to\r
+> notmuch-message-mode.\r
+> ---\r
+>  emacs/notmuch-mua.el | 2 ++\r
+>  1 file changed, 2 insertions(+)\r
+>\r
+> diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el\r
+> index fd98ea4..466edd7 100644\r
+> --- a/emacs/notmuch-mua.el\r
+> +++ b/emacs/notmuch-mua.el\r
+> @@ -273,6 +273,8 @@ Note that these functions use `mail-citation-hook' if that is non-nil."\r
+>    (when notmuch-address-command\r
+>      (notmuch-address-setup)))\r
+>  \r
+> +(put 'notmuch-message-mode 'flyspell-mode-predicate 'mail-mode-flyspell-verify)\r
+> +\r
+>  (define-key notmuch-message-mode-map (kbd "C-c C-c") #'notmuch-mua-send-and-exit)\r
+>  (define-key notmuch-message-mode-map (kbd "C-c C-s") #'notmuch-mua-send)\r
+>  \r
+> -- \r
+> 2.5.3\r
+>\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> https://notmuchmail.org/mailman/listinfo/notmuch\r