help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: PWD is not seen by my emacs installation


From: Rudolf Schlatte
Subject: Re: PWD is not seen by my emacs installation
Date: Wed, 09 Aug 2023 07:37:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Patrick Mahan <plmahan@gmail.com> writes:
>> How did you invoke emacs? If you start it from some graphical MacOS
>> environment, may PWD _is_ undefined (I know nothing about MacOS)? Did you
>> cd into
>> /Users/mahan/src/PPP/ppp-master/pppd in a shell and start emacs from
>> the command line from there?
>>
>>
> Thanks!  That was a good suggestion.  I was using the Mac OS X 'open'
> command which is probably, as you suggested, not picking up the correct
> environment, though oddly it is picking up the PATH correctly.

In that case, you can write "open -a Emacs.app /path/to/somefile.txt"
and it will be opened by Emacs as expected.

Note that in Emacs, each buffer has its own "current directory", so
e.g. starting dired when in the "somefile.txt" buffer will display the
contents of "/path/to".




reply via email to

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