GNU bug report logs - #25124
[PATCH] gnus-message-citation-mode should fontify if derived from message-mode.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Hong Xu <hong@HIDDEN>; Keywords: patch; merged with #25022; dated Tue, 6 Dec 2016 09:28:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Forcibly Merged 25022 25124. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Dec 2016 09:27:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 06 04:27:42 2016
Received: from localhost ([127.0.0.1]:57639 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cEC2I-0004j9-0M
	for submit <at> debbugs.gnu.org; Tue, 06 Dec 2016 04:27:42 -0500
Received: from eggs.gnu.org ([208.118.235.92]:41780)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hong@HIDDEN>) id 1cEC2G-0004iy-Qj
 for submit <at> debbugs.gnu.org; Tue, 06 Dec 2016 04:27:41 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <hong@HIDDEN>) id 1cEC2A-0006LN-W7
 for submit <at> debbugs.gnu.org; Tue, 06 Dec 2016 04:27:35 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:46807)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <hong@HIDDEN>) id 1cEC2A-0006LJ-TW
 for submit <at> debbugs.gnu.org; Tue, 06 Dec 2016 04:27:34 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:60984)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <hong@HIDDEN>) id 1cEC29-0005Mm-T6
 for bug-gnu-emacs@HIDDEN; Tue, 06 Dec 2016 04:27:34 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <hong@HIDDEN>) id 1cEC26-0006KD-PF
 for bug-gnu-emacs@HIDDEN; Tue, 06 Dec 2016 04:27:33 -0500
Received: from sender163-mail.zoho.com ([74.201.84.163]:21421)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <hong@HIDDEN>) id 1cEC26-0006Jn-GH
 for bug-gnu-emacs@HIDDEN; Tue, 06 Dec 2016 04:27:30 -0500
Received: from localhost (cpe-104-32-170-214.socal.res.rr.com
 [104.32.170.214]) by mx.zohomail.com
 with SMTPS id 1481016446911265.80362342289254;
 Tue, 6 Dec 2016 01:27:26 -0800 (PST)
From: Hong Xu <hong@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: [PATCH] gnus-message-citation-mode should fontify if derived from
 message-mode.
Date: Tue,  6 Dec 2016 01:27:26 -0800
Message-Id: <1481016446-26329-1-git-send-email-hong@HIDDEN>
X-Mailer: git-send-email 2.1.4
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.4 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.4 (----)

	* gnus-cite.el (gnus-message-citation-mode): Fontify if the major
	mode is derived from message-mode (not necessarily equal to
	message-mode).
---
 lisp/gnus/gnus-cite.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/gnus/gnus-cite.el b/lisp/gnus/gnus-cite.el
index 502a3be35550..e012b256d09d 100644
--- a/lisp/gnus/gnus-cite.el
+++ b/lisp/gnus/gnus-cite.el
@@ -1204,7 +1204,7 @@ gnus-message-citation-mode
   nil ;; init-value
   "" ;; lighter
   nil ;; keymap
-  (when (eq major-mode 'message-mode)   ;FIXME: Use derived-mode-p.
+  (when (derived-mode-p 'message-mode)
     ;; FIXME: Use font-lock-add-keywords!
     (let ((defaults (car (if (featurep 'xemacs)
 			     (get 'message-mode 'font-lock-defaults)
-- 
2.1.4






Acknowledgement sent to Hong Xu <hong@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#25124; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 6 Dec 2016 17:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.