On Mon, Nov 03, 2014 at 02:08:33PM +0200, Kaspars Bankovskis wrote: > Hi, > > I was just mislead by mg(1) manpage, which mentions no-tab-mode as an > available command. But you get it only if you look at source and > manually compile with -DNOTAB. > > Last time the topic was touched here: > http://marc.info/?l=openbsd-tech&m=133727367821401&w=2 > > > no-tab-mode looks a bit buggy. Especially if you toggle it on/off. > > imo, no-tab-mode should get fixed, then the NOTAB's removed. > > Tried it by compiling with NOTAB, and completely agree - toggling this > mode looks weird (tabs turning into ^I escapes and vice versa when > pressing a key after switching the mode). > > While no-tab-mode is not improved and enabled by default, I think it's > better to comment it out from manpage, so that less people are looking > for non-existing command. Is anybody interested in this mode? If yes, > I could look into this at some spare time. >
just commented the text out, as per your diff. thanks, jmc > Index: usr.bin/mg/mg.1 > =================================================================== > RCS file: /cvs/src/usr.bin/mg/mg.1,v > retrieving revision 1.88 > diff -u -p -r1.88 mg.1 > --- usr.bin/mg/mg.1 2 Apr 2014 20:32:00 -0000 1.88 > +++ usr.bin/mg/mg.1 3 Nov 2014 10:46:45 -0000 > @@ -691,9 +691,9 @@ Assumes tabs are every eight characters. > Move forward > .Va n > lines. > -.It no-tab-mode > -Toggle notab mode. > -In this mode, spaces are inserted rather than tabs. > +.\" .It no-tab-mode > +.\" Toggle notab mode. > +.\" In this mode, spaces are inserted rather than tabs. > .It not-modified > Turn off the modified flag in the current buffer. > .It open-line >