emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Matt Lundin <mdl@imapmail.org>
Cc: Emacs-orgmode@gnu.org, Water Lin <WaterLin@ymail.com>
Subject: Re: Re: short way to insert source tag in org mode?
Date: Tue, 29 Sep 2009 11:25:15 +0200	[thread overview]
Message-ID: <112EBCDB-811E-49D0-9133-7E9716EB9E48@gmail.com> (raw)
In-Reply-To: <m2tyyo70vx.fsf@fastmail.fm>


On Sep 27, 2009, at 7:28 PM, Matt Lundin wrote:

> Water Lin <WaterLin@ymail.com> writes:
>
>> While I am using org to publish my source code, I include my code in
>> following way:
>>
>> #+BEGIN_SRC emacs-lisp
>> some emacs-lisp code
>> #+END_SRC
>>
>> Everytime I copy the begin and the end tag which is
>>
>> #+BEGIN_SRC emacs-lisp
>>
>> and
>>
>> #+END_SRC
>>
>> to my org file.
>>
>> I want to find a way to inset them handly. Is there a key binding for
>> this?
>
> It's an experimental feature, but I use "<s" for this. And "<l" for
> latex, "<h" for html, etc. (I certainly do hope that this becomes an
> official feature at some point.)

I guess it is not going away - just needs some documentation....
I'll accept a patch!

- Carsten

>
> See the variable org-structure-template-alist.
>
> - Matt
>
>
>
> _______________________________________________
> 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

      reply	other threads:[~2009-09-29  9:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-27  6:22 short way to insert source tag in org mode? Water Lin
2009-09-27 14:50 ` Bernt Hansen
2009-09-28  9:50   ` Eric S Fraga, Eric S Fraga
2009-09-29  1:48   ` Water Lin
2009-09-29  2:45     ` Nick Dokos
2009-09-29  3:14       ` Bernt Hansen
2009-09-29  3:36         ` Nick Dokos
2009-09-29  9:36           ` Eric S Fraga, Eric S Fraga
2009-09-29  3:18       ` Water Lin
2009-09-29  7:15         ` Stephan Schmitt
2009-09-27 17:28 ` Matt Lundin
2009-09-29  9:25   ` Carsten Dominik [this message]

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=112EBCDB-811E-49D0-9133-7E9716EB9E48@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=WaterLin@ymail.com \
    --cc=mdl@imapmail.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).