From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Riel Subject: Re: obtain ob-template.el for Babel language extension Date: Fri, 11 Sep 2015 21:13:05 -0700 Message-ID: <20150911211305.295d8ff4@gauss> References: <20150910222354.743ce9f2@gauss> <20150911073700.356f5760@gauss> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZacBb-00052G-PR for emacs-orgmode@gnu.org; Sat, 12 Sep 2015 00:13:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZacBY-0001u1-Iy for emacs-orgmode@gnu.org; Sat, 12 Sep 2015 00:13:11 -0400 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.230]:37395 helo=cdptpa-oedge-vip.email.rr.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZacBY-0001tn-F0 for emacs-orgmode@gnu.org; Sat, 12 Sep 2015 00:13:08 -0400 In-Reply-To: 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 On Fri, 11 Sep 2015 06:03:32 -1000 Thomas S. Dye wrote: > Aloha Joe, >=20 > Joe Riel writes: >=20 > > On Thu, 10 Sep 2015 20:38:12 -1000 > > Thomas S. Dye wrote: > > > >> Aloha Joe, > >>=20 > >> Joe Riel writes: > >>=20 > >> > How do I get a copy of ob-template.el? > >> > The file can be viewed at http://orgmode.org/w/worg.git/blob/HEAD:/o= rg-contrib/babel/ob-template.el > >> > however, that is an html file and not the elisp. > >> > I tried using git to clone http://orgmode.org/w/worg.git > >> > but that does not work. > >>=20 > >> ~$ git clone git://orgmode.org/worg.git > >>=20 > >> You should find ob-template.el in org-contrib/babel/ > > > > Thanks, that was helpful. Probably mention of that fact > > should be added to the languages.org file---currently it > > links directly to the html file which is less useful. >=20 > Done. Thanks. >=20 > > Are elisp files that implement the languages in worg? > > I found the *.org files that document them, but not their > > sources. >=20 > The language source files are distributed with Org mode. You can find > them at lisp/ob-*.el. Thanks. =20 No offense, but the help pages on the code blocks could really use improvement. For example, Exporting code blocks --------------------- Nowhere does this section explain *how* you can export a code block, nor are there any links to pages that are helpful. As a minimum it should include the relevant commands and the key bindings for exporting code blocks. Where are they? Evaluating code blocks ---------------------- The second paragraph states that only 'emacs-lisp' is enabled by default. Suppose I want to use something other than 'emacs-lisp', *how* do I enable that? The parenthetical comment states that the Languages section lists the supoported languages but doesn't mention that the explanation of enabling other languages is there. Better to not leave the reader hanging. How about this: "By default, the evaluation facility is only enabled for Lisp code blocks specified as =E2=80=98emacs-lisp=E2=80=99. See _Languages_ for inst= ructions on enabling other languages and for a list of supported languages. See _Structure of code blocks_ for information on the syntax used to define a code block." --=20 Joe Riel