[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [External] : Tab completion and electric-indent-mode

From: carlmarcos
Subject: RE: [External] : Tab completion and electric-indent-mode
Date: Fri, 17 Jun 2022 16:14:26 +0200 (CEST)

Jun 17, 2022, 14:10 by

>> `electric-indent-mode` says that in does "On-the-fly
>> Reindentation".  What does that mean, and how is it
>> different to normal indentation?
> (What's "normal indentation"?)
Indentation that is not on-the-fly.  I would think that all indentation is 
but I am not sure.  Reading indicates that it is some indentation enhancement.

> The doc string says that the mode does this, which
> is presumably what it means by hand-waving with
> "on-the-fly reindentation":
>  this reindents whenever the hook `electric-indent-functions'
>  returns non-nil, or if you insert a character from
>  `electric-indent-chars'.
> The Emacs manual, node `Indent Convenience' says:
>  Electric Indent mode is a global minor mode that
>  automatically indents the line after every <RET>
>  you type.
> If you feel that these explanations aren't clear
> enough then please consider filing an enhancement
> request to clarify further: `M-x report-emacs-bug'.

reply via email to

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