emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Radosław Grzanka" <radoslawg@gmail.com>
To: Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: org-remember and lists
Date: Fri, 25 Mar 2011 10:13:42 +0100	[thread overview]
Message-ID: <4D8C5CC6.9070502@gmail.com> (raw)
In-Reply-To: <AANLkTinzWf04nh6wQacQEanTYa96Jq+9P3DWZOOCuTg_@mail.gmail.com>

W dniu 2011-03-25 10:12, Aankhen pisze:
> Hullo,
>
> On Fri, Mar 25, 2011 at 02:07, Radosław Grzanka<radoslawg@gmail.com>  wrote:
>>   I'm trying to tweak remember templates to follow my needs but I
>> fail. I want to do template for my shopping list entries like this:
>>
>> (setq org-remember-templates (list
>>                                (list "shopping" ?s "- [ ] %?\n" (concat org-directory
>> "notes.org") "Shopping List")
>> ))
>>
>> However after saving, there is header prepended to this like:
>>
>> ** Thu Mar 24 21:32:49 2011 (- [ ] apples)
>>    - [ ] apples
>>
>> I don't want this - I already have heading with all the info I need "*
>> Shopping List". ;) I don't know how to accomplish that.
>>
>> Any help?
> I’m not sure what the problem is here, but ‘org-capture’ is preferred
> over remember these days; maybe that would work better for you:
>
> ,----
> | (require 'org-capture)
> | (global-set-key (kbd "C-M-z") 'org-capture) ; use any key you like
> | (setq org-capture-templates `(("s" "Shopping" checkitem
> |                                (file+headline ,(concat org-directory
> "notes.org")
> |                                               "Shopping List"))))
> `----Hello,

   Yep! That solved it. I think I come from stone age when "remember" 
was preffered ;) . Thanks for help.

Radek.

      reply	other threads:[~2011-03-25  9:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-24 20:37 org-remember and lists Radosław Grzanka
2011-03-25  9:12 ` Aankhen
2011-03-25  9:13   ` Radosław Grzanka [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=4D8C5CC6.9070502@gmail.com \
    --to=radoslawg@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).