From: "Will O'Brien" <will.08rien@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: LaTeX-close-environment: org-close-template
Date: Wed, 9 Dec 2015 20:33:34 +0000 [thread overview]
Message-ID: <CAKgE0sABk==3ARLBedd=Fc=7rjZ7=Cyi5YHbK6ywz1y1cLhecA@mail.gmail.com> (raw)
In-Reply-To: <8737vckpq3.fsf@ucl.ac.uk>
[-- Attachment #1: Type: text/plain, Size: 693 bytes --]
On 9 Dec 2015 08:10, "Eric S Fraga" <e.fraga@ucl.ac.uk> wrote:
>
> On Tuesday, 8 Dec 2015 at 17:04, Uwe Brauer wrote:
> > I think the opposite, for example, another missing feature: if you mark
> > a text and one to insert a template around it, say src, that does not
> > work in org-mode, but for it works an environment in auctex.
>
> Yes, I do often find myself killing a bunch of lines, inserting the
> template and then yanking the lines back.
>
It might be worth taking a look at something like yasnippet which provides
both easy to insert templates and the wrap-around functionality you would
like. It's very easy to write snippets which support both these use cases.
Cheers,
Will
[-- Attachment #2: Type: text/html, Size: 916 bytes --]
prev parent reply other threads:[~2015-12-09 20:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-08 10:34 LaTeX-close-environment: org-close-template Uwe Brauer
2015-12-08 15:50 ` 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 [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='CAKgE0sABk==3ARLBedd=Fc=7rjZ7=Cyi5YHbK6ywz1y1cLhecA@mail.gmail.com' \
--to=will.08rien@gmail.com \
--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).