From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Patrick Mahan Newsgroups: gmane.emacs.help Subject: PWD is not seen by my emacs installation Date: Mon, 7 Aug 2023 18:58:19 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38737"; mail-complaints-to="usenet@ciao.gmane.io" To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 08 03:59:13 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qTC09-0009rY-C1 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 08 Aug 2023 03:59:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTBzd-0002OI-2Y; Mon, 07 Aug 2023 21:58:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTBzc-0002O9-9M for help-gnu-emacs@gnu.org; Mon, 07 Aug 2023 21:58:40 -0400 Original-Received: from mail-ot1-x32e.google.com ([2607:f8b0:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTBzU-0004K7-SY for help-gnu-emacs@gnu.org; Mon, 07 Aug 2023 21:58:39 -0400 Original-Received: by mail-ot1-x32e.google.com with SMTP id 46e09a7af769-6bd046bfcf3so221153a34.2 for ; Mon, 07 Aug 2023 18:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691459910; x=1692064710; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=PlBMpWkoUnMWrzO22Lp7Y+UErvRwmGWxSkKtOcSL75E=; b=JnJjWVSwS/wNYVYH59XgFUM4X0FapudhuF9Yvux/m0weLRoi8jm28W7465zCYPxaK6 ygJTyg9VPbBozMpY4sQB2vTW51/SmkGIW2QYLySEvlU6wiyBrRWok+KjqDh1f3yHWh0B 51uW98dwX3qhdrM3/Oc3gvdsUYzd+y+mAac+OpzqBxOAj+GnXEYnlmJvaKSAUgNI9t8d qjZA/LRU72QuEi5nJTt5NLq9/XGgkaAMmYOO3aPG7IkEu5sx1exf0CyP6LfC2oqo3JE9 gmArsnRgiCqw7e94a5twCi53OxtYgtTiVCdINUdL72OdQ/IZ5XBdiEPURnS+uTwyLOcV Ax8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691459910; x=1692064710; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=PlBMpWkoUnMWrzO22Lp7Y+UErvRwmGWxSkKtOcSL75E=; b=OsH2FGMyYqZ2wdXS4+ugagIFGndu1gbDgzPut5erUntE+ETHcIvDikBQCiwiyMbzCo KTz6P+1voM7L0/lkbk3EGlB8Gf88Ju7q8mN9/pws2aBj+yumHjJzMYzOndlreWABTzSz gIkZGb/3NR7Ua2nsAWIvprDhfasoKwksTsDuKh8NsdmEo8aAvW3qnF+twqYWvC6RB5WE tzKhTneqRWTAW5CTXYUKdqKyxaJTvS8GD8VhaBAhNHrfQqygpUEsCNwHKgiuCy7qMYI5 wrRDORxAFfQUL9ECG/A2n6ZPblpGOXz/B8wWXmslWEqK7E2FU8oMqsVHCkMWaUizKOeJ x6gQ== X-Gm-Message-State: AOJu0YwLOT8+dKIQeBSkDvtawJ+K0qV0Lh+av5NhHm7dUqEt+of9tEsT BMZKBmOMChFnpuVsl5lA3gOM/i33vwFkmTm3naLHnJHTH7M= X-Google-Smtp-Source: AGHT+IE31aBsW1N65yPhgrlYdTKUwbc0C9FWAXlGgV+C8D3WctZhxMRqNXDxs8eOggh9YyPeDxS1lCc6TWWUCm7z7iA= X-Received: by 2002:a05:6870:b28f:b0:1b7:2148:41f0 with SMTP id c15-20020a056870b28f00b001b7214841f0mr13345573oao.46.1691459910398; Mon, 07 Aug 2023 18:58:30 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::32e; envelope-from=plmahan@gmail.com; helo=mail-ot1-x32e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144673 Archived-At: Hardware - Macbook Pro 14" (Apple M1 Pro) Mac OS 13.1 (Ventura) Emacs - Emacs 28.2 (build 1, aarch64-apple-darwin21.1.0, NS appkit-2113.00 Version 12.0.1 (Build 21A559)) of 2022-09-12) My emacs does not see the current directory, but instead is expecting everything to be under ~/. I thought emacs grokked the PWD environment variable. >From my shell - % echo $PWD /Users/mahan/src/PPP/ppp-master/pppd But inside my .emacs I have - (setq workingdir (getenv "PWD")) message "PWD =3D '%s'" workingdir) Which results in - PWD =3D =E2=80=99nil=E2=80=99 Unless I open using a Full pathname, it will not open the file correctly. Suggestions? Thanks, Patrick