From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: babel perl issue Date: Mon, 10 Dec 2012 10:24:42 -0700 Message-ID: <874njtakh1.fsf@gmail.com> References: <87a9tntr29.fsf@Rainer.invalid> <87sj7fp7om.fsf@gmail.com> <87wqwrrml2.fsf@Rainer.invalid> <87vcca9bxw.fsf@gmail.com> <87fw3dapnn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ti764-0000ST-UE for emacs-orgmode@gnu.org; Mon, 10 Dec 2012 12:24:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ti75y-0001cN-Lt for emacs-orgmode@gnu.org; Mon, 10 Dec 2012 12:24:52 -0500 Received: from mail-ie0-f173.google.com ([209.85.223.173]:33939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ti75y-0001c8-HL for emacs-orgmode@gnu.org; Mon, 10 Dec 2012 12:24:46 -0500 Received: by mail-ie0-f173.google.com with SMTP id e13so10697798iej.32 for ; Mon, 10 Dec 2012 09:24:46 -0800 (PST) In-Reply-To: (flav's message of "Mon, 10 Dec 2012 16:43:43 +0100") 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: flav Cc: emacs-orgmode@gnu.org 1. make sure you're using a recent version of Org-mode, either the latest release or from git, see http://orgmode.org/worg/org-faq.html#Keeping-current 2. start Emacs with the -Q flag (to ensure there is no problem caused by the rest of your config) 3. evaluate the Babel config (require 'org) (org-babel-do-load-languages 'org-babel-load-languages '((perl . t))) 4. if you still have problems, then write back with your version of Emacs, and your version of org-mode (reported with M-x org-version) Hope this helps, flav writes: > I am sorry for my misunderstood but > I put (require 'org) in my .emacs and there is no change. > > > > 2012/12/10 Eric Schulte > >> As I mentioned in my previous message you have to require Org-mode >> before executing the following snippet. Try >> >> (require 'org) >> (org-babel-do-load-languages >> 'org-babel-load-languages >> '((perl . t))) >> >> flav writes: >> >> > still an issue : >> > >> > >> > Debugger entered--Lisp error: (void-function org-babel-do-load-languages) >> > (org-babel-do-load-languages (quote org-babel-load-languages) (quote >> > (...))) >> > eval-buffer(# nil "/home/flav/.emacs" nil t) ; Reading >> > at bu$ >> > load-with-code-conversion("/home/flav/.emacs" "/home/flav/.emacs" t t) >> > load("~/.emacs" t t) >> > #[nil "^H\205\264^@ \306=\203^Q^@\307^H\310Q\2027^@ >> > \311=\2033^@\312\307\31$ >> > command-line() >> > normal-top-level() >> > >> > >> > 2012/12/10 Eric Schulte >> > >> >> (org-babel-do-load-languages >> >> 'org-babel-load-languages >> >> '((perl . t))) >> >> >> >> -- >> Eric Schulte >> http://cs.unm.edu/~eschulte >> -- Eric Schulte http://cs.unm.edu/~eschulte