emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] PROPERTIES before the first headline


From: Stephan Schmitt
Subject: Re: [Orgmode] PROPERTIES before the first headline
Date: Wed, 17 Feb 2010 15:06:03 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20091006)

Forgot to say: yes, I think it is
intentional that this does not work
before the first headline (properties
belong to headlines not to files)

But maybe it would make sense to allow
for "file properties".

Also sprach Stephan Schmitt:
> Hi Christian,
> 
> you forgot the colon after PROPERTY,
> i.e. the following line at the beginning
> of the buffer does work:
> 
> #+PROPERTY: myprop don't ask
> 
> (don't forget to refresh the buffer
> setup by typing C-c C-c with the cursor
> in that line).
> 
> Then the call
> 
> (org-entry-get (point) "myprop" t)
> 
> returns "don't ask".  Note the third
> argument (t), which allows inheritance.
> 
> Hth,
>       Stephan
> 
> Also sprach Christian Wittern:
>> Hi there,
>>
>> Extending my use of org-mode has left
>> me running into another wall: I would
>> like to set some custom properties
>> globally for the whole file, before
>> everything else.  There does not seem
>> to be a way to do this
>>
>> #+PROPERTY myprop don't ask
>>
>> and having the :PROPERTY: drawer after
>> the #+ lines also does not seem to
>> work: Whenever I try to use the API
>> functions to get at the property, I am
>> told that I am before the first
>> headling (which I know).  So, is this
>> behavior intentional?  And if yes, is
>> there a way to work around this?
>>
>> All the best,
>>
>> Christian
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> 
> 
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

-- 

--------------------------------------------

Stephan Schmitt

Neural Information Processing Group
Fac. IV - Electrical Engineering
        & Computer Science
Berlin University of Technology

Office: +49 30 - 314 24 158
Mobile: +49 179 - 593 84 48
Email:
  echo 'drmabuse at cs x tu-berlin x de' \
  | sed -e 's/ x /\./g' -e 's/ at /@/'

--------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]