From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#21957: 24.5; Make occur search within regions when there is one Date: Fri, 20 Nov 2015 02:04:53 +0200 Organization: LINKOV.NET Message-ID: <87ziy9tu1m.fsf@mail.linkov.net> References: <87si42sdau.fsf@ipass-lix01.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447978044 27766 80.91.229.3 (20 Nov 2015 00:07:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2015 00:07:24 +0000 (UTC) Cc: 21957@debbugs.gnu.org To: b4283@itsuwa.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 20 01:07:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZzZEK-00024u-Sb for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Nov 2015 01:07:09 +0100 Original-Received: from localhost ([::1]:44626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzZEK-00055n-HS for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Nov 2015 19:07:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzZEH-00054S-Lt for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2015 19:07:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzZEE-00080p-GK for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2015 19:07:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzZEE-00080l-DD for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2015 19:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZzZEE-0006YP-2w for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2015 19:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Nov 2015 00:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21957-submit@debbugs.gnu.org id=B21957.144797796625103 (code B ref 21957); Fri, 20 Nov 2015 00:07:02 +0000 Original-Received: (at 21957) by debbugs.gnu.org; 20 Nov 2015 00:06:06 +0000 Original-Received: from localhost ([127.0.0.1]:45336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzZDK-0006Wn-4U for submit@debbugs.gnu.org; Thu, 19 Nov 2015 19:06:06 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:42519 helo=homiemail-a18.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzZDI-0006Wb-16 for 21957@debbugs.gnu.org; Thu, 19 Nov 2015 19:06:04 -0500 Original-Received: from homiemail-a18.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a18.g.dreamhost.com (Postfix) with ESMTP id 9B0A625006B; Thu, 19 Nov 2015 16:06:02 -0800 (PST) Original-Received: from localhost.linkov.net (82.131.20.219.cable.starman.ee [82.131.20.219]) (Authenticated sender: jurta@jurta.org) by homiemail-a18.g.dreamhost.com (Postfix) with ESMTPA id C8A3A250069; Thu, 19 Nov 2015 16:06:01 -0800 (PST) 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") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108941 Archived-At: > 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?