From: Noam Postavsky <npostavs@users.sourceforge.net>
To: SK Kim <tttuuu888@gmail.com>
Cc: 30134@debbugs.gnu.org
Subject: bug#30134: ehsell and process-environment variable
Date: Thu, 18 Jan 2018 12:52:40 -0500 [thread overview]
Message-ID: <CAM-tV-9-TEvahTjY7MYHoaYS+pRSKFEm3bJpQZxtwF3-LoqK+A@mail.gmail.com> (raw)
In-Reply-To: <CAKYNWwQM2XLy03HkBh_4fXOsZRowLbdk7_esezBcPVQgteN79w@mail.gmail.com>
On Thu, Jan 18, 2018 at 1:11 AM, SK Kim <tttuuu888@gmail.com> wrote:
> I still don't know why but process-environment lost some values when
> creating new buffer with 'get-buffer-create' function.
Probably because it's made into a buffer-local variable in eshell buffers:
(defun eshell-var-initialize ()
"Initialize the variable handle code."
;; Break the association with our parent's environment. Otherwise,
;; changing a variable will affect all of Emacs.
(unless eshell-modify-global-environment
(set (make-local-variable 'process-environment)
(eshell-copy-environment)))
[...]
prev parent reply other threads:[~2018-01-18 17:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-16 2:31 bug#30134: ehsell and process-environment variable SK Kim
2018-01-16 3:40 ` Eli Zaretskii
[not found] ` <CAKYNWwSCjTu=tU=Kx9x8-7RxaHyeaXE6OpkEBvWvNQGVM_GsFA@mail.gmail.com>
2018-01-16 17:04 ` Eli Zaretskii
2018-01-16 18:03 ` Glenn Morris
2018-01-18 6:11 ` SK Kim
2018-01-18 17:49 ` Glenn Morris
2018-01-18 17:54 ` Glenn Morris
2018-01-19 1:33 ` SK Kim
2018-01-18 17:52 ` Noam Postavsky [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAM-tV-9-TEvahTjY7MYHoaYS+pRSKFEm3bJpQZxtwF3-LoqK+A@mail.gmail.com \
--to=npostavs@users.sourceforge.net \
--cc=30134@debbugs.gnu.org \
--cc=tttuuu888@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.