Hi, I found a bug that `org-open-at-point' doesn't work if the link is a heading property. This used to work and was broken recently. I have written a test for this. The test is suppose to fail in current org-mode version. Please find attached my patch for the test. Hopefully I I didn't place the test in the wrong file.
York
From df0788134a16baa9762616637c0fe7f568e3e63e Mon Sep 17 00:00:00 2001 From: York Zhao <gtdplatf...@gmail.com> Date: Thu, 10 Apr 2014 21:21:15 -0400 Subject: [PATCH] test-org-element: Add test for `org-open-at-point' with link being heading property. --- testing/lisp/test-org-element.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/testing/lisp/test-org-element.el b/testing/lisp/test-org-element.el index 576e3d3..8cfceac 100644 --- a/testing/lisp/test-org-element.el +++ b/testing/lisp/test-org-element.el @@ -1461,6 +1461,15 @@ e^{i\\pi}+1=0 (search-forward "file:") (org-element-property :type (org-element-context)))))) +(ert-deftest test-org-element/org-open-at-point () + "Test `org-open-at-point' with link being a heading property." + (org-test-with-temp-text + "* Headline +:PROPERTIES: +:URL: <point>[[info:org#Top]] +:END:" + (org-open-at-point))) + ;;;; Macro -- 1.8.4