On Fri, May 25, 2018 at 02:42:07PM -0400, Brian Callahan wrote: > > > On 05/25/18 10:25, Leonid Bobrov wrote: > > Mentioning would be nice. > > > > display.c's 1.39 revision log says "off by default > > to not kill slow serial lines" -_- > > > > Then why not write that diff? > Something like the below, maybe? I'm not totally sold that we need it, but am > not unsold either. I could go either way, depending on what others think. > > ~Brian > > Index: tutorial > =================================================================== > RCS file: /cvs/src/usr.bin/mg/tutorial,v > retrieving revision 1.17 > diff -u -p -r1.17 tutorial > --- tutorial 30 May 2017 07:11:40 -0000 1.17 > +++ tutorial 25 May 2018 18:34:32 -0000 > @@ -218,10 +218,11 @@ you're editing a file named "tutorial". > saved it, it should have a "**" to the left of those words. If this file is > read-only, you should see a "%%" to the left of those words. > > -To the right of the status line, you should see L followed by digits and C > -followed by some more digits. These indicate the line number and column > number > -of the file that your cursor is currently on. If you move the cursor around, > -you should see the line and column number change. > +To the right of the status line, you should see L followed by digits and, if > +column-number-mode is enabled, C followed by some more digits. These indicate > +the line number and column number of the file that your cursor is currently > +on. If you move the cursor around, you should see the line and column number > +change. > > In the middle of the screen, you should see the word "(fundamental)" which > indicates that the current editing mode is "fundamental-mode". The mg editor >
I think we should mention how to enable column-number-mode like Leonid pointed out, but I don't think we need to move this whole block all the way to the end. It's ok that M-x is not yet explained in my opinion. This one is OK florian@ if you want to commit it. diff --git tutorial tutorial index f015d10cd60..6897b1c9102 100644 --- tutorial +++ tutorial @@ -218,10 +218,12 @@ you're editing a file named "tutorial". If you've edited this file and not saved it, it should have a "**" to the left of those words. If this file is read-only, you should see a "%%" to the left of those words. -To the right of the status line, you should see L followed by digits and C -followed by some more digits. These indicate the line number and column number -of the file that your cursor is currently on. If you move the cursor around, -you should see the line and column number change. +To the right of the status line, you should see L followed by digits +and, if column-number-mode is enabled, C followed by some more digits. +Type M-x column-number-mode Enter to enable it if it is disabled (the +default). These indicate the line number and column number of the file +that your cursor is currently on. If you move the cursor around, you +should see the line and column number change. In the middle of the screen, you should see the word "(fundamental)" which indicates that the current editing mode is "fundamental-mode". The mg editor @@ -346,7 +348,7 @@ Author Info ----------- Original Author of this document: Mayukh Bose, -Date last updated: 2015-12-21 +Date last updated: 2018-05-27 Copyright --------- -- I'm not entirely sure you are real.