From: Max Nikulin <manikulin@gmail.com>
To: 51167@debbugs.gnu.org
Subject: bug#51167: 29.0.50; org-indent-line broken
Date: Wed, 13 Oct 2021 19:59:42 +0700 [thread overview]
Message-ID: <ea90d191-617c-35c9-9ece-d8307fcc43e3@gmail.com> (raw)
In-Reply-To: <87zgre6qgx.fsf@gmail.com>
On 13/10/2021 01:35, Kévin Le Gouguec wrote:
> Andreas Röhler writes:
>
>> With following stuff in org-mode buffer:
>>
>> * bla
>> asd
>>
>> M-x org-indent-line RET on second line has no effect.
Andreas, do the following settings make behavior consistent with you
expectations?
(add-hook 'org-mode-hook (lambda () (electric-indent-local-mode -1)))
(setq org-adapt-indentation t)
Have in mind that TAB is a rather busy key in Org. Besides indentation
it is used for fold-reveal cycle for headings, list items, drawers,
source code blocks and examples.
On 13/10/2021 14:34, Kévin Le Gouguec wrote:
> Or are you saying you would like org-indent-line to also indent "* bla",
> because « a command called "indent-line definitely should indent »?
* Is a heading
* List item.
Another line of list item
*
#^---
TAB indents here. However there is no zero indent in the cycle and it
might be considered as a bug.
On 13/10/2021 13:47, Andreas Röhler wrote:
> Maybe make RET RET again?
Now I am confused if TAB or RET makes you unhappy. `org-indent-line' has
closer relations with TAB than with RET.
next prev parent reply other threads:[~2021-10-13 13:05 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
2021-10-13 9:01 ` Kévin Le Gouguec
2021-10-13 12:59 ` Max Nikulin [this message]
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=ea90d191-617c-35c9-9ece-d8307fcc43e3@gmail.com \
--to=manikulin@gmail.com \
--cc=51167@debbugs.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.
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).