From: carlmarcos--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: "'Help-Gnu-Emacs (help-gnu-emacs@gnu.org)'" <help-gnu-emacs@gnu.org>
Subject: RE: [External] : Tab completion and electric-indent-mode
Date: Fri, 17 Jun 2022 16:14:26 +0200 (CEST) [thread overview]
Message-ID: <N4m-y3t--3-2@tutanota.com> (raw)
In-Reply-To: <SJ0PR10MB5488B66272EBE116EF5D457DF3AF9@SJ0PR10MB5488.namprd10.prod.outlook.com>
Jun 17, 2022, 14:10 by drew.adams@oracle.com:
>> `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 on-the-fly,
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'.
>
next prev parent reply other threads:[~2022-06-17 14:14 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 [this message]
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
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=N4m-y3t--3-2@tutanota.com \
--to=help-gnu-emacs@gnu.org \
--cc=carlmarcos@tutanota.com \
--cc=drew.adams@oracle.com \
/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).