From: Drew Adams <drew.adams@oracle.com>
To: "carlmarcos@tutanota.com" <carlmarcos@tutanota.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: Sat, 18 Jun 2022 23:10:34 +0000 [thread overview]
Message-ID: <SJ0PR10MB54880B19CF4883FA5992B47FF3AE9@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <N4ouWCD--3-2@tutanota.com>
[-- Attachment #1: Type: text/plain, Size: 1613 bytes --]
> "On-the-Fly Reindentation" also has difficulty of interpretation.
> Does there exist indentation that is "Not On-the-Fly"? What would that
> do?
Yes, the behavior should be described clearly.
"On-the-fly" can mean different things. What's
important is just what the behavior is.
A guess is that "on-the-fly" here means that
indentation happens in an automatic or partly
automatic way, as you edit/type normally.
E.g., hit `RET' to get a new line, and you also
get that new line indented.
"On the fly" means any old time, in particular,
while you are doing something else.
It can mean that while doing something else you
can hit a key to do something else, and then
continue with what you were doing. Or it can
mean that something happens automatically
while you are doing something else. My guess
is that the latter is what's meant here: hit
`RET' to enter text on a new line (main action),
and get also the extra action of indenting the
text on that new line.
Indenting that's not "on-the-fly"?
You can manually, explicitly indent a block of
text, using command `indent-rigidly', bound by
default to `C-x TAB'. It indents lines that are
at least partially in the region.
See the doc string. You can incrementally
increase and decrease the amount of indentation.
And a prefix arg indents to exactly that number
of columns.
There can be any number of kinds of indenting.
Some, like `indent-rigidly, can be initiated
manually - just to indent. Others can be
initiated automatically, in combination with
some other activity or depending on the context.
[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 14509 bytes --]
next prev parent reply other threads:[~2022-06-18 23:10 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
2022-06-22 10:46 ` Eric S Fraga
2022-06-18 23:10 ` Drew Adams [this message]
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=SJ0PR10MB54880B19CF4883FA5992B47FF3AE9@SJ0PR10MB5488.namprd10.prod.outlook.com \
--to=drew.adams@oracle.com \
--cc=carlmarcos@tutanota.com \
--cc=help-gnu-emacs@gnu.org \
/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).