From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Zhao Subject: Patch for testing `org-open-at-point' Date: Thu, 10 Apr 2014 21:34:43 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=089e0122a9248fbdec04f6ba56ab Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYQMf-0000iw-O0 for emacs-orgmode@gnu.org; Thu, 10 Apr 2014 21:34:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WYQMe-0005pc-Pg for emacs-orgmode@gnu.org; Thu, 10 Apr 2014 21:34:45 -0400 Received: from mail-ve0-x22b.google.com ([2607:f8b0:400c:c01::22b]:52580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WYQMe-0005pR-M1 for emacs-orgmode@gnu.org; Thu, 10 Apr 2014 21:34:44 -0400 Received: by mail-ve0-f171.google.com with SMTP id jy13so4098066veb.2 for ; Thu, 10 Apr 2014 18:34:43 -0700 (PDT) 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 --089e0122a9248fbdec04f6ba56ab Content-Type: text/plain; charset=UTF-8 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 --089e0122a9248fbdec04f6ba56ab Content-Type: text/x-diff; charset=US-ASCII; name="0001-test-org-element-Add-test-for-org-open-at-point-with.patch" Content-Disposition: attachment; filename="0001-test-org-element-Add-test-for-org-open-at-point-with.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_htusxz8u0 RnJvbSBkZjA3ODgxMzRhMTZ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