From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "gamename" Newsgroups: gmane.emacs.help Subject: Changing Color Of Column # In Modeline Date: 21 Nov 2005 17:07:35 -0800 Organization: http://groups.google.com Message-ID: <1132621655.018878.193200@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1132622814 18710 80.91.229.2 (22 Nov 2005 01:26:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 Nov 2005 01:26:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 22 02:26:43 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EeMua-0005S4-4E for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Nov 2005 02:25:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EeMuX-0006cs-O5 for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Nov 2005 20:25:29 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 14 Original-NNTP-Posting-Host: 128.107.248.220 Original-X-Trace: posting.google.com 1132621660 13025 127.0.0.1 (22 Nov 2005 01:07:40 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 22 Nov 2005 01:07:40 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: z14g2000cwz.googlegroups.com; posting-host=128.107.248.220; posting-account=l5OKnQ0AAADrHOPMVhCpAmIoocOY27KZ Original-Xref: shelby.stanford.edu gnu.emacs.help:135636 comp.emacs:90618 Original-To: help-gnu-emacs@gnu.org 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:31239 Archived-At: Hi, How can I change the color of the column number displayed in the modeline when when its greater than a certain value? The coding standard where I work requires that all code be within 80 columns. So I would like to create an eye-catcher by changing the modeline column value to red after the point exceeds the 79th column. Is that possible? Does anyone have a code snippet which does that or something similar? TIA, -T