From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Clock table not responding to :tags? Date: Thu, 10 Mar 2011 21:22:07 -0600 Message-ID: References: <87r5aeflf1.fsf@norang.ca> <87mxl2fk2z.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=59328 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxsvZ-0005Nj-RX for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 22:22:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxsvY-0001z9-BW for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 22:22:09 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:57118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxsvY-0001yo-0G for emacs-orgmode@gnu.org; Thu, 10 Mar 2011 22:22:08 -0500 Received: by bwz17 with SMTP id 17so2738591bwz.0 for ; Thu, 10 Mar 2011 19:22:07 -0800 (PST) In-Reply-To: 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: Bernt Hansen Cc: emacs-orgmode On Thu, Mar 10, 2011 at 8:55 PM, John Hendy wrote: > On Thu, Mar 10, 2011 at 8:48 PM, Bernt Hansen wrote: >> John Hendy writes: >> >>> On Thu, Mar 10, 2011 at 8:20 PM, Bernt Hansen wrote: >>>> John Hendy writes: >>>> >>>>> Hi, >>>>> >>>>> I have a pretty simple file I just started at home: >>>>> ----- >>>>> ** [2011-03-09 Wed] >>>>> *** dinner =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0:fam: >>>>> =C2=A0 =C2=A0 :LOGBOOK: >>>>> =C2=A0 =C2=A0 CLOCK: [2011-03-09 Wed 18:15]--[2011-03-09 Wed 19:00] = =3D> =C2=A00:45 >>>>> =C2=A0 =C2=A0 :END: >> >> >>>>> ----- >>>>> >>>>> But the output table doesn't seem to respond to tags... >>>>> >>>>> ------ >>>>> =C2=A0#+BEGIN: clocktable :maxlevel 3 :scope file :tags "fam" >>>>> =C2=A0Clock summary at [2011-03-10 Thu 19:53] >>>>> >>>>> | L | Headline =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 | Time =C2=A0 =C2=A0| >>>>> =C2=A0 | =C2=A0 =C2=A0 =C2=A0| >>>>> |---+--------------------------------------------------+---------+---= ----+------| >>>>> | =C2=A0 | *Total time* =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 | *11:16* | >>>>> =C2=A0 | =C2=A0 =C2=A0 =C2=A0| >>>>> |---+--------------------------------------------------+---------+---= ----+------| >>>>> | 1 | Time tracking =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0| 11:16 =C2=A0 | >>>>> =C2=A0 | =C2=A0 =C2=A0 =C2=A0| >>>>> | 2 | [2011-03-09 Wed] =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0= =C2=A0 =C2=A0 =C2=A0 | >>>>> 10:30 | =C2=A0 =C2=A0 =C2=A0| >>>>> | 3 | dinner =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 | >>>>> =C2=A0 | 0:45 | >>>>> | 3 | watched music videos with Felicity/played guitar | =C2=A0 =C2= =A0 =C2=A0 =C2=A0 | >>>>> =C2=A0 | 0:45 | >>>>> | 3 | cleaned up =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 | >>>>> =C2=A0 | 0:15 | >>>>> | 3 | setup emacs/org-mode =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2= =A0 =C2=A0 | >>>>> =C2=A0 | 0:20 | >>>>> | 3 | arch forum posting =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2= =A0 =C2=A0 =C2=A0 | >>>>> =C2=A0 | 0:40 | >>>>> | 3 | cribbage board =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | = =C2=A0 =C2=A0 =C2=A0 =C2=A0 | >>>>> =C2=A0 | 0:30 | >>>>> | 3 | sleep =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 | >>>>> =C2=A0 | 7:15 | >>>>> #+END >>>>> ----- >>>>> >>>>> Any suggestions? It says "Updating dynamic block 'clocktable' at line >>>>> 12...done" when I C-c C-c, but nothing changes. This is on my Mac, >>>>> which is a bit new... at work, if I don't use quotes around the tag, = I >>>>> get "stringp nil" or something like that. On this computer quotation >>>>> marks or not... I don't get a response. >>>>> >>>>> Any suggestions? >> >> >> >>>> This works for me but I don't have the same output table format with t= he >>>> level in column 1 as you do. =C2=A0What version of org-mode are you us= ing? >>> >>> I just build from git yesterday. Though... is there anyway to test the >>> integrity of a build? This was my first time building orgmode on OS X >>> and I was not sure it would work without Developer Tools... but I >>> watched it whir away, installed with 'make install' and things are >>> seeming to function. I did get a lot of notes like this: >>> ,--- >>> | In end of data: >>> | org-agenda.el:8228:1:Warning: the following functions are not known t= o be >>> | =C2=A0 =C2=A0defined: org-habit-insert-consistency-graphs, calendar-i= so-from-absolute, >>> | =C2=A0 =C2=A0org-is-habit-p, org-habit-parse-todo, org-habit-get-prio= rity, >>> | =C2=A0 =C2=A0org-columns-quit, calendar-absolute-from-iso, >>> | =C2=A0 =C2=A0org-datetree-find-date-create >>> `--- >>> There was a set like that for about every .el file. >>> >>> That's the only real thought that's coming to mind re. oddities on >>> this system vs. my work one which works. >>> >>> >>> Thanks for the assistance, >>> John >> >> I don't use OSX so I'm not sure how much help I can be here. =C2=A0I upd= ate >> my org-mode installation at least once/week from the git repository but >> I _never_ do make install (I don't bother compiling either). >> >> I know people have run into problems with a mixture of old and new >> installations in their org-mode setup sometimes but I don't have a good >> idea how to detect that. =C2=A0I just run my org-mode directly from the = git >> repository and put it in the load path first before any other system >> level versions and I've never run into any problems with mixed versions >> so far. >> > > Well, so far I should only have one version? Or not since I installed > emacs as well. I guess that could have overwritten some of the default > packages or mingled with them? > > Even so, could I just add a: > ,--- > | (add-to-list 'load-path "~/.elisp/org.git/lisp") > `--- > Answer: yes. This fixed the problem for me. Perhaps OS X has a different path that isn't picking up the installed files? Or could it be the the compile step didn't execute properly and this allows emacs to use the raw .el files? Either way, I'm a happy camper now. Best regards, John > and be alright? > >> Someone with more OSX experience will probably need to chime in with >> suggestions here. >> > > That would be great. > > John > >> Regards, >> -- >> Bernt >> >