emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: LaTeX-close-environment: org-close-template
Date: Tue, 08 Dec 2015 10:34:22 +0000	[thread overview]
Message-ID: <87si3dkz4h.fsf@mat.ucm.es> (raw)


Hello

Auctex has a nice function called LaTeX-close-environment, which works
as follows: I have 

\begin{equation}

^(cursor)

I run LaTeX-close-environment and  obtain:
\begin{equation}

\end{equation}

Now could I am looking for a similar functionality for say

#+begin_comment

^(cursor)

org--close-template and  obtain:

#+begin_comment

#+end_comment

Does anybody know about such a function?

Regards

Uwe Brauer 

             reply	other threads:[~2015-12-08 10:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-08 10:34 Uwe Brauer [this message]
2015-12-08 15:50 ` LaTeX-close-environment: org-close-template Eric S Fraga
2015-12-08 17:04   ` Uwe Brauer
2015-12-09  8:09     ` Eric S Fraga
2015-12-09 20:33       ` Will O'Brien

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=87si3dkz4h.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --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).