From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aankhen Subject: Re: org-remember and lists Date: Fri, 25 Mar 2011 14:42:07 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=41269 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q334J-0001vL-4T for emacs-orgmode@gnu.org; Fri, 25 Mar 2011 05:12:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q334H-0003pY-Ee for emacs-orgmode@gnu.org; Fri, 25 Mar 2011 05:12:30 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:37728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q334H-0003pO-Bm for emacs-orgmode@gnu.org; Fri, 25 Mar 2011 05:12:29 -0400 Received: by vxk20 with SMTP id 20so216737vxk.0 for ; Fri, 25 Mar 2011 02:12:28 -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: =?UTF-8?Q?Rados=C5=82aw_Grzanka?= , Org-mode ml Hullo, On Fri, Mar 25, 2011 at 02:07, Rados=C5=82aw Grzanka = wrote: > =C2=A0I'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 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (list "shopping" ?s "- [ ] %?\n" (concat or= g-directory > "notes.org") "Shopping List") > )) > > However after saving, there is header prepended to this like: > > ** Thu Mar 24 21:32:49 2011 (- [ ] apples) > =C2=A0 - [ ] 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=E2=80=99m not sure what the problem is here, but =E2=80=98org-capture=E2= =80=99 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 =E2=80=98contrib=E2=80=99 directory to =E2=80=98lo= ad-path=E2=80=99 in order to use =E2=80=98org-capture=E2=80=99. Hope this helps, Aankhen [1]: http://orgmode.org/org.html#Capture