unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Robert Pollard <rpollard@apple.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: [NEWBIE] exec path not expanding
Date: Tue, 21 Oct 2003 14:32:22 -0700	[thread overview]
Message-ID: <0E3619BD-040E-11D8-A446-000A957A7EA8@apple.com> (raw)
In-Reply-To: <3F956538.2090702@yahoo.com>

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/Emacs.app/Contents/MacOS/bin" 
>>>> "/Applications/Emacs.app/Contents/MacOS/libexec")
>>>
>>>
>>> Hmmm.  What do (getenv "SYBASE"), (getenv "SYBASE_OCS"), (getenv 
>>> "SYBASE_ASE"),
>>> and (getenv "PATH") return?
>> SYBASE = /Applications/Sybase/System
>> SYBASE_OCS = OCS-12_5
>> SYBASE_ASE = ASE-12_5
>> PATH = /$SYBASE/$SYBASE_OCS/bin:$SYBASE/$SYBASE_ASE/bin:$PATH
>
> 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.

Thanks,

Robert

>
> -- 
> Kevin Rodgers
>
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

  reply	other threads:[~2003-10-21 21:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2081.1066753006.21628.help-gnu-emacs@gnu.org>
2003-10-21 16:56 ` [NEWBIE] exec path not expanding Kevin Rodgers
2003-10-21 21:32   ` Robert Pollard [this message]
     [not found] <mailman.2117.1066772419.21628.help-gnu-emacs@gnu.org>
2003-10-21 23:34 ` Kevin Rodgers
2003-10-22 12:38 ` Hugh Wolf
2003-11-09 17:58   ` Robert Pollard
     [not found] <mailman.2080.1066752801.21628.help-gnu-emacs@gnu.org>
2003-10-21 16:36 ` Hugh Wolf
2003-10-21 21:39   ` Robert Pollard
     [not found] <mailman.654.1064432009.21628.help-gnu-emacs@gnu.org>
2003-09-24 21:18 ` Kevin Rodgers
2003-09-25 15:38   ` John Russell
2003-09-25 21:58     ` Kevin Rodgers
2003-10-21 16:16   ` Robert Pollard
2003-10-14 21:20 ` Kai Grossjohann
2003-10-21 16:12   ` Robert Pollard
2003-10-21 19:56     ` Kai Grossjohann
2003-10-21 21:28       ` Robert Pollard
2003-10-22 18:23         ` Kai Grossjohann
2003-09-24 19:33 Robert Pollard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0E3619BD-040E-11D8-A446-000A957A7EA8@apple.com \
    --to=rpollard@apple.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).