From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Francis J. Monari, Esquire" Subject: emac org literal examples Date: Thu, 19 Mar 2015 17:02:22 -0400 Message-ID: <550B395E.2030201@juno.com> Reply-To: monarifj.esq@juno.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYiGX-0003gN-9d for emacs-orgmode@gnu.org; Thu, 19 Mar 2015 17:46:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YYiGT-0000M2-6V for emacs-orgmode@gnu.org; Thu, 19 Mar 2015 17:46:09 -0400 Received: from outmail148147.authsmtp.net ([62.13.148.147]:50672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYiGS-0000Lu-V3 for emacs-orgmode@gnu.org; Thu, 19 Mar 2015 17:46:05 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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.