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

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

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

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

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

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
ate: Wed, 9 Oct 2019 01:00:50 +0000 Subject: [PATCH] Respect buffer-local value of `org-edit-src-content-indentation' * lisp/org-src.el (org-src--content-indentation): Introduce permanently buffer-local variable for storing away the potentially buffer-local value of `org-edit-src-content-indentati

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

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

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 sou

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

2019-10-16 Thread Sebastian Miele
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. --- etc/ORG-NEWS| 4 lisp

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

2019-10-15 Thread Adam Porter
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. > --- > lisp/org-src.el | 3 ++- > 1 file changed, 2

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

2019-10-14 Thread Sebastian Miele
* 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. --- lisp/org-src.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git