emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Kévin Le Gouguec" <kevin.legouguec@gmail.com>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: 51167@debbugs.gnu.org
Subject: bug#51167: 29.0.50; org-indent-line broken
Date: Tue, 12 Oct 2021 20:35:42 +0200	[thread overview]
Message-ID: <87zgre6qgx.fsf@gmail.com> (raw)
In-Reply-To: <541af1a2-d532-13f7-8cf6-6edbfe64fdc1@easy-emacs.de> ("Andreas Röhler"'s message of "Tue, 12 Oct 2021 18:49:36 +0200")

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.




       reply	other threads:[~2021-10-12 18:37 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 ` Kévin Le Gouguec [this message]
2021-10-13  6:47   ` bug#51167: 29.0.50; org-indent-line broken Andreas Röhler
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=87zgre6qgx.fsf@gmail.com \
    --to=kevin.legouguec@gmail.com \
    --cc=51167@debbugs.gnu.org \
    --cc=andreas.roehler@easy-emacs.de \
    /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).