all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* inline source code blocks
@ 2014-03-05 21:28 Ilya Shlyakhter
  2014-03-06 22:04 ` Eric Schulte
  0 siblings, 1 reply; 6+ messages in thread
From: Ilya Shlyakhter @ 2014-03-05 21:28 UTC (permalink / raw)
  To: emacs-orgmode

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

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

end of thread, other threads:[~2014-03-07  2:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05 21:28 inline source code blocks Ilya Shlyakhter
2014-03-06 22:04 ` Eric Schulte
2014-03-06 23:35   ` Ilya Shlyakhter
2014-03-07  2:22     ` Eric Schulte
2014-03-07  2:52       ` Ilya Shlyakhter
2014-03-07  0:02   ` Ilya Shlyakhter

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.