emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* close a template?
@ 2018-06-14  8:10 Uwe Brauer
  2018-06-14  9:39 ` Eric S Fraga
  0 siblings, 1 reply; 5+ messages in thread
From: Uwe Brauer @ 2018-06-14  8:10 UTC (permalink / raw)
  To: emacs-orgmode


Hi

I asked that more than a year ago, but maybe meanwhile there are some
news in master which I did not noticed.

Consider please the following template

#+begin_src matlab  :results output latex :exports results  :eval never-export 
clear all
f1=5;
f2=4;
f3=6;
h=(1-(-1))/2;
s=misimp(5,4,6,h);
disp('\begin{equation*}')
fprintf('I  = %g \\\\\n', s)
disp('\end{eqaution*}')
#+end_src

Suppose I accidentally delete the last line, so the template would be
invalid. Is there, meanwhile, any command which would guess the correct
template and insert the missing line?


Auctex has a similar functionality called 
«close environment» which is a real time saver.

Uwe Brauer  

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-06-14 23:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-14  8:10 close a template? Uwe Brauer
2018-06-14  9:39 ` Eric S Fraga
2018-06-14  9:48   ` Uwe Brauer
2018-06-14 10:30     ` Eric S Fraga
2018-06-14 23:05       ` Nick Dokos

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