* mark src blocks feature proposal
@ 2016-10-12 8:45 Uwe Brauer
2016-10-12 9:47 ` Marco Wahl
2016-10-12 9:51 ` Nicolas Goaziou
0 siblings, 2 replies; 5+ messages in thread
From: Uwe Brauer @ 2016-10-12 8:45 UTC (permalink / raw)
To: emacs-orgmode
Hello
Please consider
#+begin_src matlab :results output
y = dsolve('Dy = y^2 - y^3','y(0) = 1/100')
y = simplify(y)
set(gca,'FontSize',18)
fplot('1/(lambertw(99*exp(1)*exp(99)*exp(-t-1))+1)',[0 200 -0.15 1.13])
grid on
print -dpng lambertw.png
#+end_src
In auctex, there is a cool function called
LaTeX-mark-environment which marks a latex environment
such as
\begin{equation}
\label{eq:README:1}
\frac{dy}{dt}=y^2(1-y)
\end{equation}
There is no similar function for orgmode and the src blocks?
Uwe Brauer
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mark src blocks feature proposal
2016-10-12 8:45 mark src blocks feature proposal Uwe Brauer
@ 2016-10-12 9:47 ` Marco Wahl
2016-10-13 11:08 ` Uwe Brauer
2016-10-12 9:51 ` Nicolas Goaziou
1 sibling, 1 reply; 5+ messages in thread
From: Marco Wahl @ 2016-10-12 9:47 UTC (permalink / raw)
To: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> writes:
> Please consider
>
> #+begin_src matlab :results output
>
> y = dsolve('Dy = y^2 - y^3','y(0) = 1/100')
> y = simplify(y)
> set(gca,'FontSize',18)
>
> fplot('1/(lambertw(99*exp(1)*exp(99)*exp(-t-1))+1)',[0 200 -0.15 1.13])
> grid on
> print -dpng lambertw.png
> #+end_src
>
> In auctex, there is a cool function called
> LaTeX-mark-environment which marks a latex environment
> such as
>
> \begin{equation}
> \label{eq:README:1}
> \frac{dy}{dt}=y^2(1-y)
> \end{equation}
>
> There is no similar function for orgmode and the src blocks?
Really? Did you try `org-babel-mark-block'?
HTH,
--
Marco
https://marcowahl.github.io
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mark src blocks feature proposal
2016-10-12 8:45 mark src blocks feature proposal Uwe Brauer
2016-10-12 9:47 ` Marco Wahl
@ 2016-10-12 9:51 ` Nicolas Goaziou
2016-10-13 11:09 ` Uwe Brauer
1 sibling, 1 reply; 5+ messages in thread
From: Nicolas Goaziou @ 2016-10-12 9:51 UTC (permalink / raw)
To: emacs-orgmode
Hello,
Uwe Brauer <oub@mat.ucm.es> writes:
> In auctex, there is a cool function called
> LaTeX-mark-environment which marks a latex environment
> such as
>
> \begin{equation}
> \label{eq:README:1}
> \frac{dy}{dt}=y^2(1-y)
> \end{equation}
>
> There is no similar function for orgmode and the src blocks?
`org-mark-element' (M-h) ?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mark src blocks feature proposal
2016-10-12 9:47 ` Marco Wahl
@ 2016-10-13 11:08 ` Uwe Brauer
0 siblings, 0 replies; 5+ messages in thread
From: Uwe Brauer @ 2016-10-13 11:08 UTC (permalink / raw)
To: emacs-orgmode
> Uwe Brauer <oub@mat.ucm.es> writes:
> Really? Did you try `org-babel-mark-block'?
No, thanks for pointing it out to me, it does however not precisely what
I want, but Nic's suggestion does, org-mark-element does.
> HTH,
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: mark src blocks feature proposal
2016-10-12 9:51 ` Nicolas Goaziou
@ 2016-10-13 11:09 ` Uwe Brauer
0 siblings, 0 replies; 5+ messages in thread
From: Uwe Brauer @ 2016-10-13 11:09 UTC (permalink / raw)
To: emacs-orgmode
> Hello,
> Uwe Brauer <oub@mat.ucm.es> writes:
> `org-mark-element' (M-h) ?
Precisely what I was looking for, thanks a lot
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-10-13 11:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-12 8:45 mark src blocks feature proposal Uwe Brauer
2016-10-12 9:47 ` Marco Wahl
2016-10-13 11:08 ` Uwe Brauer
2016-10-12 9:51 ` Nicolas Goaziou
2016-10-13 11:09 ` Uwe Brauer
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.