[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] inline source code blocks
From: |
Ilya Shlyakhter |
Subject: |
[O] inline source code blocks |
Date: |
Wed, 5 Mar 2014 16:28:00 -0500 |
Some questions about inline source code blocks:
- They're not fontified even when org-src-fontify-natively is true
-- correct?
- They're not included in tangled code; is that intended behavior?
The manual does not seem to say they're different from normal code
blocks, except for syntax.
There are also mailing list messages that suggest they're not meant
to be exported. What is the correct understanding? I can submit a
patch to the manual once I understand this myself.
- For very short code snippets (1-2 lines), it would be good to
allow specifying (via properties) a default language for code blocks
(say C) and a prefix character (say '>'), after which one could write
> int i;
and have this be the equivalent of
+BEGIN_SRC c
int i;
+END_SRC
by analogy with short literal examples
: such as this
Would this break any Org invariants?
(Context: trying to use Org for literate programming in C++;
interested in others' experience in this area).
Thanks,
Ilya
- [O] inline source code blocks,
Ilya Shlyakhter <=