Re: [O] Auto-unfold subtrees with matches in query-replace (et al.?)
Hi Bastien, On Tue, May 14, 2013 at 10:34 AM, Bastien wrote: > > Would be a nice feature to have -- don't hesitate to report it with > M-x report-emacs-bug RET > Done. Thanks for explanation. Michael
Re: [O] Auto-unfold subtrees with matches in query-replace (et al.?)
Hi Michael, Michael Bach writes: > When I do a M-% (query-replace) in an org-mode buffer where the relevant > trees are folded, subtrees with matches are not unfolded. I am looking for > a similar behavior as is observed when doing a simple C-s > (search-forward). This is a general problem for any mode that allows invisible text, and there is no generic solution. "Revealing" invisible text is the responsability of the major mode, and can be achieved for C-s thanks to 'isearch-mode-end-hook (see line 5395 in org.el). But AFAIK there is no similar hook when query-replacing. Would be a nice feature to have -- don't hesitate to report it with M-x report-emacs-bug RET Best, -- Bastien
[O] Auto-unfold subtrees with matches in query-replace (et al.?)
Dear org-mode Users and Developers, When I do a M-% (query-replace) in an org-mode buffer where the relevant trees are folded, subtrees with matches are not unfolded. I am looking for a similar behavior as is observed when doing a simple C-s (search-forward). While I am at it: the same applies to a 3-way ediff merge session started from magit, namely the `next' difference is not visible because of folding. My solution for now is to fundamental-mode the buffers prior to the merging work. Is there an option for this that I am missing? (How) Did you solve this? Best Regards, Michael