From: Bastien <bzg@gnu.org>
To: Michael Bach <phaebz@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Auto-unfold subtrees with matches in query-replace (et al.?)
Date: Tue, 14 May 2013 10:34:57 +0200 [thread overview]
Message-ID: <87zjvylyp0.fsf@bzg.ath.cx> (raw)
In-Reply-To: <kmbnjm$fb7$1@ger.gmane.org> (Michael Bach's message of "Tue, 07 May 2013 22:19:06 +0200")
Hi Michael,
Michael Bach <phaebz@gmail.com> 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
next prev parent reply other threads:[~2013-05-14 9:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-07 20:19 Auto-unfold subtrees with matches in query-replace (et al.?) Michael Bach
2013-05-14 8:34 ` Bastien [this message]
2013-06-06 15:11 ` Michael Bach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zjvylyp0.fsf@bzg.ath.cx \
--to=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=phaebz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).