[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Respect buffer-local value of `org-edit-src-content-indentat
Re: [PATCH] Respect buffer-local value of `org-edit-src-content-indentation'
Wed, 20 Nov 2019 06:12:46 +0000
mu4e 1.3.5; emacs 26.3
Nicolas Goaziou <address@hidden> writes:
> Sebastian Miele <address@hidden> writes:
>> 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.
> Then I think we should do the same as what is done for, e.g.,
> `org-src--preserve-indentation`, i.e. store the initial value from
> `org-src--edit-element', and use it in
That's perfectly fine with me. An updated patch is attached.
Description: Text document