From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: close a template? Date: Thu, 14 Jun 2018 19:05:52 -0400 Message-ID: <874li5vui7.fsf@alphaville.usersys.redhat.com> References: <87a7rxss8e.fsf@mat.ucm.es> <87po0t671m.fsf@gmail.com> <87wov1r950.fsf@mat.ucm.es> <87zhzx4q42.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTbJf-00064J-JX for emacs-orgmode@gnu.org; Thu, 14 Jun 2018 19:06:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTbJa-0005ED-L4 for emacs-orgmode@gnu.org; Thu, 14 Jun 2018 19:06:07 -0400 Received: from [195.159.176.226] (port=46449 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTbJa-0005C9-DZ for emacs-orgmode@gnu.org; Thu, 14 Jun 2018 19:06:02 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fTbHP-0003H7-Hf for emacs-orgmode@gnu.org; Fri, 15 Jun 2018 01:03:47 +0200 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" To: emacs-orgmode@gnu.org Eric S Fraga writes: > On Thursday, 14 Jun 2018 at 11:48, Uwe Brauer wrote: >>>>> "Eric" == Eric S Fraga writes: >> > Unlikely to be a solution available given that you are wanting an >> > autocompletion that understands LaTeX within MATLAB... I don't know of >> > any tool that could help unfortunately. >> >> Aeh, no I think this is a misunderstanding! > > Ah sorry. What you want (adding the #+end_src line) is definitely more > easily achievable and conceptually possible. I don't think there's > anything there already, however, but maybe somebody else knows better. > > I simply use the new template system so the end line is already always > there (and I guess I make sure not to delete it...) and one of the great > features is that it will wrap a region for you within the block type you > request. You can always add another template and delete the begin line. -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler