From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Ridolfi Subject: Re: Can't follow links with id property Date: Wed, 20 Jul 2011 16:10:13 +0200 Message-ID: <838vrtniuy.fsf@yahoo.it> References: <20110719134300.27f89254@kuru.homelinux.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjXTf-0001Ky-EJ for emacs-orgmode@gnu.org; Wed, 20 Jul 2011 10:10:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QjXTZ-0007lN-0M for emacs-orgmode@gnu.org; Wed, 20 Jul 2011 10:10:18 -0400 Received: from nm13-vm1.bullet.mail.ukl.yahoo.com ([217.146.183.249]:25734) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QjXTY-0007l6-72 for emacs-orgmode@gnu.org; Wed, 20 Jul 2011 10:10:12 -0400 In-Reply-To: <20110719134300.27f89254@kuru.homelinux.net> (Suvayu Ali's message of "Tue, 19 Jul 2011 13:43:00 +0200") 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: Suvayu Ali Cc: Org-mode mailing list Suvayu Ali writes: > Hi everyone, > > I can't follow links with an ID property. I have attached a minimal > example org file. Org complains it cannot find a match and prompts to > create a new headline. Answering yes to the prompt creates a new > headline like this: > > * id:9dfdc23e-f9ce-413b-b950-fc20fd152e42 Org-mode version 7.6 fe0c013965bc5a15309cec2e4ab4ad78689bc4af GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO I confirm Suvayu's bug. I clicked with the mouse on the link. The backtrace follows. cheers, Giovanni (save-current-buffer (set-buffer (or reference-buffer ...)) (if (string-match " +\\'" path) (setq path ...)) (if (and org-link-translation-function ...) (let ... ...)) (cond (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ... ...) (... ...) (... ...) (...) (... ... ...) (t ...))) (with-current-buffer (or reference-buffer (current-buffer)) (if (string-match " +\\'" path) (setq path ...)) (if (and org-link-translation-function ...) (let ... ...)) (cond (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ... ...) (... ...) (... ...) (...) (... ... ...) (t ...))) (let (type path link line search (pos ...)) (catch (quote match) (save-excursion ... ...) (when ... ... ...) (save-excursion ...) (save-excursion ...) (when ... ... ...)) (unless path (error "No link found")) (with-current-buffer (or reference-buffer ...) (if ... ...) (if ... ...) (cond ... ... ... ... ... ... ... ... ... ... ... ... ...))) (cond ((and ... ... ...) (or ... ...)) ((run-hook-with-args-until-success ...)) ((org-at-timestamp-p t) (org-follow-timestamp-link)) ((and ... ...) (org-footnote-action)) (t (let ... ... ... ...))) (if (call-interactively (function org-babel-open-src-block-result)) nil (org-load-modules-maybe) (move-marker org-open-link-marker (point)) (setq org-window-config-before-follow-link (current-window-configuration)) (org-remove-occur-highlights nil nil t) (cond (... ...) (...) (... ...) (... ...) (t ...)) (move-marker org-open-link-marker nil) (run-hook-with-args (quote org-follow-link-hook))) (unless (call-interactively (function org-babel-open-src-block-result)) (org-load-modules-maybe) (move-marker org-open-link-marker (point)) (setq org-window-config-before-follow-link (current-window-configuration)) (org-remove-occur-highlights nil nil t) (cond (... ...) (...) (... ...) (... ...) (t ...)) (move-marker org-open-link-marker nil) (run-hook-with-args (quote org-follow-link-hook))) org-open-at-point() org-open-at-mouse((mouse-2 (# 46572 (258 . 40) 25770435 nil 46572 (32 . 2) nil (2 . 8) (8 . 16)))) call-interactively(org-open-at-mouse nil nil)