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

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

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


From: Eric S Fraga
Subject: Re: [External] : Tab completion and electric-indent-mode
Date: Sat, 18 Jun 2022 10:15:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

On Saturday, 18 Jun 2022 at 05:45, carlmarcos--- via Users list for the GNU 
Emacs text editor wrote:
> Does there exist indentation that is "Not On-the-Fly"?  What would that do?

Maybe, for instance,

,----[ C-h f indent-region RET ]
| indent-region is an interactive native compiled Lisp function in
| ‘indent.el’.
| 
| It is bound to C-M-\.
| 
| (indent-region START END &optional COLUMN)
| 
| Indent each nonblank line in the region.
| A numeric prefix argument specifies a column: indent each line to that column.
| [...]
| 
`----

which does this once when invoked explicitly, i.e. not on-the-fly.

The other extreme, by the way, is aggresive-indent-mode which on-the-fly
indents not just the line you are one but others around it as things
change.  I use it all the time.

-- 
Eric S Fraga via gnus (Emacs 29.0.50 2022-06-17) on Debian 11.3




reply via email to

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