[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mode line: 1) indicate region size, if active; 2) highlight column #
From: |
Juri Linkov |
Subject: |
Re: mode line: 1) indicate region size, if active; 2) highlight column # if > limit |
Date: |
Sat, 23 Jun 2007 22:52:00 +0300 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
> I liked the column highlight feature, but the region size
> feature didn't seem very useful to me.
>
> Would someone please install the column highlight feature?
>
> If several people try the region size feature, and say they find it
> useful, then I will reconsider it.
I suggest to install both features, but disable them by default.
There could be new modes to enable each of them. Unfortunately,
currently there are no convention of adding a common prefix to
the name of the mode affecting the mode line, so from the name
of mode it's impossible to see that it changes the display of the
mode line. Such modes could have a prefix like `modeline-', e.g.:
modeline-line-number-mode (current line-number-mode)
modeline-column-number-mode (current column-number-mode)
modeline-buffer-size-mode (current size-indication-mode)
modeline-region-size-mode (new mode)
modeline-column-limit (new mode)
Also I suggest to fix the column highlight feature to highlight only
the column number in the combined format "(%l,%c)", not the line number.
And also to change its face definition `modelinepos-column-warning' to
inherit from `font-lock-warning-face'.
--
Juri Linkov
http://www.jurta.org/emacs/
- display.texi: (<line>,<col>) isn't documented., Alan Mackenzie, 2007/06/05
- Re: display.texi: (<line>,<col>) isn't documented., Richard Stallman, 2007/06/06
- mode line: 1) indicate region size, if active; 2) highlight column # if > limit, Drew Adams, 2007/06/06
- Re: mode line: 1) indicate region size, if active; 2) highlight column # if > limit, David House, 2007/06/06
- RE: mode line: 1) indicate region size, if active; 2) highlight column # if > limit, Drew Adams, 2007/06/06
- Re: mode line: 1) indicate region size, if active; 2) highlight column # if > limit, David House, 2007/06/06
- Re: mode line: 1) indicate region size, if active; 2) highlight column # if > limit, chad brown, 2007/06/06
- Re: mode line: 1) indicate region size, if active; 2) highlight column # if > limit, Richard Stallman, 2007/06/08
- RE: mode line: 1) indicate region size, if active; 2) highlight column # if > limit, Drew Adams, 2007/06/22
- Re: mode line: 1) indicate region size, if active; 2) highlight column # if > limit, Richard Stallman, 2007/06/23
- Re: mode line: 1) indicate region size, if active; 2) highlight column # if > limit,
Juri Linkov <=
- Re: mode line: 1) indicate region size, if active; 2) highlight column # if > limit, Richard Stallman, 2007/06/24
Re: display.texi: (<line>,<col>) isn't documented., David Kastrup, 2007/06/06
- Re: display.texi: (<line>,<col>) isn't documented., Stefan Monnier, 2007/06/06
- Re: display.texi: (<line>,<col>) isn't documented., Juanma Barranquero, 2007/06/06
- Re: display.texi: (<line>,<col>) isn't documented., Juri Linkov, 2007/06/06
- RE: display.texi: (<line>,<col>) isn't documented., Drew Adams, 2007/06/07
- Re: display.texi: (<line>,<col>) isn't documented., David House, 2007/06/07
- RE: display.texi: (<line>,<col>) isn't documented., Drew Adams, 2007/06/07
- Re: display.texi: (<line>,<col>) isn't documented., Lennart Borgman (gmail), 2007/06/07
- Re: display.texi: (<line>,<col>) isn't documented., David House, 2007/06/07