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

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

2021-12-03 Thread Sébastien Miquel
e new behaviour by setting ~org-src-native-defun-movements~ to nil. Regards, -- Sébastien Miquel From 51675d8bbea54db7daf3dcc88a77ccad5174854f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Miquel?= Date: Fri, 27 Aug 2021 21:41:29 +0200 Subject: [PATCH] org-src.el: add option `org-src-n