Not OK.

With column-number-mode on mg has to redraw the modeline (maybe even
the whole window?) on every cursor move. Try it on a 9600 serial
console.

With line-number-mode on the redraw is only necessary when a cursor
move changes the line number. Happens considerably less often.

Also note how this is in line with what emacs does.

The tutorial should be fixed.

On Sat, May 26, 2018 at 08:03:24PM +0300, Leonid Bobrov wrote:
> From https://marc.info/?t=152724880600001&r=1&w=2
> 
> If line-number-mode is on by default, I don't get what is
> the problem with these "slow serial lines", plus without
> this patch below we have confusing tutorial for new users:
> 
> Index: display.c
> ===================================================================
> RCS file: /cvs/src/usr.bin/mg/display.c,v
> retrieving revision 1.48
> diff -u -p -r1.48 display.c
> --- display.c 6 Jul 2017 19:27:37 -0000       1.48
> +++ display.c 26 May 2018 13:27:35 -0000
> @@ -91,7 +91,7 @@ struct video          blanks;               /* Blank line im
>  struct score *score;                 /* [NROW * NROW] */
>  
>  static int    linenos = TRUE;
> -static int    colnos = FALSE;
> +static int    colnos = TRUE;
>  
>  /* Is macro recording enabled? */
>  extern int macrodef;
> 

-- 
I'm not entirely sure you are real.

Reply via email to