emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
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 08:47:16 +0200	[thread overview]
Message-ID: <4c834a6c-e92b-443d-90e9-f9dbef527f0c@easy-emacs.de> (raw)
In-Reply-To: <87zgre6qgx.fsf@gmail.com>


On 12.10.21 20:35, Kévin Le Gouguec wrote:
> Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>
>> With following stuff in org-mode buffer:
>>
>> * bla
>> asd
>>
>> M-x org-indent-line RET on second line has no effect.
> Org 9.5 changed the default value of org-adapt-indentation from t to
> nil, as that seemed to be what a lot of users expect[1], so
> org-indent-line should not indent the second line in Emacs 28 onward
> unless configured otherwise:
>
> - setting org-adapt-indentation back to t will make Org indent by
>    inserting whitespace;
>
> - alternatively, enabling org-indent-mode will make Org "soft-indent"
>    with text properties.
>
>
> [1] Org 9.4 made RET and C-j obey electric-indent-mode like they do in
>      most other major modes.  Since org-adapt-indentation was t by
>      default, this led to many dismayed reports on emacs-orgmode that
>      "RET now messes up indentation", indicating that these users did not
>      expect their prose to be indented.


Sounds like a chain of confusion.

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

Maybe make RET RET again?







  reply	other threads:[~2021-10-13  6:48 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 [this message]
2021-10-13  7:34     ` Kévin Le Gouguec
2021-10-13  7:48       ` Andreas Röhler
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=4c834a6c-e92b-443d-90e9-f9dbef527f0c@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).