From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Unable to generate link in non-org file with org-id-store-link present Date: Sun, 31 Oct 2010 21:02:04 +0100 Message-ID: <87y69em8qr.wl%dmaus@ictsoc.de> References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============0274374892==" Return-path: Received: from [140.186.70.92] (port=35905 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCe6e-00084w-HG for emacs-orgmode@gnu.org; Sun, 31 Oct 2010 16:02:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCe6X-0007wX-M9 for emacs-orgmode@gnu.org; Sun, 31 Oct 2010 16:02:20 -0400 Received: from mailout108.xlhost.de ([213.202.242.108]:51836 helo=mysql1.xlhost.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCe6X-0007wP-EC for emacs-orgmode@gnu.org; Sun, 31 Oct 2010 16:02:13 -0400 In-Reply-To: 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: Liam Healy Cc: emacs-orgmode@gnu.org --===============0274374892== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sun_Oct_31_21:02:04_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Sun_Oct_31_21:02:04_2010-1 Content-Type: text/plain; charset=US-ASCII At Sun, 31 Oct 2010 15:09:48 -0400, Liam Healy wrote: > > 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? Which Org and Emacs version are you using? M-x org-version RET M-x emacs-version RET And can you provide a backtrace for this behavior? 1. reload Org mode so it runs on uncompiled files M-x org-reload RET 2. Toggle debug-on-quit and debug-on-error M-x toggle-debug-on-quite RET M-x toggle-debug-on-error RET 3. Try to reproduce the bug (if Emacs spins for ever, hit C-g) If you encounter the error or can stop Emacs from hanging (C-g), you get a buffer with the backtrace. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Sun_Oct_31_21:02:04_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkzNyzwACgkQma24O1pEeOZ7AQEAvY4Ddo1/8xAE3ZhOy6Gk/NVZ lPffgeVlBYXZdTdL0MQA/3wqpzBvsZoQ+gQ/SFp40mlX3/UUHDEWOIZ17AzKHocf =P5d+ -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sun_Oct_31_21:02:04_2010-1-- --===============0274374892== 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 --===============0274374892==--