[Top][All Lists]

[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 20:41:07 +0000

------- Original Message -------
On Monday, June 13th, 2022 at 5:10 AM, Jean Louis <> wrote:

> * goncholden [2022-06-11 23:04]:
> > No, because there are thousands of files. That was just an example
> > to show how emacs takes over the file, disallowing tabs and certain
> > formatting because it assumes that fortran files have a single
> > style. Not true.
> I understand that issue.
> > That would destroy the possibilities of easily detecting code
> > changes. Only want emacs to recognise that one cannot impose a
> > style on legacy code. It should be able to go along with no style.
> How I understand it, you speak of turning off indentation.

There is a terrible design flaw in emacs recommending not to turn off 
indentation.  The wiki insists to really not do it, because one would have to 
turn off a lot of "electric-foo" commands (such as automatic newlines and 
indentation after {, ;, etc.

Emacs failed to keep track of the uncoordinated electric functionality 
introduced.  Ending up with no sane way of disabling them.  The insistence is 
then an admittance of a design flaw making it difficult for users to revert 
them back without missing anything.

Disabling automatic indentation completely must be a single command operation, 
with Emacs tracking what electric indentation functionality is enabled 
automatically, and disable them without putting such burdens on the user.  
Emacs has ended up with an artificial intelligence machine that takes control 
away from the human being, if our intelligence cannot figure out a quick and 
direct way to turn off its plug.

> Here are some resources for settings:
> EmacsWiki: Turn All Indenting Off
> clipboard - Completely disable all auto-indentation - Emacs Stack Exchange
> --
> Jean
> Take action in Free Software Foundation campaigns:
> In support of Richard M. Stallman

reply via email to

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