Hi Nicolas, Nicolas Goaziou <m...@nicolasgoaziou.fr> writes:
> Sebastian Miele <sebastian.mi...@gmail.com> writes: > >> Subject: [PATCH] Respect buffer-local value of >> `org-edit-src-content-indentation' >> >> * lisp/org-src.el (org-src--contents-for-write-back): Use the >> potentially buffer-local value of `org-edit-src-content-indentation' >> from the source buffer instead of that from the editing buffer. > > Thank you. > > Would you mind explaining your use case? The Org default of org-edit-src-content-indentation is 2. I like that value and leave it that way. Worg's root .dir-locals sets it to 0 buffer-locally in at least many Worg's Org files. Hence, when I edit an src block in a Worg file, the value of org-edit-src-content-indentation in the edit buffer is 2. But the correct value in that case is 0. Best wishes Sebastian