[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Perl in shell with portable Emacs installation

From: Claire Billault
Subject: Re: [h-e-w] Perl in shell with portable Emacs installation
Date: Sun, 06 Jun 2010 20:48:34 +0200

Envoyé de mon iPhone

Le 6 juin 2010 à 19:33, address@hidden a écrit :

You might have a look at In particular, I use invocation
directory to set paths for everything else:

;;Set drive letter or mount point, making the software relocatable.
(setq ipoide-root (substring invocation-directory 0 (- (string-match "Emacs" invocation-directory) 1)))

See the files at the end of the page on assembling the portable system:

The project is going through a major upgrade and the goals include trying to script the assembly process for the portable environment and organizing
the project so others can contribute to development.

I have just looked at, and I must say I am very impressed, especially at the prospect of having a single installation that could work on Windows AND Mac (and possibly Linux later on). I will toy with it this week, and see how I could integrate Perl.

So far I've finally managed to get Emacs to recognize Strawberry Perl, by adding

(setq exec-path (append exec-path (list (concat usb-drive-letter "Strawberry/perl/bin"))))

to my init file, but when I try to run perl in the shell I now get a "Shell failed with code 53 and no ouput" error. Googling around a bit, it seems this is a dependencies problem, but I'm not quite sure yet how to solve it. I'll continue working on this and on your method.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]