From: tpeplt <tpeplt@gmail.com>
To: Patrick Mahan <plmahan@gmail.com>
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: PWD is not seen by my emacs installation
Date: Tue, 08 Aug 2023 08:44:13 -0400 [thread overview]
Message-ID: <87cyzxln4y.fsf@gmail.com> (raw)
In-Reply-To: <CAFDHx1JPJdhK4vwnvfNTEvK=CQzMjd1M4juS=svUu+a=xs6-Qw@mail.gmail.com> (Patrick Mahan's message of "Mon, 7 Aug 2023 18:58:19 -0700")
Patrick Mahan <plmahan@gmail.com> writes:
>
> But inside my .emacs I have -
>
> (setq workingdir (getenv "PWD"))
> message "PWD = '%s'" workingdir)
>
> Which results in -
>
> PWD = ’nil’
>
> Unless I open using a Full pathname, it will not open the file correctly.
>
> Suggestions?
>
1. View your *Messages* (type C-h e) to see if there are any error
messages during Emacs’s start-up that might be related to this.
2. Read the Emacs manual on the environment (although there does not
appear to be any problem with your expressions other than a missing
leading parenthesis before ‘message’). Type
M-: (info "(emacs) Environment")
--
next prev parent reply other threads:[~2023-08-08 12:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-08 1:58 PWD is not seen by my emacs installation Patrick Mahan
2023-08-08 12:44 ` tpeplt [this message]
[not found] ` <CAFDHx1Jk=jtHhLdThFUeFpfa=yGTXoKYuu0bADYAN-j-7FjSHw@mail.gmail.com>
2023-08-09 0:59 ` tpeplt
2023-08-08 19:07 ` stefan-husmann
2023-08-08 21:21 ` Patrick Mahan
2023-08-09 5:37 ` Rudolf Schlatte
2023-08-09 20:21 ` Patrick Mahan
2023-08-22 1:14 ` David Masterson
2023-08-22 4:24 ` Patrick Mahan
2023-08-30 22:29 ` Rudolf Adamkovič
2023-08-30 23:43 ` Patrick Mahan
2023-09-03 15:27 ` Rudolf Schlatte
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=87cyzxln4y.fsf@gmail.com \
--to=tpeplt@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=plmahan@gmail.com \
/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).