From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Matches for multiline regexps Date: Sun, 19 Jun 2005 17:14:29 +0300 Organization: JURTA Message-ID: <87slzel8ql.fsf@jurta.org> References: <200506160140.j5G1eFJ26066@raven.dms.auburn.edu> <200506170326.j5H3Qxc01563@raven.dms.auburn.edu> <200506180248.j5I2mW504853@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1119193130 16895 80.91.229.2 (19 Jun 2005 14:58:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Jun 2005 14:58:50 +0000 (UTC) Cc: teirllm@dms.auburn.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 19 16:58:47 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dk1Fu-0002nU-Tj for ged-emacs-devel@m.gmane.org; Sun, 19 Jun 2005 16:58:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dk1Lx-00074F-3u for ged-emacs-devel@m.gmane.org; Sun, 19 Jun 2005 11:04:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dk1KF-0006Qe-0U for emacs-devel@gnu.org; Sun, 19 Jun 2005 11:03:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dk1KA-0006Ns-LQ for emacs-devel@gnu.org; Sun, 19 Jun 2005 11:03:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dk1K8-0006F1-Tl for emacs-devel@gnu.org; Sun, 19 Jun 2005 11:03:01 -0400 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dk12K-0008Ny-16; Sun, 19 Jun 2005 10:44:36 -0400 Original-Received: from mail.neti.ee (80-235-34-231-dsl.mus.estpak.ee [80.235.34.231]) by Relayhost2.neti.ee (Postfix) with ESMTP id 2978131B4; Sun, 19 Jun 2005 17:42:02 +0300 (EEST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sat, 18 Jun 2005 23:50:51 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:39113 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39113 > When not displaying context, it should display each line that contains > any part of one or more matches. It should not display any line more > than once. > > When context lines are specified, it is less clear. One idea is to > display each group of lines that contains a match, plus context around > it. When there are multiple matches within one line, that line should > only appear once. The current duplicating of context lines of consecutive matched lines is too inconvenient. It really should work like grep or diff, and to join consecutive lines with their context lines into one block. -- Juri Linkov http://www.jurta.org/emacs/