unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* display.texi: (<line>,<col>) isn't documented.
@ 2007-06-05 23:19 Alan Mackenzie
  2007-06-06 16:59 ` Richard Stallman
  2007-06-07  8:23 ` tomas
  0 siblings, 2 replies; 73+ messages in thread
From: Alan Mackenzie @ 2007-06-05 23:19 UTC (permalink / raw)
  To: emacs-devel; +Cc: Kim F. Storm

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  <acm@muc.de>

	* 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).

^ permalink raw reply	[flat|nested] 73+ messages in thread

end of thread, other threads:[~2007-06-24 14:40 UTC | newest]

Thread overview: 73+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-05 23:19 display.texi: (<line>,<col>) isn't documented Alan Mackenzie
2007-06-06 16:59 ` Richard Stallman
2007-06-06 17:36   ` mode line: 1) indicate region size, if active; 2) highlight column # if > limit Drew Adams
2007-06-06 17:44     ` David House
2007-06-06 18:19       ` Drew Adams
2007-06-06 18:26         ` David House
2007-06-06 18:41         ` chad brown
2007-06-08  7:12         ` Richard Stallman
2007-06-22 23:13     ` Drew Adams
2007-06-23 13:19       ` Richard Stallman
2007-06-23 19:52         ` Juri Linkov
2007-06-24 14:40           ` Richard Stallman
2007-06-06 19:44   ` display.texi: (<line>,<col>) isn't documented David Kastrup
2007-06-06 20:07     ` Stefan Monnier
2007-06-06 20:09     ` Juanma Barranquero
2007-06-06 21:27       ` Juri Linkov
2007-06-07 15:12         ` Drew Adams
2007-06-07 15:17           ` David House
2007-06-07 15:30             ` Drew Adams
2007-06-07 15:40               ` Lennart Borgman (gmail)
2007-06-07 15:42               ` David House
2007-06-07 15:35           ` Juanma Barranquero
2007-06-07 15:44             ` David House
2007-06-07 15:45             ` Thomas Hühn
2007-06-07 15:49           ` Andreas Schwab
2007-06-07 16:15             ` Dieter Wilhelm
2007-06-07 17:18               ` Drew Adams
2007-06-07 17:28                 ` Thomas Hühn
2007-06-07 17:42                 ` Juanma Barranquero
2007-06-07 19:39                   ` Jay Belanger
2007-06-07 20:17                     ` Juri Linkov
2007-06-07 18:13                 ` Dieter Wilhelm
2007-06-07 20:26                 ` Alan Mackenzie
2007-06-07 21:20                   ` Drew Adams
2007-06-07 21:33                   ` Davis Herring
2007-06-08 14:24                 ` Richard Stallman
2007-06-08 15:09                   ` Drew Adams
2007-06-09 20:24                     ` Richard Stallman
2007-06-09 20:35                       ` Drew Adams
2007-06-09 21:34                         ` Juri Linkov
2007-06-10 15:02                           ` Drew Adams
2007-06-10 23:24                             ` Johan Bockgård
2007-06-11  9:44                             ` Richard Stallman
2007-06-11 17:21                               ` Drew Adams
2007-06-13  8:07                                 ` Richard Stallman
2007-06-13  8:07                                 ` Richard Stallman
2007-06-10 13:18                         ` Richard Stallman
2007-06-10 15:15                           ` Drew Adams
2007-06-11  3:40                             ` Miles Bader
2007-06-11  5:32                               ` Drew Adams
2007-06-11  9:44                             ` Richard Stallman
2007-06-11  9:50                               ` David House
2007-06-11 17:30                               ` Drew Adams
2007-06-08  7:11         ` Richard Stallman
2007-06-08  7:26           ` Thien-Thi Nguyen
2007-06-08  8:15             ` Kim F. Storm
2007-06-08  9:42               ` David House
2007-06-09  9:45             ` Richard Stallman
2007-06-08  8:11           ` Kim F. Storm
2007-06-08  8:38             ` Juri Linkov
2007-06-08 20:05               ` Dieter Wilhelm
2007-06-08  8:48             ` Nick Roberts
2007-06-06 21:57     ` Stephen Berman
2007-06-07  5:05     ` Werner LEMBERG
2007-06-10  8:35     ` Daniel Brockman
2007-06-10 14:27       ` Juri Linkov
2007-06-06 23:53   ` Jay Belanger
2007-06-07  0:07     ` David Kastrup
2007-06-07  0:08     ` Nick Roberts
2007-06-08 12:06   ` Alan Mackenzie
2007-06-07  8:23 ` tomas
2007-06-07 17:25   ` Alan Mackenzie
2007-06-08  8:26     ` tomas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).