From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Matches for multiline regexps Date: Thu, 16 Jun 2005 12:24:06 -0400 Message-ID: References: <200506160140.j5G1eFJ26066@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1118939101 19172 80.91.229.2 (16 Jun 2005 16:25:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Jun 2005 16:25:01 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 16 18:24:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DixA8-0003Mb-RB for ged-emacs-devel@m.gmane.org; Thu, 16 Jun 2005 18:24:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DixFa-0005rD-8b for ged-emacs-devel@m.gmane.org; Thu, 16 Jun 2005 12:29:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DixDf-0005Dh-OR for emacs-devel@gnu.org; Thu, 16 Jun 2005 12:27:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DixDb-0005Br-UV for emacs-devel@gnu.org; Thu, 16 Jun 2005 12:27:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DixDb-0005AM-In for emacs-devel@gnu.org; Thu, 16 Jun 2005 12:27:51 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DixC0-0005Td-BL for emacs-devel@gnu.org; Thu, 16 Jun 2005 12:26:12 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Dix9y-00063J-02; Thu, 16 Jun 2005 12:24:09 -0400 Original-To: Luc Teirlinck 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:38969 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38969 `M-x occur RET 11 C-q C-j 11 RET' finds four matches (lines 1 through 4) which seems logical to me. `M-x how-many RET 11 C-q C-j 11 RET' (with point at bob) finds two matches. One function looks for lines that match, while the other finds matches, so it is natural that they may differ. It is not a bug, and I don't see why we need to change the documentation either.