* Bug: 2nd, 3rd,... ext link in normal text NOT exported [7.7]
@ 2011-12-05 16:19 M. Bauer
2011-12-05 19:51 ` Bug: 2nd, 3rd, ... " David Maus
2011-12-11 10:01 ` David Maus
0 siblings, 2 replies; 5+ messages in thread
From: M. Bauer @ 2011-12-05 16:19 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug: 2nd, 3rd, ... ext link in normal text NOT exported [7.7]
2011-12-05 16:19 Bug: 2nd, 3rd,... ext link in normal text NOT exported [7.7] M. Bauer
@ 2011-12-05 19:51 ` David Maus
2011-12-11 10:01 ` David Maus
1 sibling, 0 replies; 5+ messages in thread
From: David Maus @ 2011-12-05 19:51 UTC (permalink / raw)
To: M. Bauer; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 999 bytes --]
At Mon, 5 Dec 2011 17:19:29 +0100,
M. Bauer wrote:
>
> 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?
I can confirm this bug for
Org-mode version 7.7 (release_7.7.619.g3aaa5)
on
GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of
2010-12-11 on raven, modified by Debian
Down in `org-export-normalize-links' Org skips the entire line if
there is a bracket link /anywhere/ on the line.
Best,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #2: Type: application/pgp-signature, Size: 230 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug: 2nd, 3rd, ... ext link in normal text NOT exported [7.7]
2011-12-05 16:19 Bug: 2nd, 3rd,... ext link in normal text NOT exported [7.7] M. Bauer
2011-12-05 19:51 ` Bug: 2nd, 3rd, ... " David Maus
@ 2011-12-11 10:01 ` David Maus
2011-12-11 13:21 ` Bastien
2011-12-12 22:33 ` Mathias Bauer
1 sibling, 2 replies; 5+ messages in thread
From: David Maus @ 2011-12-11 10:01 UTC (permalink / raw)
To: M. Bauer; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 797 bytes --]
At Mon, 5 Dec 2011 17:19:29 +0100,
M. Bauer wrote:
>
> 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?
Pushed a fix for this to master, all links in the example file are now
exported as expected.
Best,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #2: Type: application/pgp-signature, Size: 230 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug: 2nd, 3rd, ... ext link in normal text NOT exported [7.7]
2011-12-11 10:01 ` David Maus
@ 2011-12-11 13:21 ` Bastien
2011-12-12 22:33 ` Mathias Bauer
1 sibling, 0 replies; 5+ messages in thread
From: Bastien @ 2011-12-11 13:21 UTC (permalink / raw)
To: David Maus; +Cc: M. Bauer, emacs-orgmode
David Maus <dmaus@ictsoc.de> writes:
> Pushed a fix for this to master, all links in the example file are now
> exported as expected.
Thanks for fixing this!
--
Bastien
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Bug: 2nd, 3rd, ... ext link in normal text NOT exported [7.7]
2011-12-11 10:01 ` David Maus
2011-12-11 13:21 ` Bastien
@ 2011-12-12 22:33 ` Mathias Bauer
1 sibling, 0 replies; 5+ messages in thread
From: Mathias Bauer @ 2011-12-12 22:33 UTC (permalink / raw)
To: emacs-orgmode
On Sun, Dec 11, 2011 at 11:01:13AM +0100, David Maus wrote:
> At Mon, 5 Dec 2011 17:19:29 +0100, M. Bauer wrote:
> >
> > 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?
>
> Pushed a fix for this to master, all links in the example file
> are now exported as expected.
Thanks very much.
Mathias
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-12-12 22:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-05 16:19 Bug: 2nd, 3rd,... ext link in normal text NOT exported [7.7] M. Bauer
2011-12-05 19:51 ` Bug: 2nd, 3rd, ... " David Maus
2011-12-11 10:01 ` David Maus
2011-12-11 13:21 ` Bastien
2011-12-12 22:33 ` Mathias Bauer
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.