emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Christopher W. Ryan" <cryan@binghamton.edu>
To: emacs-orgmode@gnu.org
Subject: can I force all-caps in part of a headline in a capture template?
Date: Sun, 06 May 2012 20:20:44 -0400	[thread overview]
Message-ID: <4FA7155C.5000306@binghamton.edu> (raw)

I work for a public health department. Twice in the past 5 years we have 
had to open evacuation shelters during a flood, for anywhere from 80 to 
120 medically-frail evacuees. Our documentation system (paper) has 
improved, but it is still not ideal. I am experimenting with whether 
org-mode could meet our needs. It's basis in plain text may strike the 
proper balance between structure and flexibility.

Part of my .emacs includes the following:

(setq org-capture-templates
       '(("a" "Admit" entry
         (file "~/Shelter/ShelterAdmissions.org")
          "* admit  %^{LASTNAME},  %^{firstname} %U
           :PROPERTIES:
           %^{IDnumber}p
           %^{Birthdate}p
           %^{Age}p
           %^{Sex}p
           %^{Address1}p
           %^{Address2}p
           %^{City}p
           %^{State}p
           %^{Zipcode}p
           %^{Doctor1}p
           %^{Doctor2}p
           %^{Pharmacy1}p
           %^{Pharmacy2}p"
           :empty-lines: 1)
           )
)

The first line in my ShelterAdmissions.org file is:

#+TODO: admit(a) in(i!) out(o@) |  discharged(d@)

and things are working pretty well so far.

I'd like to know if there is a way to force LASTNAME to show up in 
all-caps in ShelterAdmissions.org, regardless of how it is typed into 
the capture template.

Thanks.

--Chris Ryan

             reply	other threads:[~2012-05-07  0:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-07  0:20 Christopher W. Ryan [this message]
2012-05-07  3:02 ` can I force all-caps in part of a headline in a capture template? Richard Lawrence
2012-05-07  3:24   ` Richard Lawrence
2012-05-07 12:28     ` Christopher W. Ryan

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=4FA7155C.5000306@binghamton.edu \
    --to=cryan@binghamton.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).