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


Message #8 received at 21957 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: b4283 <at> itsuwa.org
Cc: 21957 <at> debbugs.gnu.org
Subject: Re: bug#21957: 24.5;
 Make occur search within regions when there is one
Date: Fri, 20 Nov 2015 02:04:53 +0200
> 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?




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.