unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: carlmarcos--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: help-gnu-emacs@gnu.org
Subject: Re: [External] : Tab completion and electric-indent-mode
Date: Sun, 19 Jun 2022 04:26:23 +0200 (CEST)	[thread overview]
Message-ID: <N4tm4dR--3-2@tutanota.com> (raw)
In-Reply-To: <8735g2mix5.fsf@ucl.ac.uk>


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	other threads:[~2022-06-19  2:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-17 11:59 Tab completion and electric-indent-mode carlmarcos--- via Users list for the GNU Emacs text editor
2022-06-17 14:10 ` [External] : " Drew Adams
2022-06-17 14:14   ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-06-17 15:33   ` Eli Zaretskii
2022-06-18  3:45     ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-06-18  6:44       ` Eli Zaretskii
2022-06-18  8:05         ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-06-18  8:17           ` Eli Zaretskii
2022-06-18 15:35             ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-06-18 16:20               ` Eli Zaretskii
2022-06-18  9:15       ` Eric S Fraga
2022-06-19  2:26         ` carlmarcos--- via Users list for the GNU Emacs text editor [this message]
2022-06-22 10:46           ` Eric S Fraga
2022-06-18 23:10       ` Drew Adams
2022-06-18 23:19         ` Drew Adams
2022-06-17 17:41   ` Emanuel Berg
2022-06-18  4:20     ` carlmarcos--- via Users list for the GNU Emacs text editor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=N4tm4dR--3-2@tutanota.com \
    --to=help-gnu-emacs@gnu.org \
    --cc=carlmarcos@tutanota.com \
    --cc=e.fraga@ucl.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).