[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] pressing enter with org-src-tab-acts-natively over-intends blo
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] pressing enter with org-src-tab-acts-natively over-intends block |
Date: |
Sat, 12 Oct 2024 18:31:00 +0000 |
Garklein <garklein97@gmail.com> writes:
> `org-edit-src-preserve-indentation' says "the minimum (across-lines)
> number of leading whitespace characters are removed from all lines,
> and the code block is uniformly indented according to the value of
> ‘org-edit-src-content-indentation'", but it doesn't seem to be
> removing the whitespace, only adding it.
It removes whitespace beyond `org-edit-src-content-indentation' (which
is 2 spaces by default).
> Is there a way to configure this?
You can try setting `org-edit-src-content-indentation' to 0.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>