emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Vincent Belaïche" <vincent.b.1@hotmail.fr>
To: Org mode <emacs-orgmode@gnu.org>
Cc: "Vincent Belaïche" <vincent.b.1@hotmail.fr>
Subject: Export issue of URL when the text begins with a date‏
Date: Thu, 13 Jan 2011 23:00:30 +0100	[thread overview]
Message-ID: <80hbdco45d.fsf@gmail.com> (raw)

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	other threads:[~2011-01-13 22:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-13 22:00 Vincent Belaïche [this message]
2011-01-14  5:44 ` Export issue of URL when the text begins with a date‏ David Maus
  -- strict thread matches above, loose matches on Subject: below --
2011-01-14 21:12 Vincent Belaïche
2011-01-15  6:40 ` David Maus
2011-01-17 17:55   ` Bastien
2011-01-30 17:20     ` David Maus
2011-01-31 18:45       ` Bastien
2011-02-27 17:14         ` David Maus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=80hbdco45d.fsf@gmail.com \
    --to=vincent.b.1@hotmail.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).