From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [c]ompute property value ? Date: Mon, 16 Jul 2007 08:50:05 +0200 Message-ID: References: <87644m1ned.fsf@bzg.ath.cx> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IAKPI-0007Rp-Nh for emacs-orgmode@gnu.org; Mon, 16 Jul 2007 02:50:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IAKPI-0007Qa-0z for emacs-orgmode@gnu.org; Mon, 16 Jul 2007 02:50:08 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAKPH-0007QV-Q6 for emacs-orgmode@gnu.org; Mon, 16 Jul 2007 02:50:07 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IAKPH-0004Fy-DI for emacs-orgmode@gnu.org; Mon, 16 Jul 2007 02:50:07 -0400 In-Reply-To: <87644m1ned.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org On Jul 15, 2007, at 3:11, Bastien wrote: > Hi Carsten, > > by pressing the C-c C-c in front of :PROPERTIES:, i've been offered > these property actions: > > Property Action: [s]et [d]elete [D]delete globally > > (Should be "[D]elete", no?) Definitely. > > It might be useful here to be able to [c]ompute or [u]pdate the > property > value depending on its children, at least for values with a summary > type > like {+}, {X} or {:}. The problem is that the summary type is a property of the column view format, not of the property itself. So it is not entirely obvious how and with what scope this command should be interpreted - even though I think we should have it. Another issue is that even though column view show the summary values, they are not by default inserted into the properties list of the parent node. If the parent node does have the property, its value is updated. If it does not have it, the property will not be added. I thought this would be useful to avoid the property drawer filling with stuff you might not want there. So for the summing command you propose, we need to decide how to handle this question. Maybe with a prefix argument, force the creation of the property in the parent nodes? - Carsten > > Perhaps [C]ompute/[U]pdate globally (all properties) has also its place > here. > > -- > Bastien > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477