emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Lawrence <richard.lawrence@berkeley.edu>
To: emacs-orgmode@gnu.org
Subject: Re: How to get "remember" working properly?
Date: Tue, 18 Nov 2014 20:44:42 -0800	[thread overview]
Message-ID: <87lhn7u7d1.fsf@berkeley.edu> (raw)
In-Reply-To: 87ioicz8ze.fsf@skimble.plus.com

Hi Sharon,

Sharon Kimble <boudiccas@skimble.plus.com> 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

  reply	other threads:[~2014-11-19  4:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18 17:58 How to get "remember" working properly? Sharon Kimble
2014-11-19  4:44 ` Richard Lawrence [this message]
2014-11-19 17:50   ` Sharon Kimble
2014-11-19 22:29     ` Nick Dokos
2014-11-20  9:19       ` Sharon Kimble

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lhn7u7d1.fsf@berkeley.edu \
    --to=richard.lawrence@berkeley.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).