emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Export issue of URL when the text begins with a date‏


From: Vincent Belaïche
Subject: [Orgmode] Export issue of URL when the text begins with a date‏
Date: Thu, 13 Jan 2011 23:00:30 +0100

Hello,

I have made some invesitgation, and I found that the problem happens in
the call of function org-export-as-html. On line 522 of this function,
this is the following line:

(while (string-match org-bracket-link-analytic-regexp++ line start)

When the line containing the link is processed, the variable line is
equal to the following

"[[file://localhost/c%3A/msys/1.0/temp/example.html][2011-01-01 example]]"

In that case the expression 

 (string-match org-bracket-link-analytic-regexp++ line start)

returns nil.

Now assume that I modify slightly the line so that there is not longer
any ISO timestamp in it, like this (I just replaced the first  `-' by a
`+', so the string is :

"[[file://localhost/c%3A/msys/1.0/temp/example.html][2011+01-01 example]]"

)

with that change the expression

 (string-match org-bracket-link-analytic-regexp++ line start)

returns 0.

My understanding is that the bug resides in this very expression.


VBR,
   Vincent.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]