From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Latex: exporting a tree Date: Wed, 15 Dec 2010 14:48:01 +0100 Message-ID: <1BA9824E-6FB0-4892-810E-D4AAE7553FAF@gmail.com> References: <4D009B12.9040404@unibas.ch> <4D023DDC.5080008@unibas.ch> <4D0892B2.2020908@unibas.ch> <871v5jutc6.wl%n.goaziou@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=54551 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSriB-0004o4-RW for emacs-orgmode@gnu.org; Wed, 15 Dec 2010 08:48:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSriA-0005pO-Ld for emacs-orgmode@gnu.org; Wed, 15 Dec 2010 08:48:07 -0500 Received: from mail-ew0-f43.google.com ([209.85.215.43]:49681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSriA-0005pI-Fs for emacs-orgmode@gnu.org; Wed, 15 Dec 2010 08:48:06 -0500 Received: by ewy22 with SMTP id 22so1131986ewy.30 for ; Wed, 15 Dec 2010 05:48:05 -0800 (PST) In-Reply-To: <871v5jutc6.wl%n.goaziou@gmail.com> 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: Nicolas Goaziou Cc: Org Mode On Dec 15, 2010, at 1:13 PM, Nicolas Goaziou wrote: > Hello, > >>>>>> Carsten Dominik writes: > >> Nicolas, I believe this was one of your patches - the limited >> outline regexp needs to be anchored in the way you use it in >> org-latex.el. > > Ok. Today, I will check others limited outline regexp in use. Yes, thank you. It is a bit confusing that outline-regexp itself is not anchored, so all places who use it to search for a headline need the anchor added at re-search-forward time. I think this is some history issue, and it may have to do with the fact that in the old days, outline forling was done by converting \n to \r and back, which makes and anchored regexp no longer match after \r .... I fell over this issue *a lot* a couple of years ago :) - Carsten