From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Re: How to get "remember" working properly? Date: Tue, 18 Nov 2014 20:44:42 -0800 Message-ID: <87lhn7u7d1.fsf@berkeley.edu> References: <87ioicz8ze.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xqx9V-00059v-4g for emacs-orgmode@gnu.org; Tue, 18 Nov 2014 23:46:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xqx9Q-0005Wr-M2 for emacs-orgmode@gnu.org; Tue, 18 Nov 2014 23:46:01 -0500 Received: from plane.gmane.org ([80.91.229.3]:44074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xqx9Q-0005Wl-FH for emacs-orgmode@gnu.org; Tue, 18 Nov 2014 23:45:56 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xqx9P-000193-4F for emacs-orgmode@gnu.org; Wed, 19 Nov 2014 05:45:55 +0100 Received: from c-67-169-117-151.hsd1.ca.comcast.net ([67.169.117.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Nov 2014 05:45:55 +0100 Received: from richard.lawrence by c-67-169-117-151.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Nov 2014 05:45:55 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Sharon, Sharon Kimble writes: > #+BEGIN_SRC emacs-lisp > (setq org-remember-templates > '(("Todo" ?t "* TODO %^{Brief Description} %^g\n%?\nAdded: %U" "~/.emacs.d/org/remember.org" "Tasks") > ("Journal" ?j "** %^{Head Line} %U %^g\n%i%?" "~/.emacs.d/org/journal.org") > ("Clipboard" ?c "** %^{Head Line} %U %^g\n%c\n%?" "~/.emacs.d/org/remember.org") > ("Receipt" ?r "** %^{BriefDesc} %U %^g\n%?" "~/.emacs.d/org/finances.org") > ("Book" ?b "** %^{Book Title} %t :BOOK: \n%[~/.emacs.d/.book_template.txt]\n" > "~/org/journal.org") > ("Film" ?f "** %^{Film Title} %t :FILM: \n%[~/.emacs.d/.film_template.txt]\n" > "~/org/journal.org") > ("Someday" ?s "** %^{Someday Heading} %U\n%?\n" "~/.emacs.d/org/someday.org") > ("Private" ?p "\n* %^{topic} %T \n%i%?\n" "~/.emacs.d/org/privnotes.org") > ("Contact" ?o "\n* %^{Name} :CONTACT:\n% ~/.emacs.d/org/contact.txt]\n" > "~/org/privnotes.org") > ) > ) > #+END_SRC > With everything that I "remember" it shows it as, example only - > > * peace [2014-11-18 Tue 11:30] > > i.e. headline before the date. How do I get it the other way round > please, meaning "date - headline"? I think all you need to do here is move the "%U" in your templates before the "%^{ ... }" that represents where you type in the headline. For example, the "Journal" template becomes: ("Journal" ?j "** %U %^{Head Line} %^g\n%i%?" "~/.emacs.d/org/journal.org") See the section on Template Expansion in the Capture section of the manual for an explanation of what's going on here. > Also you close the entry by "C-c C-c" which, in my case, calls > "Tags" again. How can I get it working right in this case please? Not sure about this -- I don't use remember -- but a good place to start is to do C-h k C-c C-c in your capture buffer; this will tell you which function is bound to C-c C-c. If it's not what you expect, the next step is to figure out what it should be bound to and set the appropriate function in the relevant keymap. Best, Richard