emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "M. Bauer" <mbauer@gmx.org>
To: emacs-orgmode@gnu.org
Subject: Bug: 2nd, 3rd,... ext link in normal text NOT exported [7.7]
Date: Mon, 5 Dec 2011 17:19:29 +0100	[thread overview]
Message-ID: <20111205161929.GA25724@gmx.org> (raw)

Hi,

as in the last paragraph of the Org v7.7 manual section 4.3 about
external links, "Org also finds external links in the normal text
and activates them as links."  While editing, this completely
works as expected.

But when it comes to exporting, Org will *not* recognize the
second, third, etc. external link in normal text if it is *not*
marked by square brackets.  See below for some tests that will
fail in ASCII, UTF8, and HTML export.

Can you please consider this issue for one of the next versions
of Org?

Many thanks in advance,
Mathias

--------------------text to be exported--------------------
* One "pure" external link (i.e. w/o brackets) per line
OK: foo http://ok.com bar
OK: foo file:/bin/true bar

* Two "pure" external links (i.e. w/o brackets) per line
FAIL: foo http://ok.com bar http://fail.com baz
FAIL: foo file:/bin/sh bar http://fail.com baz

* One external link (with brackets) per line
OK: foo [[http://ok.com]] bar
OK: foo [[file:/bin/true]] bar

* Two external links (with brackets) per line
OK: foo [[http://ok.com]] bar [[file:/bin/true]] baz
OK: foo [[file:/bin/true]] bar [[http://ok.com]] baz

* One external link (with description) per line
OK: foo [[http://ok.com][OK]] bar
OK: foo [[file:/bin/true][true]] bar

* Two external links (with description) per line
OK: foo [[http://ok.com][OK]] bar [[file:/bin/true][true]] baz
OK: foo [[file:/bin/true][true]] bar [[http://ok.com][OK]] baz

* Mixing several forms of external links in one line
FAIL: http://ok.com bar http://fail.com baz
OK: foo http://ok.com bar [[http://ok.com]] baz
OK: foo http://ok.com bar [[http://ok.com][OK]] baz

FAIL: foo [[http://ok.com]] bar http://fail.com baz
OK: foo [[http://ok.com]] bar [[http://ok.com][OK]] baz

FAIL: foo [[http://ok.com][OK]] bar http://fail.com baz
OK: foo [[http://ok.com][OK]] bar [[http://ok.com]] baz

FAIL: foo http://ok.com bar [[http://ok.com]] baz http://fail.com foo
FAIL: foo http://ok.com bar [[http://ok.com][OK]] baz http://fail.com foo
FAIL: foo [[http://ok.com][OK]] bar http://fail.com baz [[http://ok.com]] foo
FAIL: foo [[http://ok.com]] bar [[http://ok.com][OK]] baz http://fail.com foo

* Mixing several forms and types of external links in one line
FAIL: foo http://ok.com bar [[http://ok.com]] baz file:/bin/false foo
FAIL: foo http://ok.com bar [[http://ok.com][OK]] baz file:/bin/false foo
FAIL: foo [[http://ok.com][OK]] bar file:/bin/false baz [[http://ok.com]] foo
FAIL: foo [[http://ok.com]] bar [[http://ok.com][OK]] baz file:/bin/false foo
--------------------text to be exported--------------------

Emacs  : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-12-11 on raven, modified by Debian

Package: Org-mode version 7.7

Configuration: defaults from standard distribution

             reply	other threads:[~2011-12-05 16:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-05 16:19 M. Bauer [this message]
2011-12-05 19:51 ` Bug: 2nd, 3rd, ... ext link in normal text NOT exported [7.7] David Maus
2011-12-11 10:01 ` David Maus
2011-12-11 13:21   ` Bastien
2011-12-12 22:33   ` Mathias Bauer

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=20111205161929.GA25724@gmx.org \
    --to=mbauer@gmx.org \
    --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).