From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: [ANN] Org-babel integrated into Org-mode Date: Thu, 24 Jun 2010 09:31:05 +0200 Message-ID: <87aaqkvqdi.fsf@mundaneum.com> References: <87wrtp78rg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Eric, > I've just merged the babel branch into the main branch of Org-mode. > > [...] > > 2) Babel will now be loaded by default along with the rest of Org-mode. T= his > means that *everyone* currently using babel will need to change their > Emacs config and remove the (require 'org-babel-int) and/or (require > 'org-babel) lines. > > Support for evaluating emacs-lisp code blocks is loaded by default. All > other languages will need to be required explicitly. To conform to Ema= cs > filename specifications all language require lines have been shortened > from e.g. > > (require 'org-babel-sh) > > to > > (require 'ob-sh) For my own understanding, what's the status of `Org-babel-screen', for which I've never been able to understand completely all the differences with `sh'= in `Org-babel'? Second, a problem with the following code: --8<---------------cut here---------------start------------->8--- ;; Org-babel needs to be told to recognize awk source code blocks and ;; how they should be tangled, which can be accomplished with the ;; following: (org-babel-add-interpreter "awk") (add-to-list 'org-babel-tangle-langs '("awk" "awk")) (org-babel-add-interpreter "fortran") (add-to-list 'org-babel-tangle-langs '("fortran" "f")) ;; ;; org-babel panics when trying to evaluate ruby code blocks becau= se ;; ;; you don't have the required ruby executables available on your ;; ;; system. Probably the best way to deal with this is to remove ru= by ;; ;; from the list of languages supported by babel: ;; (setq org-babel-interpreters (delete "ruby" org-babel-interpreters= )) ;; make pre-built helper functions (`lob') available ;; (org-babel-load-library-of-babel) ;; mapping between languages (listings in LaTeX) and their major mode ;; (in Emacs) (setq org-src-lang-modes '(("ocaml" . tuareg) ("elisp" . emacs-lisp) ;; ("Delphi" . perl) ("ditaa" . artist) ("asymptote" . asy) ("dot" . fundamental))) ;; ) --8<---------------cut here---------------end--------------->8--- Neither org-babel-add-interpreter, neither its shorter version do exist now? Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode