help-gnu-emacs
[Top][All Lists]
Advanced

[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: Sat, 11 Jun 2022 21:17:57 +0000

------- Original Message -------
On Sunday, June 12th, 2022 at 9:00 AM, Dmitry Gutov <dgutov@yandex.ru> wrote:


> On 11.06.2022 13:39, goncholden wrote:
>
> > Is there a way to disable emacs indentation rules altogether?
>
>
> Rebind "TAB" to 'self-insert-command' in that particular major mode.
>
> Or to 'indent-relative'.

I have tried that.  You get encouraged it might work.  Until you press return 
on the end of the line.  Then emacs deletes all the tabs.

Emacs should have a minor-mode or settings that only keep the highlighting for 
the specific major-mode, and allows the user
to format as one pleases.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]