[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Spaces rather than tabs by a major mode hook
From: |
goncholden |
Subject: |
Re: Spaces rather than tabs by a major mode hook |
Date: |
Sun, 12 Jun 2022 01:05:20 +0000 |
------- Original Message -------
On Sunday, June 12th, 2022 at 12:35 PM, goncholden <goncholden@protonmail.com>
wrote:
>
> ------- Original Message -------
> On Sunday, June 12th, 2022 at 12:19 PM, Dmitry Gutov dgutov@yandex.ru wrote:
>
>
>
> > On 12.06.2022 03:07, goncholden wrote:
> >
> > > all tabs get forcefully removed once one hits return at end of line
> >
> > That also sounds like electric-indent-mode.
>
Have now done
(setq electric-indent-mode nil)
I realise now that electric indendation should be enabled carefully. Found
that it was electric-indent-mode that when you use it in a buffer, not only the
new line is indented, but also the previous one, which means that its
indentation was being forcefully changed if the current indentation is not the
only possible one.
That was my big argument about how any modification was breaking the
indentation of legacy code.
- Re: Spaces rather than tabs by a major mode hook, (continued)
- Re: Spaces rather than tabs by a major mode hook, goncholden, 2022/06/11
- Re: Spaces rather than tabs by a major mode hook, Dmitry Gutov, 2022/06/11
- Re: Spaces rather than tabs by a major mode hook, goncholden, 2022/06/11
- Re: Spaces rather than tabs by a major mode hook, Dmitry Gutov, 2022/06/11
- Re: Spaces rather than tabs by a major mode hook, goncholden, 2022/06/11
- Re: Spaces rather than tabs by a major mode hook, goncholden, 2022/06/11
- Re: Spaces rather than tabs by a major mode hook, Dmitry Gutov, 2022/06/11
- Re: Spaces rather than tabs by a major mode hook, goncholden, 2022/06/11
- Re: Spaces rather than tabs by a major mode hook,
goncholden <=
- Re: Spaces rather than tabs by a major mode hook, Emanuel Berg, 2022/06/11
- RE: [External] : Re: Spaces rather than tabs by a major mode hook, Drew Adams, 2022/06/11
- Re: [External] : Re: Spaces rather than tabs by a major mode hook, Emanuel Berg, 2022/06/11
Re: Spaces rather than tabs by a major mode hook, Emanuel Berg, 2022/06/10