Re: [PATCH] emacs: Fontify From with message-header-other
authorMark Walters <markwalters1009@gmail.com>
Mon, 9 Nov 2015 14:59:58 +0000 (14:59 +0000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:50:02 +0000 (14:50 -0700)
2d/0de2fce817f8be53744ef1f6a085353ef257ef [new file with mode: 0644]

diff --git a/2d/0de2fce817f8be53744ef1f6a085353ef257ef b/2d/0de2fce817f8be53744ef1f6a085353ef257ef
new file mode 100644 (file)
index 0000000..8eb2333
--- /dev/null
@@ -0,0 +1,110 @@
+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 E33F06DE1B0A\r
+ for <notmuch@notmuchmail.org>; Mon,  9 Nov 2015 07:00:04 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.182\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.182 tagged_above=-999 required=5 tests=[AWL=0.052, \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 C63UkeICpfRv for <notmuch@notmuchmail.org>;\r
+ Mon,  9 Nov 2015 07:00:02 -0800 (PST)\r
+Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com\r
+ [74.125.82.49]) by arlo.cworth.org (Postfix) with ESMTPS id 329BC6DE1B00 for\r
+ <notmuch@notmuchmail.org>; Mon,  9 Nov 2015 07:00:02 -0800 (PST)\r
+Received: by wmec201 with SMTP id c201so73717825wme.1\r
+ for <notmuch@notmuchmail.org>; Mon, 09 Nov 2015 07:00:00 -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=c7oFYDevgvvfO9xmiF6a92GfvlVHq1eowN+lB4Bfnc0=;\r
+ b=tk0Luac7Zn4Pz7DpUEULF1AEZap88ySc6ha7XSg6/7enTURR8v3LVv1WZhGwJkTK++\r
+ pdxGe/zFXxsf8kH6e2YjOxfpHcID7QxOi5NH990rDk5xVWKl2Yh/ePtOB3HLPVYUq2a7\r
+ j0R2VGHqqLrSiSpIBIQiVW/1BGm0A/x50r7pmTiDJ7BBJjmxbbSYy242wSfx7kr2kRBN\r
+ w4RfxhwyrwWnDapquYFfmCkKdsKAxEDaluZumh5RooBm7tstmdSCnwsE8Fo2x4XBF5mb\r
+ +mWycmB+U7TLSgGM52VL7WMiWGTMzbzMpeGWGLlTbzSFT4EzYq+ba/VNMsr0z7mOBVRh\r
+ mnag==\r
+X-Received: by 10.194.104.132 with SMTP id ge4mr29547319wjb.127.1447081200724;\r
+  Mon, 09 Nov 2015 07:00:00 -0800 (PST)\r
+Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162])\r
+ by smtp.gmail.com with ESMTPSA id j4sm14729830wmg.18.2015.11.09.06.59.59\r
+ (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Mon, 09 Nov 2015 07:00:00 -0800 (PST)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: "H. J. Illikainen" <hji@dyntopia.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: Fontify From with message-header-other\r
+In-Reply-To: <1446677040-43496-1-git-send-email-hji@dyntopia.com>\r
+References: <1446677040-43496-1-git-send-email-hji@dyntopia.com>\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:58 +0000\r
+Message-ID: <87vb9b6wwh.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 15:00:05 -0000\r
+\r
+\r
+This looks good to me (and all tests pass) so +1.\r
+\r
+Best wishes\r
+\r
+Mark\r
+\r
+On Wed, 04 Nov 2015, "H. J. Illikainen" <hji@dyntopia.com> wrote:\r
+\r
+> Commit e26d767897e8ab59f05808a12ac5c9c1e3c7030f changed the\r
+> fontification of the body associated with the From header to\r
+> message-header-from.  However, that face is non-existent, and in\r
+> message.el (message-font-lock-keywords) the From-header falls through\r
+> and is attributed the message-header-other face.\r
+>\r
+> This commit removes the fontification of the [Ff]rom header in\r
+> notmuch-show-mode in order to fontify it using the message-header-other\r
+> face.\r
+>\r
+> This only affects non-default configurations where\r
+> notmuch-message-headers is set to display From.\r
+> ---\r
+>  emacs/notmuch-show.el | 2 --\r
+>  1 file changed, 2 deletions(-)\r
+>\r
+> diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
+> index 49fd198..793f1a5 100644\r
+> --- a/emacs/notmuch-show.el\r
+> +++ b/emacs/notmuch-show.el\r
+> @@ -353,8 +353,6 @@ operation on the contents of the current buffer."\r
+>              'message-header-cc)\r
+>             ((looking-at "[Ss]ubject:")\r
+>              'message-header-subject)\r
+> -           ((looking-at "[Ff]rom:")\r
+> -            'message-header-from)\r
+>             (t\r
+>              'message-header-other))))\r
+>  \r
+> -- \r
+> H. J. Illikainen\r
+>\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> https://notmuchmail.org/mailman/listinfo/notmuch\r