From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.help Subject: Re: regexp-builder shows matches, re-search-forward fails? Date: Thu, 26 Jul 2012 13:15:32 +0200 Message-ID: <87y5m6db8r.fsf@googlemail.com> References: <87394eeqx3.fsf@googlemail.com> <81lii623nq.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1343301189 4795 80.91.229.3 (26 Jul 2012 11:13:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Jul 2012 11:13:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 26 13:13:07 2012 Return-path: Envelope-to: geh-help-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 1SuM0A-0002v8-Fy for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Jul 2012 13:13:06 +0200 Original-Received: from localhost ([::1]:44531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuM09-0007ys-Px for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Jul 2012 07:13:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuLzy-0007bS-7Y for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 07:12:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuLzx-0002ll-Ei for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 07:12:54 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:54746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuLzx-0002le-7u for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 07:12:53 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SuLzs-0002jx-Eb for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 13:12:48 +0200 Original-Received: from g231234080.adsl.alicedsl.de ([92.231.234.80]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jul 2012 13:12:48 +0200 Original-Received: from tjolitz by g231234080.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jul 2012 13:12:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 12 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: g231234080.adsl.alicedsl.de User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:Es/MZ8FbLVyRzsQcnuPCmVTRBEA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86059 Archived-At: Jambunathan K writes: > Check you `point'. Is it already past the matches? No, I use (goto-char (point-min)) before the re-search-forward. And I print out the (current-buffer in the function - its the right one). BTW its a temp buffer - but that shouldn't matter, right? -- cheers, Thorsten