[Top][All Lists]

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

Re: [NEWBIE] exec path not expanding

From: Robert Pollard
Subject: Re: [NEWBIE] exec path not expanding
Date: Tue, 21 Oct 2003 14:32:22 -0700

Hey Kevin,

On Tuesday, October 21, 2003, at 09:56 AM, Kevin Rodgers wrote:

Robert Pollard wrote:

Hello Kevin,
On Wednesday, September 24, 2003, at 02:18 PM, Kevin Rodgers wrote:
Robert Pollard wrote:

Hello everyone,
I am curious as to why my exec path is not expanding the PATH variable. Does it expand it when it uses it or should it be expanded in the exec-path variable? I cannot get a directory listing and as per a previous post I get an error that it can't find the ls program. Could this be the cause?
exec-path's value is
("/$SYBASE/$SYBASE_OCS/bin" "$SYBASE/$SYBASE_ASE/bin" "$PATH" "/Applications/" "/Applications/")

Hmmm. What do (getenv "SYBASE"), (getenv "SYBASE_OCS"), (getenv "SYBASE_ASE"),
and (getenv "PATH") return?
SYBASE = /Applications/Sybase/System

That last line leads me to believe that some shell initialization file is broken. What is your login shell? And exactly what do the commands in the init file that are trying to prepend the $SYBASE directories to PATH look like?

Kai found the problem. The default install was in the /Applications folder for the system instead of my home directory. I moved Emacs into my home directory and it still wouldn't work. When I launched it from the terminal it worked fine. I am going to have to investigate why the double-click doesn't work and the command line does. I know my PATH is correct when I logon to the terminal but I don't know how to see the environment apart from the terminal. If there was a GUI tool to see the environment variables this would probably show that they aren't expanded much the same as Emacs does when I use getenv.

If you have any ideas let me know. If I find out what the cause is I'll post the cure to let you guys know.



Kevin Rodgers

Help-gnu-emacs mailing list

reply via email to

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