From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "E." Newsgroups: gmane.emacs.help Subject: Re: mail-mode: colors in multiply-quoted lines Date: Thu, 24 Feb 2011 07:28:00 -0800 (PST) Organization: http://groups.google.com Message-ID: <2f631371-4458-420b-bb34-92aff475978e@a28g2000vbo.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1298580371 24874 80.91.229.12 (24 Feb 2011 20:46:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Feb 2011 20:46:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 24 21:46:07 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Psi4Y-0004oV-L4 for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Feb 2011 21:46:02 +0100 Original-Received: from localhost ([127.0.0.1]:52644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Psi4X-0000LR-UU for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Feb 2011 15:46:02 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!a28g2000vbo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: 195.113.18.145 Original-X-Trace: posting.google.com 1298561281 28724 127.0.0.1 (24 Feb 2011 15:28:01 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 24 Feb 2011 15:28:01 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a28g2000vbo.googlegroups.com; posting-host=195.113.18.145; posting-account=USpXmwoAAAAOjE41JhQBd7rH9gy6hU1c User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/8.04 (hardy) Firefox/3.6.13,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:185276 X-Mailman-Approved-At: Thu, 24 Feb 2011 15:38:44 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79448 Archived-At: > To get this kind of multiple-quoting highlighting, you could do > something like: > > =A0 (add-hook 'message-mode-hook > =A0 =A0 =A0 =A0 =A0 =A0 (lambda () > =A0 =A0 =A0 =A0 =A0 =A0 =A0 (font-lock-add-keywords nil > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 '(("^[ \t]*>[ \t\f]*>.*$" (0 'foo-face)))= )) > > where `foo-face' is the face you'd like to use for such quoting. Works perfectly for mail-mode, I added the code to mail-mode-hook in .emacs (using emacs as an alternate editor for alpine). Thank you!