emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: shorcut for #+BEGIN_xxx ... #+END_xxx
Date: Thu, 14 Aug 2014 12:13:31 +0200	[thread overview]
Message-ID: <87mwb7l6pg.fsf@gmx.us> (raw)
In-Reply-To: CAD-VTcG=W_UctuR65uE6t7y0TPTuE5xqyOYmM-Gb53-cciTJJg@mail.gmail.com

Hi Joseph,

Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:

> Hello the list,
>
> I am sorry to ask a so elementary question but I would be happy to get a
> mean to have, like with CDlatex or like in LaTeX a shortcut to get
>
> #+BEGIN_my_choice_of_environment
>
>
> #+END_my_choice_of_environment
>
> I know that there is  <s  TAB for source , <l TAB for latex and so on, but
> it would maybe be useful to choice the environment, like with C-e in LateX
> + auctex, or like with C {  with CD latex.
>
> Help and suggestions are welcome.

Not quite what you are asking for, but have you seen the variable
`org-structure-template-alist'?  It still requires you to add each
completion.  That being said, it probably wouldn't be too hard to
write something like the prompt of cdlatex.

—Rasmus

-- 
And I faced endless streams of vendor-approved Ikea furniture. . .

  parent reply	other threads:[~2014-08-14 10:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-14 10:00 shorcut for #+BEGIN_xxx ... #+END_xxx Joseph Vidal-Rosset
2014-08-14 10:03 ` Joseph Vidal-Rosset
2014-08-14 10:13 ` Rasmus [this message]
2014-08-14 13:18 ` Nicolas Richard
2014-08-14 13:53   ` Joseph Vidal-Rosset

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=87mwb7l6pg.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --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).