From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Frazer Subject: Re: [Accepted] [O] Fix for infinite loop in org-html-protect Date: Fri, 11 Mar 2011 14:12:13 -0500 Message-ID: References: <19834.23619.813886.886825@gargle.gargle.HOWL> <20110311173824.A1BBD6A2C@myhost.localdomain> <4D7A6724.8020303@gmail.com> <5586.1299869748@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=33771 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Py7l1-0004Wo-Hd for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 14:12:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Py7l0-0001L9-5f for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 14:12:15 -0500 Received: from mail-yw0-f41.google.com ([209.85.213.41]:33354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Py7l0-0001L1-3E for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 14:12:14 -0500 Received: by yws5 with SMTP id 5so1708416yws.0 for ; Fri, 11 Mar 2011 11:12:13 -0800 (PST) In-Reply-To: <5586.1299869748@alphaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: Bastien Guerry , emacs-orgmode@gnu.org On Fri, Mar 11, 2011 at 1:55 PM, Nick Dokos wrote: > Scott Frazer wrote: > There is a (let ((start 0))... around the (while (string-match...)..) > and inside the outer loop, so every time the inner loop is finished, > start is recreated and initialized to 0 for the next iteration of the > outer loop. At least, that's the case in latest git. > Okay, it must have already been fixed then. I am on the 7.5 tag, so I should probably move to the latest. Scott