From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: "Kévin Le Gouguec" <kevin.legouguec@gmail.com>
Cc: 51167@debbugs.gnu.org
Subject: bug#51167: 29.0.50; org-indent-line broken
Date: Wed, 13 Oct 2021 09:48:55 +0200 [thread overview]
Message-ID: <d103ae08-220c-6e17-2454-e8575ba48589@easy-emacs.de> (raw)
In-Reply-To: <87czo9z8cc.fsf@gmail.com>
On 13.10.21 09:34, Kévin Le Gouguec wrote:
> Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>
>> Sounds like a chain of confusion.
>>
>> A command called "indent-line" definitely should indent.
> org-indent-line indents just like every indentation function in every
> other major mode: if the syntactic convention calls for it, it indents
> or de-indents the current line; otherwise it leaves the line untouched.
>
> Or are you saying you would like org-indent-line to also indent "* bla",
> because « a command called "indent-line definitely should indent »?
>
>> Seems the original coulprit is that unhappy switch of RET and C-j, in
>> order to make Emacs "modern".
> "Modern" did not factor in; the goal was to have RET and C-j behave
> consistently in all major modes.
That does not deliver an argument to change the meaning of RET.
BTW the costs of such changes are terribly underestimated in Emacs.
>> Maybe make RET RET again?
> After much discussion on emacs-orgmode, it has been found that a lot of
> users expect neither (1) their prose to be indented, nor (2) RET to
> indent.
>
> Since electric-indent-mode is enabled globally in Emacs,
Which IMO was another mistake.
Preferring a clean editor, which does fancy things only if enabled.
> RET indents
> according to the major mode's indentation rules. Thus it was decided to
> change the default value of org-adapt-indentation, to reflect the
> expectations of the Org users who took the time to chime in on the
> mailing list to describe their workflow and expectations.
>
> If you think the default value should be reverted back to t, I suggest
> you make your case on emacs-orgmode.
next prev parent reply other threads:[~2021-10-13 8:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <541af1a2-d532-13f7-8cf6-6edbfe64fdc1@easy-emacs.de>
2021-10-12 18:35 ` bug#51167: 29.0.50; org-indent-line broken Kévin Le Gouguec
2021-10-13 6:47 ` Andreas Röhler
2021-10-13 7:34 ` Kévin Le Gouguec
2021-10-13 7:48 ` Andreas Röhler [this message]
2021-10-13 9:01 ` Kévin Le Gouguec
2021-10-13 12:59 ` Max Nikulin
2021-10-16 20:02 ` Andreas Röhler
2021-10-17 15:19 ` Max Nikulin
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d103ae08-220c-6e17-2454-e8575ba48589@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=51167@debbugs.gnu.org \
--cc=kevin.legouguec@gmail.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).