[Orgmode] Re: inserting notes at level 1 with org-remember

2010-02-26 Thread Trance Diviner
On Feb 25, 2010, at 7:38 PM, Matt Lundin wrote:

> Trance Diviner  writes:
> 
>> But I find that org-remember always creates notes as a level-2 entry.
>> For example, starting with an empty "example.org" file and the
>> following configuration:
>> 
>> (setq org-remember-templates
>>  '(("Note" ?n "* %u %?\n\n%i\n%a" "example.org" top)))
>> 
>> Invoking org-remember twice results in these contents:
>> 
>> ** [2010-02-25 Thu] note two
>> ** [2010-02-25 Thu] note one
>> 
>> 
>> What I expected was:
>> 
>> * [2010-02-25 Thu] note two
>> * [2010-02-25 Thu] note one
> 
> I cannot duplicate this. With your remember template, org mode files the
> entries at the top of example.org as level 1 headlines. 

That's promising.  What org-mode and emacs version?

org-version
"6.33x"
emacs-version
"23.1.90.1"




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] inserting notes at level 1 with org-remember

2010-02-25 Thread Trance Diviner
Hello!

The documentation for org-remember-templates says the following:
"""
An optional fifth element can specify the headline in that file that should
be offered first when the user is asked to file the entry.  The default
headline is given in the variable `org-remember-default-headline'.  When
this element is `top' or `bottom', the note will be placed as a level-1
entry at the beginning or end of the file, respectively.
"""

But I find that org-remember always creates notes as a level-2 entry.
For example, starting with an empty "example.org" file and the
following configuration:

(setq org-remember-templates
  '(("Note" ?n "* %u %?\n\n%i\n%a" "example.org" top)))

Invoking org-remember twice results in these contents:

** [2010-02-25 Thu] note two
** [2010-02-25 Thu] note one

What I expected was:

* [2010-02-25 Thu] note two
* [2010-02-25 Thu] note one

Am I doing it wrong?  Or is this a bug in org-remember?  If a bug,
is there a workaround I could apply to my configuration?

Kind thanks for your time,
-- 
Trance


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode