Re: [PATCH] Respect buffer-local value of `org-edit-src-content-indentation'

2020-02-14 Thread Bastien
Hi Sebastian, Sebastian Miele writes: > Part of me feels that I should find a better explanation and spare you > the trouble of figuring out what I mean. But there seems to be no > (significantly) better explanation I can come up with without going to > greater lengths and especially investing c

Re: [PATCH] Respect buffer-local value of `org-edit-src-content-indentation'

2020-02-13 Thread Sebastian Miele
Sebastian Miele writes: > Bastien writes: > > > > Sebastian Miele writes: > > > > > I am quite certain, that the content indentation conceptually and > > > technically belongs to the buffer containing the src block. > > > > Sorry, I think I got confused - let's call buffer-A the one with the >

Re: [PATCH] Respect buffer-local value of `org-edit-src-content-indentation'

2020-02-12 Thread Sebastian Miele
Bastien writes: > > Sebastian Miele writes: > > > I am quite certain, that the content indentation conceptually and > > technically belongs to the buffer containing the src block. > > Sorry, I think I got confused - let's call buffer-A the one with the > "#+begin_src ... #+end_src" string and buf

Re: [PATCH] Respect buffer-local value of `org-edit-src-content-indentation'

2020-02-12 Thread Bastien
Hi Sebastian, Sebastian Miele writes: > I am quite certain, that the content indentation conceptually and > technically belongs to the buffer containing the src block. Sorry, I think I got confused - let's call buffer-A the one with the "#+begin_src ... #+end_src" string and buffer-B the one y

Re: [PATCH] Respect buffer-local value of `org-edit-src-content-indentation'

2020-02-12 Thread Sebastian Miele
Hi Bastien, Bastien writes: > > Sebastian Miele writes: > > > * 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. > > I'm not sure about I see wh

Re: [PATCH] Respect buffer-local value of `org-edit-src-content-indentation'

2020-02-12 Thread Bastien
Hi Sebastian, Sebastian Miele writes: > * 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. I'm not sure about I see why this patch would be useful.

Re: [PATCH] Respect buffer-local value of `org-edit-src-content-indentation'

2019-11-20 Thread Nicolas Goaziou
Hello, Sebastian Miele writes: > That's perfectly fine with me. An updated patch is attached. Applied. I removed the ORG-NEWS entry because it is more a bugfix than anything else. Thank you. Regards, -- Nicolas Goaziou

Re: [PATCH] Respect buffer-local value of `org-edit-src-content-indentation'

2019-11-19 Thread Sebastian Miele
Hi Nicolas, Nicolas Goaziou writes: > Sebastian Miele 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 i

Re: [PATCH] Respect buffer-local value of `org-edit-src-content-indentation'

2019-11-19 Thread Nicolas Goaziou
Hello, Sebastian Miele 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-s

Re: [PATCH] Respect buffer-local value of `org-edit-src-content-indentation'

2019-11-03 Thread Sebastian Miele
Hi Nicolas, Nicolas Goaziou writes: > Sebastian Miele 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' >>

Re: [PATCH] Respect buffer-local value of `org-edit-src-content-indentation'

2019-11-03 Thread Nicolas Goaziou
Hello, Sebastian Miele 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