From mboxrd@z Thu Jan 1 00:00:00 1970 From: "M. Bauer" Subject: Bug: 2nd, 3rd,... ext link in normal text NOT exported [7.7] Date: Mon, 5 Dec 2011 17:19:29 +0100 Message-ID: <20111205161929.GA25724@gmx.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXbGX-0004De-ES for emacs-orgmode@gnu.org; Mon, 05 Dec 2011 11:19:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXbGQ-0008DL-Pn for emacs-orgmode@gnu.org; Mon, 05 Dec 2011 11:19:41 -0500 Received: from mailout-de.gmx.net ([213.165.64.22]:36375) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RXbGQ-0008Cv-AR for emacs-orgmode@gnu.org; Mon, 05 Dec 2011 11:19:34 -0500 Received: from localhost by localhost with ESMTP id 8399AAC002 for ; Mon, 5 Dec 2011 17:19:29 +0100 (CET) Received: from localhost by localhost with LMTP id 6YsnpFTMcDlR for ; Mon, 5 Dec 2011 17:19:29 +0100 (CET) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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