From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: How to track down "No heading for this item in buffer or region."? Date: Thu, 24 Jan 2013 13:10:48 -0500 Message-ID: <3224.1359051048@alphaville> References: <20130124123204.GB24543@boo.workgroup> <87y5fioimf.fsf@bzg.ath.cx> <20130124162311.GE24543@boo.workgroup> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyS65-0001m1-Hu for emacs-orgmode@gnu.org; Thu, 24 Jan 2013 14:04:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TyS62-0003KN-Fj for emacs-orgmode@gnu.org; Thu, 24 Jan 2013 14:04:25 -0500 Received: from g1t0027.austin.hp.com ([15.216.28.34]:40532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyS62-0003K6-1c for emacs-orgmode@gnu.org; Thu, 24 Jan 2013 14:04:22 -0500 Received: from g1t0039.austin.hp.com (g1t0039.austin.hp.com [16.236.32.45]) by g1t0027.austin.hp.com (Postfix) with ESMTP id 1766B38316 for ; Thu, 24 Jan 2013 19:04:21 +0000 (UTC) Received: from alphaville.americas.hpqcorp.net (alphaville.americas.hpqcorp.net [16.117.226.11]) by g1t0039.austin.hp.com (Postfix) with ESMTP id EB5F334136 for ; Thu, 24 Jan 2013 19:04:20 +0000 (UTC) Received: from alphaville (localhost [127.0.0.1]) by alphaville.americas.hpqcorp.net (Postfix) with ESMTP id 85BC043D51 for ; Thu, 24 Jan 2013 13:10:48 -0500 (EST) In-Reply-To: Message from Gregor Zattler of "Thu, 24 Jan 2013 17:23:11 +0100." <20130124162311.GE24543@boo.workgroup> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Gregor Zattler wrote: > When I move the cursor over this lines a message appears in the > echo area: > > byte-code: Before first headline at position 64 in buffer org.org [14 times] > > The second line of org.org begins at character 64 in the buffer. > It's a timestamp: > > #Time-stamp: <2013-01-24 16:30:39 grfz> > > Till recently this was no problem since it is a comment line. > Obviously org-mode somehow interprets this timestamp, since the > messages disappeared after I changed the time stamp delimiter from > `<' and `>' respectively to `"'. I consider this to be a bug > since these time stamps are a standard Emacs feature and this > line is a comment org-mode-wise. > > It works fine on the slightly old Org-mode version 7.9.3d (release_7.9.3d-826-gbe0d87.dirty @ /home/nick/elisp/org-mode/lisp/) with the following file as the only agenda file: --8<---------------cut here---------------start------------->8--- # timestamp: <2013-01-24 Thu> * TODO foo SCHEDULED: <2013-01-24 Thu> --8<---------------cut here---------------end--------------->8--- If I get rid of the # or add something else before it, I get the message you mention, but otherwise it is silent. Assuming you are running a more recent version than the one above, the bug may be because of a recent change to org-agenda-skip: it used to check explicitly for # and skip the entry, but commit 211b137ef46d04b17b46f256696eb5c1c3a1d2be changed it to check a text property. I guess the text property is not present or it is not checked correctly. Nick