unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Juri Linkov <juri@linkov.net>
Cc: 21957@debbugs.gnu.org, Li Ian-Xue <b4283@itsuwa.org>
Subject: bug#21957: 24.5; Make occur search within regions when there is one
Date: Mon, 23 Nov 2015 00:53:52 +0000	[thread overview]
Message-ID: <CAAdUY-J_NJaH=c1yvEgqrn2gkdwXoRHVvoXmDaz14-2gdNY25g@mail.gmail.com> (raw)
In-Reply-To: <87io4t5zto.fsf@mail.linkov.net>

[-- Attachment #1: Type: text/plain, Size: 592 bytes --]

> BTW, I recall Drew asked how to do the same in Isearch, but I see no way
> because in Isearch it's useful to mark the beginning of the region, and
> extend it using Isearch commands by putting the end of the region where
> Isearch ends.

Technically that's not necessary. Isearch always pushes the mark for you
anyway, even though it doesn't activate the region. But most people don't
know that, and even though I know it I frequently forget and activate
region before isearch.

Anyway, I don't see why it would be a problem. Just add an item to do a
regular search if the region is empty.

[-- Attachment #2: Type: text/html, Size: 692 bytes --]

  reply	other threads:[~2015-11-23  0:53 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
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 [this message]
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='CAAdUY-J_NJaH=c1yvEgqrn2gkdwXoRHVvoXmDaz14-2gdNY25g@mail.gmail.com' \
    --to=bruce.connor.am@gmail.com \
    --cc=21957@debbugs.gnu.org \
    --cc=b4283@itsuwa.org \
    --cc=juri@linkov.net \
    /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).