GNU bug report logs - #21957
24.5; Make occur search within regions when there is one

Previous Next

Package: emacs;

Reported by: b4283 <at> itsuwa.org

Date: Thu, 19 Nov 2015 07:03:01 UTC

Severity: wishlist

Found in version 24.5

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Artur Malabarba <bruce.connor.am <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 21957 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>, Li Ian-Xue <b4283 <at> 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
[Message part 1 (text/plain, inline)]
> 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.
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 196 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.