From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liam Healy Subject: Unable to generate link in non-org file with org-id-store-link present Date: Sun, 31 Oct 2010 15:09:48 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=52926 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCdHw-0001fp-Qz for emacs-orgmode@gnu.org; Sun, 31 Oct 2010 15:10:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCdHr-0001IC-Jf for emacs-orgmode@gnu.org; Sun, 31 Oct 2010 15:09:56 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:46061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCdHr-0001I4-HJ for emacs-orgmode@gnu.org; Sun, 31 Oct 2010 15:09:51 -0400 Received: by vws18 with SMTP id 18so2661393vws.0 for ; Sun, 31 Oct 2010 12:09:50 -0700 (PDT) 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: emacs-orgmode@gnu.org With recent versions (since about version 7) of org-mode, I cannot generate links in a non-org file when org-id-store-link is in org-store-link-functions. Either I get an error "before first headline" (makes no sense to me, since I'm not in an org file), or emacs spins forever, saturating the CPU and doing nothing. If I leave org-id-store-link out of org-store-link-functions, everything works fine but of course I get no id link in org files. Is there a fix for this? Thanks, Liam