emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: Michael Hannon <jm_hannon@yahoo.com>
Cc: Org-Mode List <emacs-orgmode@gnu.org>
Subject: Re: Customizing "Easy Templates"?
Date: Thu, 7 Jul 2011 07:13:55 +0200	[thread overview]
Message-ID: <CAMXnza2bN2Krd4_gWFs8DTgu_oqCNGiVTtr0S9nizUP5X3hZFA@mail.gmail.com> (raw)
In-Reply-To: <1310005724.44036.YahooMailRC@web161905.mail.bf1.yahoo.com>

Hey Mike,

On Thu, Jul 7, 2011 at 4:28 AM, Michael Hannon <jm_hannon@yahoo.com> wrote:
> I can't figure out how to
> customize the text of these templates.  Can anybody point me in the right
> direction?
>

This should work:

(add-to-list 'org-structure-template-alist
	     '("S" "#+BEGIN_SRC ?\n\n#+END_SRC" "<src lang=\"?\">\n\n</src>"))


-- 
Suvayu

Open source is the future. It sets us free.

  reply	other threads:[~2011-07-07  5:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-07  2:28 Customizing "Easy Templates"? Michael Hannon
2011-07-07  5:13 ` suvayu ali [this message]
2011-07-07  8:30   ` Eric S Fraga
2011-07-07 15:33     ` Michael Hannon
2011-07-07 15:24   ` Michael Hannon

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=CAMXnza2bN2Krd4_gWFs8DTgu_oqCNGiVTtr0S9nizUP5X3hZFA@mail.gmail.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jm_hannon@yahoo.com \
    /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).