[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Bug in org-find-entry-with-id
From: |
Carsten Dominik |
Subject: |
Re: [Orgmode] Bug in org-find-entry-with-id |
Date: |
Fri, 19 Jun 2009 12:17:32 +0200 |
On Jun 19, 2009, at 12:08 PM, Michael Hohmuth wrote:
Hi there,
I've attached a critical bug fix for org-find-entry-with-id (relative
to org.el in org-6.27a).
Without this fix, following ID links to hidden headlines is impossible
because org-back-to-heading always jumps back to the last visible
headline. This breaks many things, including org-depend.el.
Ouch!
Thank you *very* much for report and analysis.
I have applied this patch.
- Carsten
Kind regards,
Michael
--
Michael Hohmuth, AMD Operating System Research Center, Dresden,
Germany
address@hidden, www.amd64.org
--- org.el 2009/06/19 10:04:48 1.1
+++ org.el 2009/06/19 10:05:13
@@ -12027,7 +12027,7 @@
(when (re-search-forward
(concat "^[ \t]*:ID:[ \t]+" (regexp-quote id) "[ \t]*$")
nil t)
- (org-back-to-heading)
+ (org-back-to-heading t)
(point))))))
;;;; Timestamps
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode