Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id AD8F56DE17BA for ; Wed, 4 Nov 2015 14:42:50 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.721 X-Spam-Level: X-Spam-Status: No, score=-0.721 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wn44UsuilMS3 for ; Wed, 4 Nov 2015 14:42:48 -0800 (PST) Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by arlo.cworth.org (Postfix) with ESMTPS id 52F916DE1607 for ; Wed, 4 Nov 2015 14:42:48 -0800 (PST) Received: by wicll6 with SMTP id ll6so41265689wic.1 for ; Wed, 04 Nov 2015 14:42:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dyntopia_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=0IbNf130uyVSVz1eP4VQtNyr8rGIyBQBelhiM1BB8RY=; b=jqG9Ze2i1SkbgBCcGyein0Ritd1Urue2ORjyg6ARbDd5bD+LC2NTKzhoX+fyj/z+xd XeL2D0P5D5YWBjaEW8Z4GOmjqO7pWQkHz3/1TH4j1y9zCg/DE38QSgf3B1WKF4b84gx8 fdeUOJO2ZKvIbokqL/CABGjh7eDfJGGfmb/V9WSIqPMPHduhQE2kpFDbW9yQcSmj6pQx rv3iWZrulZfpZYG2HDMWziw8bfFUgR//bDI0g1dKIWXfXbCXu9PZwGzIUp8Z2S57WEwX ZGwQIEcidnp0+MPuepF2DTad8xxfxyjEzRCWAUZLCtrfTzvNDvq1EguvblnsZa6C8rc2 zVXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0IbNf130uyVSVz1eP4VQtNyr8rGIyBQBelhiM1BB8RY=; b=OolMs7Ur8GTzmNa2Xuzfbrhcg2FPz18hPiqoppmwcVn/bOGf4We6RsYcDcbLhvM4D8 6QSW8TUs5AKVh+aeO/pwhZy7GsF3/kZ9Npuj8bTsJwBEMVxEmotQ+WQ2S02bEKFQG+oz pXLkhnUu3mrCZXwMvUm1H8jRIaqpSrxPB8T8KNaY3OTtVP7RlqJs6G8j8a+7/8jdfrR/ n5lE89dSbFQnn8avfgzFhxvRfNLVmzaPpWhX0dRVqGUp2OKp0cKFjmIXzsw8Rzibszbf kcCXCXy8Mf45uw/QCp0PfY9FhVP6+RqVt33imxRzm1ckz8tWQJ8fNSG1+wpMsSZaS/ca rL5A== X-Gm-Message-State: ALoCoQnB78KdulXs4tqfJ+jrOtVUjQbZA8hdiBCCYWrmTLRlw0Ys4kYSBkQrotaIsOEp8s+gSrnW X-Received: by 10.194.11.98 with SMTP id p2mr4630689wjb.131.1446676966235; Wed, 04 Nov 2015 14:42:46 -0800 (PST) Received: from localhost (rfc3251.org. [178.62.255.51]) by smtp.gmail.com with ESMTPSA id bk2sm3799762wjc.3.2015.11.04.14.42.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Nov 2015 14:42:45 -0800 (PST) From: "H. J. Illikainen" To: notmuch@notmuchmail.org Subject: [PATCH] emacs: Fontify From with message-header-other Date: Thu, 5 Nov 2015 05:44:00 +0700 Message-Id: <1446677040-43496-1-git-send-email-hji@dyntopia.com> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2015 22:42:50 -0000 Commit e26d767897e8ab59f05808a12ac5c9c1e3c7030f changed the fontification of the body associated with the From header to message-header-from. However, that face is non-existent, and in message.el (message-font-lock-keywords) the From-header falls through and is attributed the message-header-other face. This commit removes the fontification of the [Ff]rom header in notmuch-show-mode in order to fontify it using the message-header-other face. This only affects non-default configurations where notmuch-message-headers is set to display From. --- emacs/notmuch-show.el | 2 -- 1 file changed, 2 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 49fd198..793f1a5 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -353,8 +353,6 @@ operation on the contents of the current buffer." 'message-header-cc) ((looking-at "[Ss]ubject:") 'message-header-subject) - ((looking-at "[Ff]rom:") - 'message-header-from) (t 'message-header-other)))) -- H. J. Illikainen