Re: [Orgmode] deleting hidden parts of sparse trees

2008-07-08 Thread Dan Davison
On Tue, Jul 08, 2008 at 10:28:04AM -0700, Carsten Dominik wrote: > Hi Dan, this is very interesting. > > Maybe you would like to write a little document how you use Org for this > purpose, what your setup is, why you chose Org to do this etc and put it Yep, I'd be happy to. (It was somewhat pret

Re: [Orgmode] deleting hidden parts of sparse trees

2008-07-08 Thread Dan Davison
On Mon, Jul 07, 2008 at 09:48:37AM -0700, Carsten Dominik wrote: > > On Jul 7, 2008, at 9:44 AM, Carsten Dominik wrote: >> <...> >> >> Do I need to mention that this will be a dangerous operation, deleting >> lots of invisible text? You might find out only ater it is too late >> to recover. > > >

Re: [Orgmode] deleting hidden parts of sparse trees

2008-07-07 Thread Carsten Dominik
On Jul 7, 2008, at 9:44 AM, Carsten Dominik wrote: (defun outline-delete-invisible () "Delete all text covert by overlays with `invisible' property `outline'." (interactive) (let ((ovls (overlays-in (point-min) (point-max))) o) (while (setq o (pop ovls)) (and (eq (overlay-get o 'i

Re: [Orgmode] deleting hidden parts of sparse trees

2008-07-07 Thread Carsten Dominik
On Jul 7, 2008, at 1:55 AM, Dan Davison wrote: I'd like to be able to create a 'pruned' tree -- I am thinking of an operation that is similar to sparse tree creation, but which results in the deletion (not just folding) of all subtrees that contain no matching entries. I don't think this curre

[Orgmode] deleting hidden parts of sparse trees

2008-07-07 Thread Dan Davison
I'd like to be able to create a 'pruned' tree -- I am thinking of an operation that is similar to sparse tree creation, but which results in the deletion (not just folding) of all subtrees that contain no matching entries. I don't think this currently exists as such (?), but it is possible to do w