Re: [O] Fixes for org-capture-templates-contexts

2013-01-31 Thread Bastien
Hi Paul, Paul Sexton writes: > Bastien altern.org> writes: > >> If you can send a patch against master for this, I'd be happy to apply >> it! Thanks again for pointing to these problems, >> > > Below are patches against org.el and org-capture.el. I implemented the ability to check contexts a

Re: [O] Fixes for org-capture-templates-contexts

2013-01-24 Thread Bastien
Hi Paul, Paul Sexton writes: > Below are patches against org.el and org-capture.el. it really helps to send patches with git format-patch, and to add a ChangeLog... at least it speeds up the patch reviewing process for me! > Are you sure it works correctly? Yes -- please re-read the docstrin

Re: [O] Fixes for org-capture-templates-contexts

2013-01-14 Thread Paul Sexton
Bastien altern.org> writes: > If you can send a patch against master for this, I'd be happy to apply > it! Thanks again for pointing to these problems, > Below are patches against org.el and org-capture.el. Are you sure it works correctly? The following setting for the variable does causes an

Re: [O] Fixes for org-capture-templates-contexts

2013-01-12 Thread Bastien
Hi Darlan, Darlan Cavalcante Moreira writes: > By a great coincidence I just discovered org-capture-templates-contexts > yesterday but could not make it work yet (didn't have much time to > investigate it). Please try to customize `org-capture-templates-contexts' using the customize interface.

Re: [O] Fixes for org-capture-templates-contexts

2013-01-12 Thread Bastien
Hi Paul, Paul Sexton writes: > org-capture-templates-contexts currently appears not to work. Actually it works, but the docstring where misleading, I fixed them. > - new context specifiers in-buffer and not-in-buffer > - in-mode and not-in-mode expect a symbol, not a regexp. > - if a rule spe

Re: [O] Fixes for org-capture-templates-contexts

2013-01-11 Thread Bastien
Hi Paul, Paul Sexton writes: > org-capture-templates-contexts currently appears not to work. The structure > that the function 'org-contextualize-validate-key' expects to find in the > variable seems quite different from the structure described in the docstring. indeed, there are some bugs here

Re: [O] Fixes for org-capture-templates-contexts

2013-01-11 Thread Darlan Cavalcante Moreira
By a great coincidence I just discovered org-capture-templates-contexts yesterday but could not make it work yet (didn't have much time to investigate it). Is it possible to have capture templates that do not appear in any buffer but can be called from lisp? The idea is that I'm implementing some