emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: [c]ompute property value ?
Date: Mon, 16 Jul 2007 08:50:05 +0200	[thread overview]
Message-ID: <dca390ffcbf22a00ed81705c5ef708b9@science.uva.nl> (raw)
In-Reply-To: <87644m1ned.fsf@bzg.ath.cx>


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

  reply	other threads:[~2007-07-16  6:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-15  1:11 [c]ompute property value ? Bastien
2007-07-16  6:50 ` Carsten Dominik [this message]
2007-07-16  9:30   ` Bastien
2007-07-18 21:24     ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dca390ffcbf22a00ed81705c5ef708b9@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).