Re: [Orgmode] [BUG] org-exp.el: Broken Internal Links on Fuzzy Match

2011-02-03 Thread Bastien
Jambunathan K kjambunat...@gmail.com writes:

 (Refiling with added info, Thanks Noorul)

 See Heading2 for description of the bug. This bug has been there since
 time immemorial.

 (setq org-link-search-must-match-exact-headline nil)

 # Input Org file

 * Heading1
   
 * Heading2
   
   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.
   
 * Heading3
   
 # Buggy HTML Output  

 #+begin_src html
   p 
 Link to a href=#sec-1Heading1/a is OK.  Link to
 a href=#sec-2Heading3/a is broken. To fix this, org-link-search
 in org-export-target-internal-links should avoid matching on the
 self somehow.
   /p
 #+end_src

Fixed, thanks for the detailed report

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [BUG] org-exp.el: Broken Internal Links on Fuzzy Match

2010-10-29 Thread Jambunathan K

(Refiling with added info, Thanks Noorul)

See Heading2 for description of the bug. This bug has been there since
time immemorial.

(setq org-link-search-must-match-exact-headline nil)

# Input Org file

* Heading1
  
* Heading2
  
  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.
  
* Heading3
  
# Buggy HTML Output  

#+begin_src html
  p 
Link to a href=#sec-1Heading1/a is OK.  Link to
a href=#sec-2Heading3/a is broken. To fix this, org-link-search
in org-export-target-internal-links should avoid matching on the
self somehow.
  /p
#+end_src


Jambunathan K.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode