emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* emac org literal examples
@ 2015-03-19 21:02 Francis J. Monari, Esquire
  0 siblings, 0 replies; only message in thread
From: Francis J. Monari, Esquire @ 2015-03-19 21:02 UTC (permalink / raw)
  To: emacs-orgmode

Literal Examples seem to begin with the following pattern: "#+BEGIN_"*.
 The * is often replaced by "SRC" "EXAMPLE" "VERBATIM", etc..

Org Mode also recognizes Literal Examples with 'nonstandard' endings,
e.g. "#+BEGIN_LANGUAGE".  Should users rely on these 'nonstandard'
Literal Examples being recognized in the future?

The "SRC" and "EXAMPLE" 'endings' receive special treatment, e.g. using
"SRC" the user can edit the Literal Example in a specific environment,
e.g. fundamental mode, enriched mode, or - of course - a mode designed
to work with a specific programing language.  How are the endings that
receive special treatment identified or registered?  Is is possible to
expand the set of endings that receive special treatment?

The ability to collapse specific lines of text with a title that can be
edited in a specific environment is a very powerful feature.  I do not,
however, want to misuse the feature or overload the "SRC" ending.  (The
"SRC" ending seems best reserved for programming languages or emacs modes.")

examples of the proposal:

1. The "HTML" ending could allow syntax highlighting.  The "SRC" ending
provides this for code.

2.
#+BEGIN_LANGUAGE Spanish
#+END_LANGUAGE
The literal example might then be edited in an environment convenient
for Spanish.

Thank you,

Frank.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-19 21:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-19 21:02 emac org literal examples Francis J. Monari, Esquire

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