Despite I am not a new Emacs user, my elisp is nearly not existent.
I want to present some REST API stuff with epresent and org babel restclient. This is working fine until I want to edit a source block (request) inline during the presentation.
You can reproduce this by using the following org structure
* Testitem
#+begin_src restclient
#Get URL:
GET https://www.bing.com
#+end_src
I tried to disable electric indent mode in my init.el to check if this is the reason, but no luck.
(electric-indent-local-mode -1)
If I call the edit function (I need to change an URL param, due to preceding requests within the presentation) and confirm the edit with C-c ', the code is indented by 2 spaces and the source snippet is not shown/working anymore in epresent hereafter. It changed to:
* Testitem
#+begin_src restclient
#Get URL:
GET https://www.bing.com
#+end_src
Which is then not shown anymore and thus also not executable within epresent.
Can anyone point me to the reason for the indentation of the restclient source block and how to disably this?