From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#30134: ehsell and process-environment variable Date: Thu, 18 Jan 2018 12:52:40 -0500 Message-ID: References: <83shb6xyha.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1516298111 29657 195.159.176.226 (18 Jan 2018 17:55:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 18 Jan 2018 17:55:11 +0000 (UTC) Cc: 30134@debbugs.gnu.org To: SK Kim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 18 18:55:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecEOq-0006e6-4U for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Jan 2018 18:54:52 +0100 Original-Received: from localhost ([::1]:44680 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecEQq-0002TO-6A for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Jan 2018 12:56:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecEN9-0007iT-DO for bug-gnu-emacs@gnu.org; Thu, 18 Jan 2018 12:53:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ecEN4-0007fK-FT for bug-gnu-emacs@gnu.org; Thu, 18 Jan 2018 12:53:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53987) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ecEN4-0007f7-B0 for bug-gnu-emacs@gnu.org; Thu, 18 Jan 2018 12:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ecEN3-0005G7-UL for bug-gnu-emacs@gnu.org; Thu, 18 Jan 2018 12:53:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Jan 2018 17:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30134 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30134-submit@debbugs.gnu.org id=B30134.151629797020195 (code B ref 30134); Thu, 18 Jan 2018 17:53:01 +0000 Original-Received: (at 30134) by debbugs.gnu.org; 18 Jan 2018 17:52:50 +0000 Original-Received: from localhost ([127.0.0.1]:33651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecEMs-0005Ff-3j for submit@debbugs.gnu.org; Thu, 18 Jan 2018 12:52:50 -0500 Original-Received: from mail-wr0-f171.google.com ([209.85.128.171]:43042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecEMo-0005FQ-Br for 30134@debbugs.gnu.org; Thu, 18 Jan 2018 12:52:48 -0500 Original-Received: by mail-wr0-f171.google.com with SMTP id t16so9808028wrc.10 for <30134@debbugs.gnu.org>; Thu, 18 Jan 2018 09:52:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=dv6PN6If1WJbC9YTCWiCvWeQesWHrxv9IFsPPdo1AwM=; b=bSFAmTymdFLjgRC/oPMM3sQX110v8Ka5j5OmAcPCtkzxhJNL4Y06RpbnAtB/8y6ntU 4Wzkuv425B/iBOiP6W9ovuIMheC8iEiBawAZbYSeSM5668fml1jkzw2HXySLqWgA5BvX iq2Fnh+h2sDZwxrLnAP/nKGRr9Vdg/CScYRvmjW2EoLHe2OtMPh3FrwlcO9lTlD/f7GE Ux/f+kIuQKv5FGI48Amt+w9YXz0fiJ248IEcHvUaULEKU5giNRSsVOoBdTzg/cHkwx85 xVX004thg718EvSfSnpWeTzTTMRA3fOSjeNTrG8jvwH9JkRDCz7j+TN4K/PgvW6l3WUq bVMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=dv6PN6If1WJbC9YTCWiCvWeQesWHrxv9IFsPPdo1AwM=; b=oXtRUYmSPcdUrjcWCqtNL0ihmcXiTkZD7l1hJoIeFntmbiS3GLn9DCmoMKL/DHnmB5 kr8PY+yX6lF+K+jP9eNVoOsL1/+dqo6WSbGYtYnBJGWx9xpK3Ln+RO67z4Qu5SH0wNuj tI7uOBLp14MA2kXoNX5KQrqH5ZnkRDaNXOJbrFfFzW7EfSyXbL3WsY+vdHxgdB7161za ciYBfnY2ZoR9fLT50X8ZBzOPyZxy5shHf8E3rZ/r2Ek82bE5w6JNugjQx/ge8ViAxeo1 UxdDYNpUWa0pNaQfk8Ol0dilnY+YxpBszTHL5R6T8JURK5x6DC8/GEKxThuQSidIrFj3 /mcQ== X-Gm-Message-State: AKwxytc3F+myOPNci4YSUiTPfgxEaOeWRb1Xh3GoUoXHEea/gbcUC/87 EQWKVofFO3JtwBGogFinDCCAaxUeS5yq8pX7cfM= X-Google-Smtp-Source: ACJfBosWCc6QO1nRvO+fJXFFjp5+jnBmXFB2C26ud3HJYqzZIwOKPbmcI8l/2DItB7LJt+Fn4Glmwze4H79TPhf6Yjg= X-Received: by 10.223.152.103 with SMTP id v94mr7193616wrb.233.1516297960500; Thu, 18 Jan 2018 09:52:40 -0800 (PST) Original-Received: by 10.223.142.53 with HTTP; Thu, 18 Jan 2018 09:52:40 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: vpjJsAjMmWonNY1LeEPrULChe3s X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:142261 Archived-At: On Thu, Jan 18, 2018 at 1:11 AM, SK Kim 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))) [...]