Re: [O] Bug: html export of radio targets incorrect [8.2.7b (8.2.7b-1-ga5beff-elpa @ /home/vgrinshp/apps/share/emacs/24.3.50/lisp/org/)]

2014-08-02 Thread Nicolas Goaziou
Hello,

Vadim Grinshpun vgrin...@akamai.com writes:

 My org document has radiotargets where one target is contained within
 another as a substring. E.g., something like this:

   bar 
   foo_bar_baz

 When I try to export via HTML (process described below),
 the visible text of the links referring to these targets is mangled (as
 if interpreted twice).
 The resulting HTML of a radio target link to foo_bar_baz looks like this:
   a href=#foo_bar_bazfoo_lt;a href=#bargt;barlt;/agt;_baz/a
 The text is, naturally, rendered as:
foo_a href=#barbar/a_baz

 So while the link target is correct, the text of the link is not.

 Please let me know what additional info is needed, if any.

IIRC, the bug was fixed in Org 8.3.


Regards,

-- 
Nicolas Goaziou



[O] Bug: html export of radio targets incorrect [8.2.7b (8.2.7b-1-ga5beff-elpa @ /home/vgrinshp/apps/share/emacs/24.3.50/lisp/org/)]

2014-08-01 Thread Vadim Grinshpun


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.

My org document has radiotargets where one target is contained within
another as a substring. E.g., something like this:

  bar 
  foo_bar_baz

When I try to export via HTML (process described below),
the visible text of the links referring to these targets is mangled (as
if interpreted twice).
The resulting HTML of a radio target link to foo_bar_baz looks like this:
  a href=#foo_bar_bazfoo_lt;a href=#bargt;barlt;/agt;_baz/a
The text is, naturally, rendered as:
   foo_a href=#barbar/a_baz

So while the link target is correct, the text of the link is not.

Please let me know what additional info is needed, if any.
-Vadim G.
vgrin...@akamai.com

Emacs  : GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
 of 2013-10-04 on gleep
Package: Org-mode version 8.2.7b (8.2.7b-1-ga5beff-elpa @ 
/home/vgrinshp/apps/share/emacs/24.3.50/lisp/org/)

current state:
==
(setq
 org-tab-first-hook '(org-hide-block-toggle-maybe 
org-src-native-tab-command-maybe
  org-babel-hide-result-toggle-maybe 
org-babel-header-arg-expand)
 org-shiftleft-final-hook '(windmove-left)
 org-speed-command-hook '(org-speed-command-default-hook 
org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-html-format-drawer-function '(lambda (name contents) contents)
 org-log-done t
 org-latex-format-inlinetask-function 'ignore
 org-confirm-shell-link-function 'yes-or-no-p
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-startup-folded t
 org-export-date-timestamp-format %Y-%m-%d
 org-agenda-custom-commands '((P Printed agenda
   ((agenda 
 ((org-agenda-span (quote week)) 
(org-agenda-start-on-weekday nil)
  (org-agenda-repeating-timestamp-show-all t)
  (org-agenda-entry-types (quote (:timestamp 
:sexp
 )
(agenda 
 ((org-agenda-ndays 1) 
(org-deadline-warning-days 7)
  (org-agenda-todo-keyword-format [%s])
  (org-agenda-scheduled-leaders (quote ( )))
  (org-agenda-prefix-format %t  %s))
 )
(todo TODO
 ((org-agenda-prefix-format %T: [%s]  )
  (org-agenda-sorting-strategy (quote (tag-up 
priority-down)))
  (org-agenda-todo-keyword-format )
  (org-agenda-overriding-header
   \nTasks by Context\n--\n)
  )
 )
)
   ((org-agenda-compact-blocks t) 
(org-agenda-remove-tags t))
   (~/agenda.ps))
  (1 Remaining items
   ((agenda 
 ((org-agenda-skip-scheduled-if-done (quote t))
  (org-agenda-start-on-weekday nil)
  (org-agenda-entry-types
   (quote (:timestamp :sexp :scheduled 
:deadline)))
  )
 )
)
   ((org-agenda-compact-blocks t)) (~/agenda.ps))
  )
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-todo-keyword-faces '((TODO :foreground orange red :weight bold)
  (NEXT :foreground yellow :background blue 
:underline t :weight
   bold)
  (REVIEW :foreground deep sky blue :weight bold)
  (DONE :foreground pale green :weight bold)
  (DELEGATED :foreground pale green :weight bold)
  (CR :foreground orange red :weight bold)
  (CR:next :foreground yellow :background blue 
:underline t :weight
   bold)
  (CR:review :foreground deep sky blue :weight bold)
  (CR:integ :foreground darkgoldenrod2 :weight bold)
  (CR:review2 :foreground aquamarine :weight bold)
  (CR:postponed :foreground dark goldenrod :weight 
bold)