Re: mg: how to indent using spaces instead of tabs

2022-06-12 Thread Luke A. Call
On 2022-06-12 18:16:15+0300, Mihai Popescu wrote: > > ... mg will use a tab for indentation. > > Use something to replace every TAB occurrence in the source code with > 8 spaces sequence. Well, not every TAB maybe? man expand, unexpand(1) exists.

Re: mg: how to indent using spaces instead of tabs

2022-06-12 Thread Jeff Ross
On 6/12/22 9:16 AM, Mihai Popescu wrote: ... mg will use a tab for indentation. Use something to replace every TAB occurrence in the source code with 8 spaces sequence. Well, not every TAB maybe? man 1 expand

Re: mg: how to indent using spaces instead of tabs

2022-06-12 Thread Mihai Popescu
> ... mg will use a tab for indentation. Use something to replace every TAB occurrence in the source code with 8 spaces sequence. Well, not every TAB maybe?

Re: mg: how to indent using spaces instead of tabs

2022-06-07 Thread obsdml
> On Jun 5, 2022, at 4:24 AM, Sam Lee 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

Re: mg: how to indent using spaces instead of tabs

2022-06-05 Thread Omar Polo
Sam Lee 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

Re: mg: how to indent using spaces instead of tabs

2022-06-05 Thread Omar Polo
Omar Polo wrote: > Sam Lee wrote: > > In the mg text editor, how do I indent using spaces instead of tabs? > > If I enable auto-indent-mode, mg uses tabs to indent. Is there > > something like Vim and nvi's 'expandtab' option that makes mg indent > > using spaces instead of tabs? > > there

Re: mg: how to indent using spaces instead of tabs

2022-06-05 Thread Omar Polo
Sam Lee wrote: > In the mg text editor, how do I indent using spaces instead of tabs? > If I enable auto-indent-mode, mg uses tabs to indent. Is there > something like Vim and nvi's 'expandtab' option that makes mg indent > using spaces instead of tabs? there isn't an `expandtab' for mg. there