From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?UmFkb3PFgmF3IEdyemFua2E=?= Subject: Re: org-remember and lists Date: Fri, 25 Mar 2011 10:13:42 +0100 Message-ID: <4D8C5CC6.9070502@gmail.com> References: Reply-To: radoslawg@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=42429 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q336C-0003Sd-4I for emacs-orgmode@gnu.org; Fri, 25 Mar 2011 05:14:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q336B-0004Ot-3C for emacs-orgmode@gnu.org; Fri, 25 Mar 2011 05:14:28 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:58440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q336A-0004Oj-T8 for emacs-orgmode@gnu.org; Fri, 25 Mar 2011 05:14:27 -0400 Received: by ewy9 with SMTP id 9so478128ewy.0 for ; Fri, 25 Mar 2011 02:14:26 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org 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 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.