|Subject:||Re: [Orgmode] property searches and numerical values|
|Date:||Wed, 23 Apr 2008 08:54:07 +0200|
general comparison operators for properties should have been implemented a long time ago, thanks for bring this up. This is now available in the GIT repository and will be part of the upcoming 6.02 release - thanks for raising this point.
Unfortunately there are no good examples for true custom searches available. Some of this is described in the manual. Basically, you need to use a general search to pre-select some entries, for example a tags/property search with the criterion "LEVEL>=2" (this already uses the new operators, so in order to do this, make sure you have the latest devellopment version...). Then you need to write a function that will decide if the entry at point should really be included, and if not, where to continue the search. A short description of this with a small example can be found here:
On Apr 17, 2008, at 2:19 PM, Dan Davison wrote:
I'd like to ask about ways in which (sorted) sparse trees can be produced based on numerical-valued properties. One thing I have in mind is that it would seem natural to treat priority as a (1-dimensional) numerical quantity, rather than as a categorical variable as it seems to be currently. i.e. I'm attracted by the idea of being able to generate a sparse tree containing all subtrees with priority greater than 2.5, and to have headings in the sparse tree sorted by priority. (Of course I'm not suggesting replacing the current priority system; in the above by 'priority' I mean some user defined numerical-valued property.) [ Am I right in thinking that one also can't do this currently with timestamps? Not that that is necessarily needed as the agenda view does a lovely job. ]
|[Prev in Thread]||Current Thread||[Next in Thread]|