[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Differentiate source blocks in export?
From: |
Joost Kremers |
Subject: |
Re: Differentiate source blocks in export? |
Date: |
Wed, 25 Nov 2020 09:37:02 +0100 |
User-agent: |
mu4e 1.5.7; emacs 27.1.50 |
On Wed, Nov 25 2020, Eric S Fraga wrote:
> On Tuesday, 24 Nov 2020 at 23:02, Joost Kremers wrote:
>> That, unfortunately, seems to make it impossible to edit the source block as
>> Octave (or in my case Python) code. Pressing =C-c '= in this source block
>> gives
>> me an Org buffer.
>
> Take away the begin...end org block itself which I only put to protect
> the org code for the email. You should then be able to edit the src
> block with no problem.
Oh, sorry, I didn't realise that...
> #+begin_myclass
> #+begin_src octave
> y = 3 * x + 5
> #+end_src
> #+end_myclass
>
> If I have point within the octave src block, C-c ' works fine for me.
I like this solution for the "Org-ness" of the syntax, and yes, =C-c '= works,
but font lock is gone...
--
Joost Kremers
Life has its moments
- Differentiate source blocks in export?, Joost Kremers, 2020/11/24
- Re: Differentiate source blocks in export?, John Kitchin, 2020/11/24
- Re: Differentiate source blocks in export?, Marvin ‘quintus’ Gülker, 2020/11/24
- Re: Differentiate source blocks in export?, John Kitchin, 2020/11/24
- Re: Differentiate source blocks in export?, Diego Zamboni, 2020/11/24
- Re: Differentiate source blocks in export?, Eric S Fraga, 2020/11/24
- Re: Differentiate source blocks in export?, Joost Kremers, 2020/11/24
- Re: Differentiate source blocks in export?, Eric S Fraga, 2020/11/25
- Re: Differentiate source blocks in export?,
Joost Kremers <=
- Re: Differentiate source blocks in export?, Eric S Fraga, 2020/11/25
- Font lock in inner blocks [was: Re: Differentiate source blocks in export?], Joost Kremers, 2020/11/25
- Re: Differentiate source blocks in export?, Joost Kremers, 2020/11/24