From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam Subject: Re: [BUG] org-exp.el: Broken Internal Links Date: Sat, 30 Oct 2010 09:25:09 +0530 Message-ID: References: <81pqusn113.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=46938 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PC2XA-0008HP-6P for emacs-orgmode@gnu.org; Fri, 29 Oct 2010 23:55:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PC2X8-0001r2-Uw for emacs-orgmode@gnu.org; Fri, 29 Oct 2010 23:55:12 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:41742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PC2X8-0001qy-Oy for emacs-orgmode@gnu.org; Fri, 29 Oct 2010 23:55:10 -0400 Received: by gyh20 with SMTP id 20so2849179gyh.0 for ; Fri, 29 Oct 2010 20:55:10 -0700 (PDT) In-Reply-To: <81pqusn113.fsf@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: Jambunathan K Cc: emacs-orgmode@gnu.org On Sat, Oct 30, 2010 at 2:56 AM, Jambunathan K wro= te: > > See Heading2 for description of the bug. This bug has been there since > time immemorial. > > # Input Org file > > * Heading1 > > * Heading2 > > =A0Link to [[Heading1]] is OK. Link to [[Heading3]] is broken. To fix thi= s, > =A0org-link-search in org-export-target-internal-links should avoid > =A0matching on the self somehow. > > * Heading3 > > # Buggy HTML Output > > #+begin_src html > =A0

> =A0 =A0Link to Heading1 is OK. =A0Link to > =A0 =A0Heading3 is broken. To fix this, org-link-s= earch > =A0 =A0in org-export-target-internal-links should avoid matching on the > =A0 =A0self somehow. > =A0

> #+end_src > > But this is what I get

Link to Heading1 is OK. Link to Heading3 is broken. To fix this, org-link-search in org-export-target-internal-links should avoid matching on the self somehow.

Thanks and Regards Noorul