From: "rgb" <rbielaws@i1.net>
Subject: Re: Changing Color Of Column # In Modeline
Date: 22 Nov 2005 09:24:40 -0800 [thread overview]
Message-ID: <1132680280.003922.155730@g47g2000cwa.googlegroups.com> (raw)
In-Reply-To: <1132621655.018878.193200@z14g2000cwz.googlegroups.com>
> 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?
http://www.emacswiki.org/cgi-bin/wiki/ColumnMarker
Using it is as easy as:
(require 'column-marker)
(add-hook foo-mode-hook (lambda ()(interactive)(column-marker-1 80)))
next prev parent reply other threads:[~2005-11-22 17:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-22 1:07 Changing Color Of Column # In Modeline gamename
2005-11-22 6:26 ` M Jared Finder
2005-11-22 17:24 ` rgb [this message]
2005-11-22 21:02 ` gamename
2005-11-23 1:21 ` M Jared Finder
2005-11-23 20:32 ` Kevin Rodgers
2005-11-23 21:08 ` Drew Adams
[not found] ` <mailman.16497.1132780124.20277.help-gnu-emacs@gnu.org>
2005-11-24 0:20 ` gamename
2005-11-24 6:21 ` Drew Adams
[not found] ` <mailman.16559.1132813301.20277.help-gnu-emacs@gnu.org>
2005-11-25 23:03 ` gamename
2005-11-26 0:01 ` Drew Adams
2005-11-26 18:33 ` gamename
2005-11-26 18:53 ` Drew Adams
[not found] ` <mailman.16824.1133031197.20277.help-gnu-emacs@gnu.org>
2005-11-27 0:25 ` gamename
2005-11-22 23:09 ` Ilya Zakharevich
2005-11-25 17:55 ` rgb
2005-11-25 18:54 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1132680280.003922.155730@g47g2000cwa.googlegroups.com \
--to=rbielaws@i1.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.