From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: [BUG] infinite loop in org-e-latex-link--inline-image (new latex exporter) Date: Tue, 24 Jan 2012 17:46:06 -0500 Message-ID: <29164.1327445166@alphaville> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rpp81-0006sC-6E for emacs-orgmode@gnu.org; Tue, 24 Jan 2012 17:46:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rpp7x-00019M-4I for emacs-orgmode@gnu.org; Tue, 24 Jan 2012 17:46:13 -0500 Received: from g1t0028.austin.hp.com ([15.216.28.35]:46826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rpp7w-00019I-Rf for emacs-orgmode@gnu.org; Tue, 24 Jan 2012 17:46:09 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org I hit an infinite loop in org-e-latex.el:org-e-latex-link--inline-image:1326: ,---- | ... | (while (string-match "\\(wrap\\|multicolumn\\|float\\|placement=\\S-+\\)" | attr) | (replace-match "" nil nil attr)) | ... `---- When given a fourth STRING argument, replace-match returns the result string as a new string, but does not modify attr. Presumably attr needs to be set to that result. Nick GNU Emacs 24.0.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.4) of 2012-01-24 Org-mode version 7.8.03 (release_7.8.03.229.gb7df)