[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] org-indent-mode breaks indentation in source blocks
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] org-indent-mode breaks indentation in source blocks |
Date: |
Fri, 07 Jul 2023 09:37:19 +0000 |
Ihor Radchenko <yantar92@posteo.net> writes:
> Looks similar to what we are trying to solve in
> https://list.orgmode.org/orgmode/ZIZLzousCaylbUz1@ws/
>
> I will take a closer look after installing the patch we are discussing there.
It looks like the linked fix also fixed this bug:
1. cd /path/to/latest/Org/git/repo
2. git checkout main
3. make repro REPRO_ARGS="/tmp/bug.org"
4. Insert the following
* aba
#+begin_src emacs-lisp
(abababa abab :abab abab
"abab")
#+end_src
** ababa
#+begin_src emacs-lisp
(abababa abab :abab abab
"abab")
#+end_src
*** abababa
#+begin_src emacs-lisp
(abababa abab :abab abab
"abab")
#+end_src
**** ababababa
#+begin_src emacs-lisp
(abababa abab :abab abab
"abab")
#+end_src
abab is aligned with "abab"
5. M-x org-indent-mode
6. Everything is still aligned perfectly.
Canceled.
--
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>