Re: [O] [PATCH] org-src.el: Unescape source block on edit

2015-05-22 Thread Kyle Meyer
Nicolas Goaziou wrote: [...] > Thanks. However, this wouldn't work as `org-src--edit-element' is called > on elements that doesn't need escaping, e.g., a footnote definition. I see. > Anyway, it is fixed in 71641bc3a0882bb16fb2b62ebef8ebc98ba0e3d8. Yes, this commit fixes the issue I originally

Re: [O] [PATCH] org-src.el: Unescape source block on edit

2015-05-22 Thread Nicolas Goaziou
Hello, Kyle Meyer writes: > org-edit-src-code doesn't seem to be unescaping correctly. For > example, calling org-edit-src-code on > > #+begin_src org > ,* h > #+end_src > > puts ",* h", not "* h", in the source buffer. When exiting, ",*" is > escaped again, resulting in > > #+begin_src org

[O] [PATCH] org-src.el: Unescape source block on edit

2015-05-21 Thread Kyle Meyer
org-edit-src-code doesn't seem to be unescaping correctly. For example, calling org-edit-src-code on #+begin_src org ,* h #+end_src puts ",* h", not "* h", in the source buffer. When exiting, ",*" is escaped again, resulting in #+begin_src org ,,* h #+end_src The attached patch moves the