From: Carsten Dominik <carsten.dominik@gmail.com>
To: Matthew Lundin <mdl@imapmail.org>
Cc: emacs-orgmode@gnu.org, Trance Diviner <trance.diviner@gmail.com>
Subject: Re: Re: inserting notes at level 1 with org-remember
Date: Thu, 4 Mar 2010 12:49:28 +0100 [thread overview]
Message-ID: <7EE2708B-5F38-465E-8AF4-1DBBC36347AD@gmail.com> (raw)
In-Reply-To: <878wafws4p.fsf@fastmail.fm>
Hi Trance and Matt,
I am not able to reproduce this problem.
- Carsten
On Feb 26, 2010, at 11:26 PM, Matthew Lundin wrote:
> Hi Trance,
>
> Trance Diviner <trance.diviner@gmail.com> writes:
>
>> On Feb 25, 2010, at 7:38 PM, Matt Lundin wrote:
>>
>>> Trance Diviner <trance.diviner@gmail.com> 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"
>
> I tried it again exactly as you explained and now can confirm that
> this
> behavior occurs when there is no blank/new line at the top of the
> remember target file. (When I tried it before, I used a file that
> had a
> new line.)
>
> To duplicate the bug, I did the following:
>
> 1) "touch example.org"
>
> 2) called the remember template above.
>
> If you want a temporary fix, ensure that there is a blank/new line
> (or a
> comment line) at the top of your target file. (If you have content in
> the file, this shouldn't be a problem.)
>
> Best,
> Matt
>
>
> _______________________________________________
> 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
- Carsten
prev parent reply other threads:[~2010-03-04 11:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-25 17:18 inserting notes at level 1 with org-remember Trance Diviner
2010-02-26 3:38 ` Matt Lundin
2010-02-26 15:24 ` Trance Diviner
2010-02-26 22:26 ` Matthew Lundin
2010-03-04 11:49 ` Carsten Dominik [this message]
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=7EE2708B-5F38-465E-8AF4-1DBBC36347AD@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mdl@imapmail.org \
--cc=trance.diviner@gmail.com \
/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).