Re: [O] Setting a parametric org-agenda-skip-function?

2013-06-27 Thread Bastien
Hi Alan, Alan Schmitt alan.schm...@polytechnique.org writes: I make org-agenda-skip-entry-unless-tags as debugged, and when I call this agenda view, I don't go in the debugger, so I guess it is not called. I'd try edebug-defun'ing `org-agenda-skip-eval' and track what's wrong from there.

Re: [O] Setting a parametric org-agenda-skip-function?

2013-06-27 Thread Alan Schmitt
Hi Bastien, b...@gnu.org writes: Hi Alan, Alan Schmitt alan.schm...@polytechnique.org writes: I make org-agenda-skip-entry-unless-tags as debugged, and when I call this agenda view, I don't go in the debugger, so I guess it is not called. I'd try edebug-defun'ing `org-agenda-skip-eval'

Re: [O] Setting a parametric org-agenda-skip-function?

2013-06-25 Thread Alan Schmitt
strom...@nexgo.de writes: Alan Schmitt writes: It would be great except for the following: as soon as I use the debugger, my function works as intended. Is there any reason why using the debugger would change the behavior of a function? Sorry to be of no actual help, but if it's any

Re: [O] Setting a parametric org-agenda-skip-function?

2013-06-24 Thread Alan Schmitt
Hello, I'm making some progress, but things are getting stranger. First, the reason I could not debug the function is because it is called either using eval or apply, and it seems that in that case one does not enter the debugger. However, if one is already in the debugger, then the function

Re: [O] Setting a parametric org-agenda-skip-function?

2013-06-24 Thread Achim Gratz
Alan Schmitt writes: It would be great except for the following: as soon as I use the debugger, my function works as intended. Is there any reason why using the debugger would change the behavior of a function? Sorry to be of no actual help, but if it's any consolation to you, this is common

Re: [O] Setting a parametric org-agenda-skip-function?

2013-06-23 Thread Alan Schmitt
Hello, alan.schm...@polytechnique.org writes: Hello, I'm trying to have a custom agenda where I say I want to skip some tags. I wrote a function that does what I want (it takes two arguments: the list of tags to keep, and a boolean that says whether entries with no tags should be kept).

[O] Setting a parametric org-agenda-skip-function?

2013-06-21 Thread Alan Schmitt
Hello, I'm trying to have a custom agenda where I say I want to skip some tags. I wrote a function that does what I want (it takes two arguments: the list of tags to keep, and a boolean that says whether entries with no tags should be kept). The function works well, but for some reason it is not