Re: [O] run a function during capture

2017-01-24 Thread Alan Schmitt
On 2017-01-23 13:56, Nick Dokos writes: > Alan Schmitt writes: > >> ... >> - I added a hook to org-capture-after-finalize-hook > ^ >> #+begin_src emacs-lisp >> (defun as/do-org-board-dl-hook () >> (when (equal (buffer-name) (concat "CAPTURE-" as/org-

Re: [O] run a function during capture

2017-01-23 Thread Nick Dokos
Alan Schmitt writes: > ... > - I added a hook to org-capture-after-finalize-hook ^ > #+begin_src emacs-lisp > (defun as/do-org-board-dl-hook () > (when (equal (buffer-name) (concat "CAPTURE-" as/org-board-capture-file)) > (org-board-archive))) >

Re: [O] run a function during capture

2017-01-23 Thread Alan Schmitt
On 2017-01-20 15:25, Xebar Saram writes: > Alan: once you have your org-board and capture setting finalized , i > would be very interested to get more details on your setup and work > flow, this looks really interesting! Here is how I did it: - on Firefox side, I installed Org-capture for Firefo

Re: [O] run a function during capture

2017-01-23 Thread Alan Schmitt
On 2017-01-19 12:11, Nick Dokos writes: > Alan Schmitt writes: > >> Hello, >> >> It is possible to run a function at the end of capture? I would like to >> call org-board-archive (that downloads a web page according to some >> properties) before finishing the capture? >> > > There are three hook

Re: [O] run a function during capture

2017-01-20 Thread Xebar Saram
Alan: once you have your org-board and capture setting finalized , i would be very interested to get more details on your setup and work flow, this looks really interesting! thx Z On Thu, Jan 19, 2017 at 6:47 PM, Alan Schmitt < alan.schm...@polytechnique.org> wrote: > Hello, > > It is possible

Re: [O] run a function during capture

2017-01-19 Thread Nick Dokos
Alan Schmitt writes: > Hello, > > It is possible to run a function at the end of capture? I would like to > call org-board-archive (that downloads a web page according to some > properties) before finishing the capture? > There are three hooks that are run from org-capture-finalize: - org-captu

[O] run a function during capture

2017-01-19 Thread Alan Schmitt
Hello, It is possible to run a function at the end of capture? I would like to call org-board-archive (that downloads a web page according to some properties) before finishing the capture? Thanks, Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-12: 404.4