From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Matches for multiline regexps Date: Wed, 15 Jun 2005 21:09:04 -0500 (CDT) Message-ID: <200506160209.j5G294126098@raven.dms.auburn.edu> References: <200506160140.j5G1eFJ26066@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1118888685 29223 80.91.229.2 (16 Jun 2005 02:24:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Jun 2005 02:24:45 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 16 04:24:45 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dik35-0002ts-Dw for ged-emacs-devel@m.gmane.org; Thu, 16 Jun 2005 04:24:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dik8P-0004lZ-Hs for ged-emacs-devel@m.gmane.org; Wed, 15 Jun 2005 22:29:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dik73-0004Gb-Of for emacs-devel@gnu.org; Wed, 15 Jun 2005 22:28:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dik6w-0004Ad-3i for emacs-devel@gnu.org; Wed, 15 Jun 2005 22:28:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dik6r-00043z-Vr for emacs-devel@gnu.org; Wed, 15 Jun 2005 22:28:02 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DijrL-0002xN-5f for emacs-devel@gnu.org; Wed, 15 Jun 2005 22:11:59 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j5G2AICK004963 for ; Wed, 15 Jun 2005 21:10:18 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j5G294126098; Wed, 15 Jun 2005 21:09:04 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: emacs-devel@gnu.org In-reply-to: <200506160140.j5G1eFJ26066@raven.dms.auburn.edu> (message from Luc Teirlinck on Wed, 15 Jun 2005 20:40:15 -0500 (CDT)) 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:38920 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38920 Or does occur have problems with multiline regexps? In my previous example buffer: 11 11 11 11 11 `M-x occur RET 11 C-q C-j 11 RET' produces the following *Occur* buffer: 4 matches for "11 11" in buffer: bu 2:11 4:11 6:11 8:11 I could not find out from the docs what those numbers in front of the 11's are supposed to mean. They are clearly not line numbers. Starting from a buffer with the following five lines: 11 22 33 11 22 `M-x occur RET 11 C-q C-j 22 RET' produces the following *Occur* buffer: 2 matches for "11 22" in buffer: bu 2:11 6:11 This at the very least seems inconsistent with the `occur' docstring: Show all lines in the current buffer containing a match for regexp. If a match spreads across multiple lines, all those lines are shown. So why do I not see any 22 lines in the *Occur* buffer? Sincerely, Luc.