Re: [PATCH] org-src.el: add option `org-src-native-defun-movements'

2021-12-04 Thread Tim Cross
Sébastien Miquel writes: > Hi, > > Thank you for having a look. > > Tim Cross writes: >> This also seems like an edge case and I'm not convinced yet another >> option is justified. Why have eilisp in org blocks rather than an >> emacs-lisp block? > > By org src blocks I meant an org emacs-lisp

Re: [PATCH] org-src.el: add option `org-src-native-defun-movements'

2021-12-03 Thread Sébastien Miquel
Hi, Thank you for having a look. Tim Cross writes: This also seems like an edge case and I'm not convinced yet another option is justified. Why have eilisp in org blocks rather than an emacs-lisp block? By org src blocks I meant an org emacs-lisp src block. The point of the patch is to be abl

Re: [PATCH] org-src.el: add option `org-src-native-defun-movements'

2021-12-03 Thread Tim Cross
Sébastien Miquel writes: > Hi, > > The attached patch adds a new option ~org-src-native-defun-movements~ > that makes ~beginning-of-defun~, ~end-of-defun~ and ~eval-defun~ work > natively when called from inside an org src block : those functions > are called from an org src edit buffer, in the