From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Invalid function: with-parsed-tramp-file-name with Perl Date: Thu, 21 Jun 2012 09:53:54 -0400 Message-ID: <7708.1340286834@alphaville> References: <87hau4ubgp.fsf@slate.zedat.fu-berlin.de> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Shhpm-0002WU-1C for emacs-orgmode@gnu.org; Thu, 21 Jun 2012 09:54:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Shhpf-00010T-3H for emacs-orgmode@gnu.org; Thu, 21 Jun 2012 09:54:05 -0400 Received: from g1t0027.austin.hp.com ([15.216.28.34]:14725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Shhpe-0000zu-Tm for emacs-orgmode@gnu.org; Thu, 21 Jun 2012 09:53:59 -0400 In-Reply-To: Message from "Loris Bennett" of "Thu, 21 Jun 2012 13:54:30 +0200." <87hau4ubgp.fsf@slate.zedat.fu-berlin.de> 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: Loris Bennett Cc: emacs-orgmode@gnu.org Loris Bennett wrote: > Hi, > > When I try to run a Perl script remotely via ":dir", I get the following > error: > > ,------------------------------------------------------------------------- > | org-babel-local-file-name: Invalid function: with-parsed-tramp-file-name > `------------------------------------------------------------------------- > > However, using the same remote host I can successfully run both R and > bash scripts. > > There was a thread couple of years ago where this function cropped up: > > http://lists.gnu.org/archive/html/emacs-orgmode/2010-09/msg01712.html > > but there seemed to be no real resolution and it occurred with version > 7.01trans and a bleeding edge emacs 24. I am using Org 7.8.11 with > Emacs 23.2.1. > > Any ideas? > Try adding (require 'tramp) in your .emacs somewhere (probably before you load org but it should not be too sensitive). Does that solve it? If so, then it should probably be added to ob.el for a permanent solution. Nick