Manish <[EMAIL PROTECTED]> writes: Hi!
> > --8<---------------cut here---------------start------------->8--- > > (setq org-default-notes-file "~/repos/org/main.org" > > org-remember-default-headline "Remember" > > org-remember-templates > > '(;; TODOs > > ("todo-template" ?t "* TODO %?\n (created: %U)\n %i\n %a") > > ;; Ideas > > ("idea-template" ?i "* Idea: %^{Title}\n (created: %U)\n %?\n > %i\n %a") > > ;; Notes > > ("note-template" ?n "* Note: %?\n (created: %U)\n %i\n %a"))) > > --8<---------------cut here---------------end--------------->8--- > > I took liberty to rephrase the template definition. Seems to work as > you expect it to now. > > (setq org-remember-templates > (quote > (( > ;; TODOs > ("todo-emplate" ?t "* TODO %? \n :CREATED: %U%i\n %a" > "~/org/main.org" "Remember") > ;; Ideas > ("idea-template" ?i "* Idea: %^{Title}\n %?\n :CREATED: %U%i\n > %a" "~/org/main.org" "Remember") > ;; Notes > ("note-template" ?n "* Note: %?\n :CREATED: %U%i\n %a" > "~/org/main.org" "Remember")))) Even if it works with this definition, it's only a workaround. ,----[ C-h v org-remember-templates RET ] | org-remember-templates is a variable defined in `org-remember.el'. [...] | The fourth element is optional and can specify a destination file for | remember items created with this template. The default file is given | by `org-default-notes-file'. If the file name is not an absolute | path, it will be interpreted relative to `org-directory'. | | An optional fifth element can specify the headline in that file that should | be offered first when the user is asked to file the entry. The default | headline is given in the variable `org-remember-default-headline'. When | this element is `top' or `bottom', the note will be placed as a level-1 | entry at the beginning or end of the file, respectively. [...] | You can customize this variable. | | [back] `---- So the 4th and 5th element are optional and should use the values of `org-default-notes-file' and `org-remember-default-headline' if not specified. But that's not done for the headline in my case... Bye, Tassilo -- No person, no idea, and no religion deserves to be illegal to insult, not even the Church of Emacs. (Richard M. Stallman) _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode