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.
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
> ... 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?
> 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
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
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
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
7 matches
Mail list logo