From: Juri Linkov <juri@linkov.net>
To: b4283@itsuwa.org
Cc: 21957@debbugs.gnu.org
Subject: bug#21957: 24.5; Make occur search within regions when there is one
Date: Fri, 20 Nov 2015 02:04:53 +0200 [thread overview]
Message-ID: <87ziy9tu1m.fsf@mail.linkov.net> (raw)
In-Reply-To: <87si42sdau.fsf@ipass-lix01.i-did-not-set--mail-host-address--so-tickle-me> (b4283@itsuwa.org's message of "Thu, 19 Nov 2015 14:39:37 +0800")
> This is a wish request.
>
> The current occur implementation doesn't include a `region' version
> which search only within the current region mark by user, instead it
> operates on the entire buffer.
>
> It would come in handy if occur searchs within regions as well. Such
> behavior is desired, for example, when listing the occurances of a
> symbol in the body of a function definition.
Do you think it would suit your needs when you first narrow the buffer
(e.g. to the body of a function with C-x n d) before running occur?
next prev parent reply other threads:[~2015-11-20 0:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-19 6:39 bug#21957: 24.5; Make occur search within regions when there is one b4283
2015-11-20 0:04 ` Juri Linkov [this message]
2015-11-21 5:29 ` Li Ian-Xue
2015-11-22 12:13 ` Artur Malabarba
2015-11-23 0:22 ` Juri Linkov
2015-11-23 0:53 ` Artur Malabarba
2015-11-23 1:29 ` Drew Adams
2022-01-24 13:43 ` Lars Ingebrigtsen
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ziy9tu1m.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=21957@debbugs.gnu.org \
--cc=b4283@itsuwa.org \
/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.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).