W dniu 2011-03-25 10:12, Aankhen pisze:
Hullo,

On Fri, Mar 25, 2011 at 02:07, Radosław Grzanka<radosl...@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 via email to