From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug in org-find-entry-with-id Date: Fri, 19 Jun 2009 12:17:32 +0200 Message-ID: References: <3yztz2cbkoa.fsf@sieglinde.amd.com> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MHbAI-0000HS-22 for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 06:17:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MHbAD-000099-9Y for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 06:17:45 -0400 Received: from [199.232.76.173] (port=50990 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHbAD-00008o-2P for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 06:17:41 -0400 Received: from mail-ew0-f210.google.com ([209.85.219.210]:54737) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MHbAA-00031g-PX for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 06:17:40 -0400 Received: by ewy6 with SMTP id 6so2208942ewy.42 for ; Fri, 19 Jun 2009 03:17:37 -0700 (PDT) In-Reply-To: <3yztz2cbkoa.fsf@sieglinde.amd.com> 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: Michael Hohmuth Cc: emacs-orgmode@gnu.org 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.hohmuth@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