emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Trance Diviner <trance.diviner@gmail.com>
To: emacs-orgmode@gnu.org
Subject: inserting notes at level 1 with org-remember
Date: Thu, 25 Feb 2010 09:18:40 -0800	[thread overview]
Message-ID: <D72C4721-D7E8-4369-9CEF-D95DC84ABB27@gmail.com> (raw)

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

             reply	other threads:[~2010-02-25 17:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25 17:18 Trance Diviner [this message]
2010-02-26  3:38 ` inserting notes at level 1 with org-remember Matt Lundin
2010-02-26 15:24   ` Trance Diviner
2010-02-26 22:26     ` Matthew Lundin
2010-03-04 11:49       ` 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=D72C4721-D7E8-4369-9CEF-D95DC84ABB27@gmail.com \
    --to=trance.diviner@gmail.com \
    --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).