From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subhan Michael Tindall Subject: PROPERTY inheritance at the file level, and picking up all items Date: Mon, 22 Dec 2014 17:57:40 +0000 Message-ID: <1e0640ae78ca44d6bd3a469430c30b0c@fcmailsvr2.familycareinc.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_1e0640ae78ca44d6bd3a469430c30b0cfcmailsvr2familycareinc_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y37Ev-0007on-D9 for emacs-orgmode@gnu.org; Mon, 22 Dec 2014 12:57:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y37Em-00031y-In for emacs-orgmode@gnu.org; Mon, 22 Dec 2014 12:57:53 -0500 Received: from outbound.familycareinc.org ([207.170.205.147]:13520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y37Em-0002zl-5n for emacs-orgmode@gnu.org; Mon, 22 Dec 2014 12:57:44 -0500 Content-Language: en-US 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@gnu.org'" --_000_1e0640ae78ca44d6bd3a469430c30b0cfcmailsvr2familycareinc_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable I'm trying to set up a buffer-wide property value for my project files. Currently I have a level-1 header like this: * project :PROPERTIES: :project_name: this_projects_name :END: I know this can be inherited by sub project, but I have many more level-1 h= eaders * level1 header ** sub header I can't seem to find a way to set up the property :project_name: to be a fi= le-level or buffer-level property that is inherited and visible in custom a= gendas. I've tried several variants including a level-0 property drawer and using #= +PROPERTY :project_name project_name (setq org-columns-default-format "%10CATEGORY %30ITEM %TODO %PRIORITY %20pr= oject_name %LastWorked(Last Worked On) %LastWorked(Hours Ago){@min} %FILE") Custom agenda command: ("Z" "Last Worked skip" ((alltodo "" ((org-agenda-skip-function (lambda nil= (org-agenda-skip-entry-if (quote notregexp) "\\:LastWorked\\:"))) (org-agenda-sticky nil) (org-agenda-view-columns-initially t) <<

I’m trying to set up a buffer-wide property va= lue for my project files.

Currently I have a level-1 header like this:

 

* project

:PROPERTIES:

:project_name: this_projects_name

:END:

 

I know this can be inherited by sub project, but I h= ave many more level-1 headers

* level1 header

** sub header

 

I can’t seem to find a way to set up the prope= rty :project_name: to be a file-level or buffer-level property that is inhe= rited and visible in custom agendas.

I’ve tried several variants including a level-= 0 property drawer and using #+PROPERTY :project_name project_name<= /o:p>

 

 

(setq org-columns-default-format "%10CATEGORY %= 30ITEM %TODO %PRIORITY %20project_name %LastWorked(Last Worked On) %LastWor= ked(Hours Ago){@min} %FILE")

 

Custom agenda command:

("Z" "Last Worked skip" ((alltod= o "" ((org-agenda-skip-function (lambda nil (org-agenda-skip-entr= y-if (quote notregexp) "\\:LastWorked\\:")))

(org-agenda-sticky nil) <= o:p>

(org-agenda-view-columns-= initially t)  <<<this also seems to not be working=

(org-agenda-sorting-strat= egy (quote (tsia-down todo-state-down)))))))

 

The Skip function works great, but unfortunately the= agenda also does not pick up any headers without a  TODO state even i= f they match the LastWorked regexp. 

If anybody can provide some insight on either of the= se problems I would be much obliged!

 

 


This message is intended for the sole use of the individual and entity = to which it is addressed and may contain information that is privileged, co= nfidential and exempt from disclosure under applicable law. If you are not = the intended addressee, nor authorized to receive for the intended addresse= e, you are hereby notified that you may not use, copy, disclose or distribu= te to anyone the message or any information contained in the message. If yo= u have received this message in error, please immediately advise the sender= by reply email and delete the message.  Thank you. --_000_1e0640ae78ca44d6bd3a469430c30b0cfcmailsvr2familycareinc_--