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: carlmarcos
Subject: Re: [External] : Tab completion and electric-indent-mode
Date: Sun, 19 Jun 2022 04:26:23 +0200 (CEST)

Jun 18, 2022, 09:15 by e.fraga@ucl.ac.uk:

> 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.
>

Interesting.  Will try it.  Does `aggresive-indent-mode` conflict with 
`electric-indent-mode`?
Would I need to turn `electric-indent-mode` off?


> -- 
> 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]