From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [BABEL,PATCH] Map "screen language" to shell-script-mode Date: Fri, 20 Jan 2012 11:47:05 -0700 Message-ID: <878vl2nqor.fsf@gmx.com> References: <5robty2sb3.fsf@kana.aer.mw.tum.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoJj1-0003BS-Lq for emacs-orgmode@gnu.org; Fri, 20 Jan 2012 14:02:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RoJis-0001xf-7A for emacs-orgmode@gnu.org; Fri, 20 Jan 2012 14:02:11 -0500 Received: from mailout-us.gmx.com ([74.208.5.67]:38369 helo=mailout-us.mail.com) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RoJir-0001xV-SY for emacs-orgmode@gnu.org; Fri, 20 Jan 2012 14:02:02 -0500 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: Litvinov Sergey Cc: emacs-orgmode@gnu.org Applied, Thanks. Litvinov Sergey writes: > A patch maps "screen language" to shell-script-mode. > > From 8b802edb789eb50ddffcc9f040afcb7870db0181 Mon Sep 17 00:00:00 2001 > From: Litvinov Sergey > Date: Fri, 20 Jan 2012 18:26:59 +0100 > Subject: [PATCH] Map "screen" to shell-script-mode > > --- > lisp/org-src.el | 3 ++- > testing/examples/ob-screen-test.org | 5 +++++ > 2 files changed, 7 insertions(+), 1 deletions(-) > create mode 100644 testing/examples/ob-screen-test.org > > diff --git a/lisp/org-src.el b/lisp/org-src.el > index 11ce461..5357dd8 100644 > --- a/lisp/org-src.el > +++ b/lisp/org-src.el > @@ -153,7 +153,8 @@ but which mess up the display of a snippet in Org exported files.") > (defcustom org-src-lang-modes > '(("ocaml" . tuareg) ("elisp" . emacs-lisp) ("ditaa" . artist) > ("asymptote" . asy) ("dot" . fundamental) ("sqlite" . sql) > - ("calc" . fundamental) ("C" . c) ("cpp" . c++)) > + ("calc" . fundamental) ("C" . c) ("cpp" . c++) > + ("screen" . shell-script)) > "Alist mapping languages to their major mode. > The key is the language name, the value is the string that should > be inserted as the name of the major mode. For many languages this is > diff --git a/testing/examples/ob-screen-test.org b/testing/examples/ob-screen-test.org > new file mode 100644 > index 0000000..19ce147 > --- /dev/null > +++ b/testing/examples/ob-screen-test.org > @@ -0,0 +1,5 @@ > +#+Title: a collection of examples for ob-screen tests > +#+begin_src screen :session create-tmpdir > + mkdir -p $TMPDIR > + cd $TMPDIR > +#+end_src -- Eric Schulte http://cs.unm.edu/~eschulte/