* org-remember and lists
@ 2011-03-24 20:37 Radosław Grzanka
2011-03-25 9:12 ` Aankhen
0 siblings, 1 reply; 3+ messages in thread
From: Radosław Grzanka @ 2011-03-24 20:37 UTC (permalink / raw
To: Emacs-orgmode
Hello,
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?
Thanks,
Radek.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: org-remember and lists
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
0 siblings, 1 reply; 3+ messages in thread
From: Aankhen @ 2011-03-25 9:12 UTC (permalink / raw
To: Radosław Grzanka, Org-mode ml
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"))))
`----
Take a look at the manual for more.[1] You may need to update your Org
installation and add the ‘contrib’ directory to ‘load-path’ in order
to use ‘org-capture’.
Hope this helps,
Aankhen
[1]: http://orgmode.org/org.html#Capture
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: org-remember and lists
2011-03-25 9:12 ` Aankhen
@ 2011-03-25 9:13 ` Radosław Grzanka
0 siblings, 0 replies; 3+ messages in thread
From: Radosław Grzanka @ 2011-03-25 9:13 UTC (permalink / raw
To: Org-mode ml
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-25 9:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.