Sam Lee <samlee...@yahoo.com> wrote:
> On 2022-06-05 10:58 +0200, Omar Polo wrote:
> > M-x no-tab-mode RET seems to work (as long as you don't want to change
> > the width of the `expandtab'; it always align to the nearest multiple
> > of 8)
> 
> How do people write Python programs using mg?
> Python requires 4 space indentation ...

and lua uses three spaces.  i guess there aren't a lot of people writing
in these languages with mg, or maybe they don't use auto-indent-mode?
dunno.  personally i use mg mainly for configuration files and C, as i
find it sometimes more "comfy" than Emacs itself :)

The good thing tho is that you have the sources (/usr/src/usr.bin/mg
assuming you have a checkout in /usr/src.)

You can add -DNOTAB in the Makefile to enable it, then grep for NOTAB
and see how to allow using a different tab width per buffer.  Then
you'll have a diff for it, so you're issue will be solved, and you can
share it on tech@ (cc'ing lum@).  I for one would be happy to review
such a diff, even if I can't give a meaningful OK.

Reply via email to