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
michael.hohm...@amd.com, 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.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to