From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myles English Subject: clocking into an inline task before any headings Date: Wed, 14 Aug 2013 15:36:16 +0100 Message-ID: <87zjsk731b.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9c8F-0008VD-Fg for Emacs-orgmode@gnu.org; Wed, 14 Aug 2013 10:33:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9c89-0001W5-VH for Emacs-orgmode@gnu.org; Wed, 14 Aug 2013 10:33:03 -0400 Received: from mail-ea0-x22a.google.com ([2a00:1450:4013:c01::22a]:37114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9c89-0001VT-PF for Emacs-orgmode@gnu.org; Wed, 14 Aug 2013 10:32:57 -0400 Received: by mail-ea0-f170.google.com with SMTP id h14so4985175eak.1 for ; Wed, 14 Aug 2013 07:32:56 -0700 (PDT) Received: from localhost (host217-43-149-87.range217-43.btcentralplus.com. [217.43.149.87]) by mx.google.com with ESMTPSA id bp43sm75600356eeb.4.2013.08.14.07.32.55 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 14 Aug 2013 07:32:55 -0700 (PDT) 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 Hello, Are inline tasks allowed to be used before any other headings? (I hope they are.) Starting with $ emacs -Q and with nothing more than a (require 'org-inlinetask) I am able to insert an inline task with C-c C-x t but when I try to clock in, "CLOCK:" is inserted on a line directly below the task title and I get this Backtrace: Debugger entered--Lisp error: (error "Before first headline at position 120= in buffer a.org") signal(error ("Before first headline at position 120 in buffer a.org")) error("Before first headline at position %d in buffer %s" 120 #) byte-code("\300\301`p#\207" [error "Before first headline at position %d = in buffer %s"] 4) org-back-to-heading(t) org-narrow-to-subtree() org-clock-sum-current-item(nil) byte-code("?\205=07\306 \307\211\211\310 ?\205=00\n=1C=1E@ABC\203=3D=0EB= \203+=0EC\311=3D\203=3D=0ED\204=3D \204=3D\307\311D\312 \210)E\313\232\203N= \311F\314\307G\"\210)E\315\232\203k\316\317!\211@\203g\320@!@\202k\321\322!= \210E\323\232\203u\324 \210B\203\331\212@\204\204\325\311!\210\326H!@\203\2= 24\326@!\202\225p\232\205\265\327H!@\203\251\327@!\202\252`U\205\265=0EI\33= 0\331 8\232)\203\304\332\333J\"\210\334\335\307\"\210K\327L!\326L!\223\210\= 311D\336\307\311\"\210)m\203\350\337 \204\350\340\341!\202\351`\212@\203\n\= 326@!\203\n\342\326@!!q\210\327@!=0E@\307\211\223\210\212\214~\210b\210\325= \311!\210B\204 =0EK\307\211\223\210\212\307u\210\343\344!\210\345 \210)\346= \210\347M!\203P\350N!\210M\351\352!!\211O\203L\353O!\210)\202f=0EM\203f\35= 0P\354M\355R!\204f\353M!\210\350N!\205y\330\225\205y\356\357\225\330\225{!Q= R\203\215\347R!\203\215=0ER \202\245\350N!\203\244\351\330!\203\244\360\361= \362\351\330!#\202\245\363J\364J\365\307#J\366S!\210S\203\367\350\367T\370\= 371R!\203\367\332\372\351\357!\"\210\373\351\357!\374QA\357\225b\210\375\37= 6\377\351\357!!\"U\201b`V\"W\201c\201d !X\202\256=0ES\201e=3D\203=02\332\20= 1f!\210\201g \210\201h\352!\210\334\335\307\"\210\202\256\201i\201j!\210\20= 1ku\210\201l \210\212\341\210\201m )\203H\201n\357!\210\201o\201p \352Z!\2= 10T\201q\261\210\201b`V\"W\201c\201d !XF\203m=0EG\206\236=0B\203\225\201r\2= 01s\201t\201u\201v !\201u=0B!Z\201w\245\"!\203\225=0B\206\236=0EY\206\236\2= 01v U\201x=0EU\201y\201z#AL`\201{ \223\210H\212\325\311!\210`)\201{ \223\21= 0\311Z[\201|=3D\204\333=0E[\201}=3D\203\371=0E\\\204\345\201~=16\\\201=0E\= \>\204\371\201\200=0E\\\201\201\"\\[\201\202=3D\204=0B=0E[\201}=3D\203=03]^= \201\203 \210_\203#\201\204=0E_!\210\307_[\2034\201\205=0E`\211\201\203#_a\= 203C\201\204=0Ea!\210\307a\201\205\201w\211\201\206#a\332\201\207=0EA\f#\21= 0\343\201\210!. \207" [org-clock-resolving-clocks-due-to-idleness org-clock= -resolving-clocks org-clock-leftover-time leftover msg-extra target-pos org= -clocking-p nil "" t org-resolve-clocks (64) org-clock-in (4) org-clock-sel= ect-task "Clock-in on task: " copy-marker error "Abort" (16) org-clock-mark= -default-task org-back-to-heading marker-buffer marker-position 4 org-headi= ng-components message "Clock continues in \"%s\"" throw abort org-clock-out= org-at-heading-p point-at-bol 0 org-base-buffer run-hooks org-clock-in-pre= pare-hook org-clock-history-push org-clock-set-current functionp looking-at= match-string 2 org-todo "[ ]*" "\\>" org-trim 1 replace-regexp-in-string = "\\[\\[.*?\\]\\[\\(.*?\\)\\]\\]" ...] 7) org-clock-in(nil) call-interactively(org-clock-in nil nil) This is the behaviour as of commit 75f73e0b87a. Inserting a heading above the tasks allows it to be clocked into. Thanks, Myles