From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: =?UTF-8?B?UmU6IEV4cG9ydCBpc3N1ZSBvZiBVUkwgd2hlbiB0aGUgdGV4dCBi?= =?UTF-8?B?ZWdpbnMgd2l0aCBhIGRhdGXigI8=?= Date: Sun, 30 Jan 2011 18:20:28 +0100 Message-ID: <87sjwae2ar.wl%dmaus@ictsoc.de> References: <80r5cffavs.fsf@gmail.com> <87tyhavfdo.wl%dmaus@ictsoc.de> <871v4btnx1.fsf@gnu.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============2061065062==" Return-path: Received: from [140.186.70.92] (port=45912 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pjb22-0006cQ-7f for emacs-orgmode@gnu.org; Sun, 30 Jan 2011 12:25:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pjaxp-0006Eb-AZ for emacs-orgmode@gnu.org; Sun, 30 Jan 2011 12:21:27 -0500 Received: from mailout110.xlhost.de ([213.202.242.110]:42204 helo=mysql1.xlhost.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pjaxo-0006EI-Ps for emacs-orgmode@gnu.org; Sun, 30 Jan 2011 12:21:25 -0500 In-Reply-To: <871v4btnx1.fsf@gnu.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: David Maus , Vincent =?UTF-8?B?QmVsYcOvY2hl?= , Org mode --===============2061065062== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sun_Jan_30_18:20:28_2011-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Sun_Jan_30_18:20:28_2011-1 Content-Type: multipart/mixed; boundary="Multipart_Sun_Jan_30_18:20:28_2011-1" --Multipart_Sun_Jan_30_18:20:28_2011-1 Content-Type: text/plain; charset=US-ASCII At Mon, 17 Jan 2011 18:55:54 +0100, Bastien wrote: > > David Maus writes: > > >> It seems that such a non-regression test base and script do not > >> exist. However that would be good to have in order to check that any > >> correction does not break anything. > > > > That's exactly what the testing framework[1] could and should do. > > I've just not figured out how to best write tests for entire export > > operations. Thinking of it: We could create an input file dedicated > > to test link exporting, put in different kinds of links, export and > > then use regexps to check if the links have been exported fine. > > I've just added testing/links.org to the testing framework. > > Vincent, feel free to suggest any addition to testing/ so that we can > enrich our test-base with various examples! Being able to reproduce > errors on those files will help people feel confident the error does > not come from their configuration. Attached patch factors out the link handling part of `org-export-as-html' in a separat function which takes the processed line and the exporting options as arguments and returns the possibly modified line. Having the link handling in a separate function makes it way easier to test this specific behaviour of export. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --Multipart_Sun_Jan_30_18:20:28_2011-1 Content-Type: text/plain; type=patch; charset=US-ASCII Content-Disposition: attachment; filename="0001-Factor-out-link-Handling-during-export.patch" Content-Transfer-Encoding: base64 RnJvbSBlYTFjMWU4NTI4YWYwNDkwYzAzMTMzYTA5NTc1ZTcyZmE0ZDBmMzUyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEYXZpZCBNYXVzIDxkbWF1c0BpY3Rzb2MuZGU+CkRhdGU6IFN1 biwgMzAgSmFuIDIwMTEgMTg6MTI6MDYgKzAxMDAKU3ViamVjdDogW1BBVENIXSBGYWN0b3Igb3V0 IGxpbmsgSGFuZGxpbmcgZHVyaW5nIGV4cG9ydAoKKiBvcmctaHRtbC5lbCAob3JnLWh0bWwtaGFu ZGxlLWxpbmtzKTogTmV3IGZ1bmN0aW9uLiBGYWN0b3Igb3V0IGxpbmsgSGFuZGxpbmcKZHVyaW5n IGV4cG9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gY29tcG9uZW50cykpCi0KLQkJICAgICA7O0NoZWNrIHRoZSBmcmFnbWVudC4gIElm IGl0IGNhbid0IGJlIHVzZWQgYXMKLQkJICAgICA7O3RhcmdldCBmcmFnbWVudCB3ZSdsbCBwYXNz IG5pbCBpbnN0ZWFkLgotCQkgICAgIChmcmFnbWVudC0xCi0JCSAgICAgIChpZgotCQkJICAoYW5k IGZyYWdtZW50LTAKLQkJCSAgICAgICAobm90IChzdHJpbmctbWF0Y2ggIl5bMC05XSokIiBmcmFn bWVudC0wKSkKLQkJCSAgICAgICAobm90IChzdHJpbmctbWF0Y2ggIl5cXCoiIGZyYWdtZW50LTAp KQotCQkJICAgICAgIChub3QgKHN0cmluZy1tYXRjaCAiXi8uKi8kIiBmcmFnbWVudC0wKSkpCi0J CQkgIChvcmctc29saWRpZnktbGluay10ZXh0Ci0JCQkgICAob3JnLWxpbmstdW5lc2NhcGUgZnJh Z21lbnQtMCkpCi0JCQluaWwpKQotCQkgICAgIChkZXNjLTIKLQkJICAgICAgOztEZXNjcmlwdGlv biBtaW51cyAiZmlsZToiIGFuZCAiLm9yZyIKLQkJICAgICAgKGlmIChzdHJpbmctbWF0Y2ggIl5m aWxlOiIgZGVzYykKLQkJCSAgKGxldAotCQkJICAgICAgKChkZXNjLTEgKHJlcGxhY2UtbWF0Y2gg IiIgdCB0IGRlc2MpKSkKLQkJCSAgICAoaWYgKHN0cmluZy1tYXRjaCAiXFwub3JnJCIgZGVzYy0x KQotCQkJCShyZXBsYWNlLW1hdGNoICIiIHQgdCBkZXNjLTEpCi0JCQkgICAgICBkZXNjLTEpKQot CQkJZGVzYykpKQotCi0JCSAgKHNldHEgcnBsCi0JCQkoaWYKLQkJCSAgICAoYW5kCi0JCQkgICAg IChmdW5jdGlvbnAgbGluay12YWxpZGF0ZSkKLQkJCSAgICAgKG5vdCAoZnVuY2FsbCBsaW5rLXZh bGlkYXRlIHBhdGgtMSBjdXJyZW50LWRpcikpKQotCQkJICAgIGRlc2MKLQkJCSAgKG9yZy1odG1s LW1ha2UtbGluayBvcHQtcGxpc3QKLQkJCQkJICAgICAgImZpbGUiIHBhdGgtMSBmcmFnbWVudC0x IGRlc2MtMiBhdHRyCi0JCQkJCSAgICAgIChvcmctaHRtbC1zaG91bGQtaW5saW5lLXAgcGF0aC0x IGRlc2NwKSkpKSkpKQotCi0JICAgICAodAotCSAgICAgIDs7IGp1c3QgcHVibGlzaCB0aGUgcGF0 aCwgYXMgZGVmYXVsdAotCSAgICAgIChzZXRxIHJwbCAoY29uY2F0ICI8aT4mbHQ7IiB0eXBlICI6 IgotCQkJCShzYXZlLW1hdGNoLWRhdGEgKG9yZy1saW5rLXVuZXNjYXBlIHBhdGgpKQotCQkJCSIm Z3Q7PC9pPiIpKSkpCi0JICAgIChzZXRxIGxpbmUgKHJlcGxhY2UtbWF0Y2ggcnBsIHQgdCBsaW5l KQotCQkgIHN0YXJ0ICgrIHN0YXJ0IChsZW5ndGggcnBsKSkpKQorCSAgKHNldHEgbGluZSAob3Jn LWh0bWwtaGFuZGxlLWxpbmtzIGxpbmUgb3B0LXBsaXN0KSkKIAogCSAgKHNldHEgbGluZSAob3Jn LWh0bWwtaGFuZGxlLXRpbWUtc3RhbXBzIGxpbmUpKQogCi0tIAoxLjcuMi4zCgo= --Multipart_Sun_Jan_30_18:20:28_2011-1-- --pgp-sign-Multipart_Sun_Jan_30_18:20:28_2011-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EAREIAAYFAk1FndwACgkQma24O1pEeObGEwEAkeoxvBLnurj3o2Kwl8eEP7BQ quybGoz4R+IGQOxaG08A/jEvzGZmmFSP5cXHAtYvgkyYpJmTQIMwL5AWpzlcNdxM =/vdp -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sun_Jan_30_18:20:28_2011-1-- --===============2061065062== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============2061065062==--