Re: [Orgmode] re-search and org-link

2009-01-22 Thread Christopher Suckling
On 22 Jan 2009, at 06:46, Carsten Dominik wrote: The reason hy your hook runs into problem is: Organisation, publication and now programming lessons. Is there anything org-mode^H^H^H Carsten can't do? Many thanks, Christopher ___ Emacs-orgmod

Re: [Orgmode] re-search and org-link

2009-01-21 Thread Carsten Dominik
Hi Christopher, turning font-lock off and on does seem to help, but it is a pretty big cannon. The reason hy your hook runs into problem is: When the match is in text marked by an "intangible" property (like the link part of a link that also has a description), then the command loop moves

[Orgmode] re-search and org-link

2009-01-21 Thread Christopher Suckling
I currently use the following hook to achieve the level of detail I like from a sparse tree: (add-hook 'org-occur-hook (lambda () (goto-char (point-max)) (while (re-search-backward regexp nil t) (show-subtree) (org-cy