From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: [patch] Run occur command restricted to a region Date: Fri, 20 Jan 2017 01:51:32 +0200 Organization: LINKOV.NET Message-ID: <87r33ywquz.fsf@mail.linkov.net> References: <87vau3jl6f.fsf@gmail.com> <87shp6uwvj.fsf@mail.linkov.net> <83h95lua2f.fsf@gnu.org> <878tqxm1wh.fsf@mail.linkov.net> <87r34ozq20.fsf@gmail.com> <87inq0xhiw.fsf@mail.linkov.net> <87d1g55h8d.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1484870027 29256 195.159.176.226 (19 Jan 2017 23:53:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 19 Jan 2017 23:53:47 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) Cc: Emacs developers To: Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 20 00:53:39 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUMWI-0006Bl-Nu for ged-emacs-devel@m.gmane.org; Fri, 20 Jan 2017 00:53:30 +0100 Original-Received: from localhost ([::1]:51552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUMWN-0002QA-P3 for ged-emacs-devel@m.gmane.org; Thu, 19 Jan 2017 18:53:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUMVn-0002Q3-Dm for emacs-devel@gnu.org; Thu, 19 Jan 2017 18:53:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUMVk-0004xz-40 for emacs-devel@gnu.org; Thu, 19 Jan 2017 18:52:59 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:42978 helo=homiemail-a23.g.dreamhost.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cUMVj-0004wN-To for emacs-devel@gnu.org; Thu, 19 Jan 2017 18:52:56 -0500 Original-Received: from homiemail-a23.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a23.g.dreamhost.com (Postfix) with ESMTP id A91A84B006D; Thu, 19 Jan 2017 15:52:52 -0800 (PST) Original-Received: from localhost.linkov.net (m83-191-204-220.cust.tele2.ee [83.191.204.220]) (Authenticated sender: jurta@jurta.org) by homiemail-a23.g.dreamhost.com (Postfix) with ESMTPA id D798E4B0063; Thu, 19 Jan 2017 15:52:51 -0800 (PST) In-Reply-To: (Tino Calancha's message of "Wed, 18 Jan 2017 20:04:16 +0900 (JST)") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-Received-From: 69.163.253.7 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:211416 Archived-At: >> See the updated patch. Play with it and let me know how you see it. >> In my case, just the first part of the patch, i.e., to run `occur' >> restricted to the region is all that i need. > > do you have any preference on the proposed patches? Please see the thread regarding the region argument: http://lists.gnu.org/archive/html/emacs-devel/2017-01/msg00044.html i.e. a new convention is to add a single arg =E2=80=98region=E2=80=99 instead of the =E2=80=98start=E2=80=99/=E2=80=98end=E2=80=99 pair. Could you try to update your patch accordingly?