From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: LaTeX-close-environment: org-close-template Date: Wed, 9 Dec 2015 08:09:40 +0000 Message-ID: <8737vckpq3.fsf@ucl.ac.uk> References: <87si3dkz4h.fsf@mat.ucm.es> <87oae1ey70.fsf@delle7240.chemeng.ucl.ac.uk> <87k2oolvn3.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6Zor-0004YR-8s for emacs-orgmode@gnu.org; Wed, 09 Dec 2015 03:09:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a6Zoo-0003na-3y for emacs-orgmode@gnu.org; Wed, 09 Dec 2015 03:09:49 -0500 Received: from mail-db3on0135.outbound.protection.outlook.com ([157.55.234.135]:47797 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6Zon-0003nG-Q6 for emacs-orgmode@gnu.org; Wed, 09 Dec 2015 03:09:46 -0500 In-Reply-To: <87k2oolvn3.fsf@mat.ucm.es> (Uwe Brauer's message of "Tue, 8 Dec 2015 17:04:16 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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. > insert a src block, > 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