emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: Re: LaTeX-close-environment: org-close-template
Date: Wed, 9 Dec 2015 08:09:40 +0000	[thread overview]
Message-ID: <8737vckpq3.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87k2oolvn3.fsf@mat.ucm.es> (Uwe Brauer's message of "Tue, 8 Dec 2015 17:04:16 +0000")

On Tuesday,  8 Dec 2015 at 17:04, Uwe Brauer wrote:
>    > On Tuesday,  8 Dec 2015 at 10:34, Uwe Brauer wrote:
>
>    > I don't.  However, I find that using the easy templates (e.g. <s to
>    > insert a src block, <c to insert a centred block, ...), akin to
>    > latex-insert-block, does the equivalent and better (in my opinion, of
>    > course ;-).  There isn't an entry for comment blocks but you can
>    > define
>    > your own:
> better why?

Because it avoids typing the first line as well...  but I didn't say
that what you wanted wasn't useful.

> 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.

> In any case, the point is: sometimes you incidentally may delete say
> #+end_src, so having a function which I described spare you to copy and
> paste text.

Sure.
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.2-379-g38fd09

  reply	other threads:[~2015-12-09  8:09 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 [this message]
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=8737vckpq3.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --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).