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

Carsten Dominik <dominik@science.uva.nl> writes:

> The problem is that the summary type is a property of the
> column view format, not of the property itself.  

Yes, i inferred that from the fact that the summary type is
automatically updated when changing the property value from 
the column view.

> So it is not entirely obvious how and with what scope this command
> should be interpreted - even though I think we should have it.

So far as C-c C-x C-c does the updating job by computing the summary, i
guess we just need a function that replaces the values of the properties
when they exist (in parent and children).

Such a function should be interactive and might called by
`write-file-hooks'.

> 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.

Very right.  

> 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?

A prefix argument sounds good to me.  

Certainly all these questions are not #1 priority.  As you said,
proprities are new and it might be wise to wait for more people to
interact with them...

Cheers,

-- 
Bastien

  reply	other threads:[~2007-07-16  9:30 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
2007-07-16  9:30   ` Bastien [this message]
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=87myxwn1aq.fsf@bzg.ath.cx \
    --to=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).