From: Carsten Dominik <carsten.dominik@gmail.com>
To: Noorul Islam K M <noorul@noorul.com>
Cc: =?iso-8859-1?Q?Vincent_Bela=EFche?= <vincent.b.1@hotmail.fr>,
nicholas.dokos@hp.com, "Org mode" <emacs-orgmode@gnu.org>
Subject: Re: does #+PROPERTY still exist ?
Date: Wed, 22 Sep 2010 11:39:21 +0200 [thread overview]
Message-ID: <2DBC3150-F431-4AD4-883B-BF3955D5332E@gmail.com> (raw)
In-Reply-To: <87aanaw31q.fsf@noorul.maa.corp.collab.net>
On Sep 22, 2010, at 11:17 AM, Noorul Islam K M wrote:
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> On Sep 22, 2010, at 8:58 AM, Noorul Islam K M wrote:
>>
>>> Nick Dokos <nicholas.dokos@hp.com> writes:
>>>
>>>> Vincent Belaïche <vincent.b.1@hotmail.fr> wrote:
>>>>
>>>>> In the org manual node `(org) Property syntax' one can read the
>>>>> following:
>>>>>
>>>>>
>>>>> --8<-------------coupez ici--------------début-------------->8---
>>>>> If you want to set properties that can be inherited by any entry
>>>>> in a file, use a line like
>>>>> #+PROPERTY: NDisks_ALL 1 2 3 4
>>>>> --8<-------------coupez ici---------------fin--------------->8---
>>>>>
>>>>> However this does not seem to work.
>>>>
>>>> In what way does it fail to work?
>>>>
>>>> AFAICT, it works as advertised: after inserting the above line, I
>>>> try to
>>>> insert a NDisks property with
>>>>
>>>> C-c C-x p NDisks<RET>5<RET>
>>>>
>>>> and it complains ("No match"). If I use e.g. 3 instead of 5, the
>>>> property is inserted.
>>>>
>>>
>>> In the below example
>>>
>>> ----------------------------------------------------------------
>>> #+PROPERTY: Age 25
>>> #+COLUMNS: %25ITEM %Age
>>>
>>> * Heading 1
>>> * Heading 2
>>> ----------------------------------------------------------------
>>>
>>> When I try to use column view to edit the property it is not using
>>> the
>>> format that I mentioned at the file level.
>>>
>>> But the following one works
>>>
>>> ----------------------------------------------------------------
>>> * Heading 1
>>> :PROPERTIES:
>>> :Age: 25
>>> :COLUMNS: %25ITEM %Age
>>> :END:
>>> * Heading 2
>>> ----------------------------------------------------------------
>>>
>>> Looks like the file level settings are not working.
>>
>> They are, but
>>
>> 1. inheritance is not on by default, you need to enable
>> if for specific properties.
>>
>> 2. Column view never looks at inherited values. That iswhy it is
>> not using org-entry-get with an inheritance flag. Column view
>> only shows and edits properties that are local to each entry.
>> Otherwise, editing an inherited value would silently
>> edit it also for other entries.
>
> I have this variable org-use-property-inheritance set as 'nil' and
> have
> the following contents in the file.
>
> ----------------------------------------------------------
> #+COLUMNS: %25ITEM %10Age
> #+PROPERTY: Age_ALL 1 2 3 4 5 6
>
> * Heading 1
> * Heading 2
> ----------------------------------------------------------
>
> With this I am able to edit Age property using C-c C-x C-c and by
> pressing e on Age column for both the headings.
yes. the _ALL properties are an exception and always inherited.
- Carsten
next prev parent reply other threads:[~2010-09-22 9:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-22 5:21 does #+PROPERTY still exist ? Vincent Belaïche
2010-09-22 6:10 ` Nick Dokos
2010-09-22 6:58 ` Noorul Islam K M
2010-09-22 7:36 ` Nick Dokos
2010-09-22 8:09 ` Nick Dokos
2010-09-22 8:43 ` Noorul Islam K M
2010-09-22 8:56 ` Noorul Islam
2010-09-22 9:05 ` Carsten Dominik
2010-09-22 9:17 ` Noorul Islam K M
2010-09-22 9:39 ` Carsten Dominik [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-09-23 3:13 Vincent Belaïche
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2DBC3150-F431-4AD4-883B-BF3955D5332E@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.com \
--cc=noorul@noorul.com \
--cc=vincent.b.1@hotmail.fr \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.