Re: [PATCH] Add org-babel-tangle-finished hook

2022-09-22 Thread Timothy
Hi Ihor, >> +(defcustom org-babel-tangle-finished-hook nil > > I’d also mention the active buffer when the hook is ran. (And also add > the relevant info to org-babel-pre-tangle-hook docstring) Done. >> +- `org-babel-tangle-finished-hook' :: >> + #+vindex: org-babel-tangle-finished-hook >> +Thi

Re: [PATCH] Add org-babel-tangle-finished hook

2022-09-20 Thread Ihor Radchenko
Timothy writes: > +(defcustom org-babel-tangle-finished-hook nil > + "Hook run at the very end of `org-babel-tangle'. > +In this way, it is the counterpart to `org-babel-pre-tangle-hook'." > + :group 'org-babel > + :package-version '(Org . "9.6") > + :type 'hook) I'd also mention the active

Re: [PATCH] Add org-babel-tangle-finished hook

2022-09-17 Thread Timothy
Hello again, > [5. text/x-patch; 0002-manual-Document-org-babel-tangle-finished-hook.patch]… NB: I just picked up the extraneous table alignment change that slipped in and have removed that from the patch in my local copy. Timothy

[PATCH] Add org-babel-tangle-finished hook

2022-09-17 Thread Timothy
Hi All, I recently noticed that there was no entry point for running actions at the conclusion of tangling. We have `org-babel-pre-tangle-hook' which runs at the start of the tangle, and `org-babel-post-tangle-hook' which is run in each tangled file in turn, but nothing to run at the very end onc