[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
display.texi: (<line>,<col>) isn't documented.
From: |
Alan Mackenzie |
Subject: |
display.texi: (<line>,<col>) isn't documented. |
Date: |
Wed, 6 Jun 2007 00:19:47 +0100 |
User-agent: |
Mutt/1.5.9i |
Hi, Emacs!
When one of line-number-mode and column-number-mode is enabled, you see
either "L561" or "C2" in the mode line. When both are enabled, you see
instead "(561,2)". This isn't documented in the Emacs manual page
"Optional Mode Line".
I'm not sure what's so good about this, since "(561,2)" needs just as
much space as "L561 C2" and seems less consistent. However, I'm
assuming this was knocked about on emacs-devel all these years ago, and
there was a good reason for "(561,2)".
So here's a patch (intended for Emacs 22.2 as well as the trunk) to fix
this:
2007-06-06 Alan Mackenzie <address@hidden>
* display.texi (Optional Mode Line): Document the new form of
line+column numbers, "(561,2)".
Index: display.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/man/display.texi,v
retrieving revision 1.130
diff -c -r1.130 display.texi
*** display.texi 23 Apr 2007 14:39:40 -0000 1.130
--- display.texi 5 Jun 2007 21:52:22 -0000
***************
*** 922,929 ****
Number mode is enabled. Use the command @kbd{M-x line-number-mode} to
turn this mode on and off; normally it is on. The line number appears
after the buffer percentage @var{pos}, with the letter @samp{L} to
! indicate what it is. @xref{Minor Modes}, for more information about
! minor modes and about how to use this command.
@cindex narrowing, and line number display
If you have narrowed the buffer (@pxref{Narrowing}), the displayed
--- 922,939 ----
Number mode is enabled. Use the command @kbd{M-x line-number-mode} to
turn this mode on and off; normally it is on. The line number appears
after the buffer percentage @var{pos}, with the letter @samp{L} to
! indicate what it is.
!
! @cindex Column Number mode
! @cindex mode, Column Number
! @findex column-number-mode
! Similarly, you can display the current column number by turning on
! Column number mode with @kbd{M-x column-number-mode}. The column
! number is indicated by the letter @samp{C}. However, when both of
! these modes are enabled, the line and column numbers are displayed in
! parentheses, the line number first, rather than with @samp{L} and
! @samp{C}. For example: @samp{(561,2)}. @xref{Minor Modes}, for more
! information about minor modes and about how to use these commands.
@cindex narrowing, and line number display
If you have narrowed the buffer (@pxref{Narrowing}), the displayed
***************
*** 946,958 ****
@code{line-number-display-limit-width}. The default value is 200
characters.
- @cindex Column Number mode
- @cindex mode, Column Number
- @findex column-number-mode
- You can also display the current column number by turning on Column
- Number mode. It displays the current column number preceded by the
- letter @samp{C}. Type @kbd{M-x column-number-mode} to toggle this mode.
-
@findex display-time
@cindex time (on mode line)
Emacs can optionally display the time and system load in all mode
--- 956,961 ----
--
Alan Mackenzie (Ittersbach, Germany).
- display.texi: (<line>,<col>) isn't documented.,
Alan Mackenzie <=
- 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, 2007/06/23