emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-remember and lists


From: Radosław Grzanka
Subject: Re: [O] org-remember and lists
Date: Fri, 25 Mar 2011 10:13:42 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9

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

On Fri, Mar 25, 2011 at 02:07, Radosław Grzanka<address@hidden>  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

[Prev in Thread] Current Thread [Next in Thread]