in reply to Re^6: How would you indent this?
in thread How would you indent this?
> Is it that it is emacs?
The OP is using a function which is not standard indenting, hitting TAB is.°
That's an oversimplification.
None of these functions are more standard than the others, and with the current settings there's rarely the need to use <TAB> at all.
°) or activating auto-indent, which seems to be default now.
That's electric-indent-mode, which isn't actually overdocumented right now. One of the consequences of this mode is that the PBP recommendation to remap <RET> to M-x newline-and-indent is outdated and should no longer be used. Also, in Python buffers, where indentation can't be inferred from braces and such, Electric Indent mode is switched off.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: How would you indent this?
by LanX (Saint) on Mar 19, 2021 at 14:20 UTC | |
by haj (Vicar) on Mar 19, 2021 at 16:07 UTC |