From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: View inherited DEADLINEs in agenda Date: Wed, 9 Nov 2011 09:10:57 +0100 Message-ID: References: <20111107120311.GA6246@hydrogen.black.hole> <834nygktvh.fsf@yahoo.it> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RO3FR-0004cH-AZ for emacs-orgmode@gnu.org; Wed, 09 Nov 2011 03:11:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RO3FQ-0007vo-5B for emacs-orgmode@gnu.org; Wed, 09 Nov 2011 03:11:05 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:51570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RO3FP-0007vk-Vy for emacs-orgmode@gnu.org; Wed, 09 Nov 2011 03:11:04 -0500 Received: by faaq16 with SMTP id q16so1776725faa.0 for ; Wed, 09 Nov 2011 00:11:01 -0800 (PST) In-Reply-To: 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: Brian van den Broek Cc: emacs-orgmode@gnu.org, Fabrizio Chiarello On 8.11.2011, at 23:35, Brian van den Broek wrote: > On 7 November 2011 16:29, Carsten Dominik = wrote: >>=20 >> On Nov 7, 2011, at 1:19 PM, Giovanni Ridolfi wrote: >>=20 >>> Fabrizio Chiarello writes: >>>=20 >>>=20 >>>> I have many tasks with a DEADLINE, and I wish to have their = subtasks to >>>> inherit such DEADLINE. To this aim, I set: >>>>=20 >>>> (setq org-use-property-inheritance (quote ("DEADLINE"))) >>>>=20 >>>=20 >>>> The problem is that the agenda only shows deadlines for the tasks = that >>>> define them >>>=20 >>> is DEADLINE a property that can be inherited? >>=20 >> Deadlines can currently *not* be inherited. I would probably advice >> against implementing this because of performance issues that would >> result for the construction of the agenda. >>=20 >> - Carsten >=20 >=20 > Hi all, >=20 > Here's a thought: what about a function which scans a subtree of an > item that has a deadline and adds that same deadline to any > descendants that lack a deadline? It seems to me that this would, via > a one time user intervention, meet the OP's need, without the constant > overhead about which Carsten is concerned. This is a good idea and very easy to do. The only disadvantage is that any new entries you make would not get the deadline. Though, I think, one could put a function into org-insert-heading-hook to check for a deadline higher up in the tree and copy it. - Carsten >=20 > It further occurred to me that invoked without arguments, it would > prompt the user for each item without deadline, with a prefix > argument, apply all the deadlines automatically, and, with a numeric > prefix n, automatically apply the alterations n-levels down. >=20 > Best, >=20 > Brian vdB