From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: Propagating local variables? Date: Wed, 16 May 2018 22:16:08 -0700 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1526534067 31136 195.159.176.226 (17 May 2018 05:14:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 17 May 2018 05:14:27 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cc: shea@shealevy.com, emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 17 07:14:23 2018 Return-path: Envelope-to: ged-emacs-devel@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 1fJBF8-000818-OK for ged-emacs-devel@m.gmane.org; Thu, 17 May 2018 07:14:22 +0200 Original-Received: from localhost ([::1]:34510 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJBHF-00084J-K6 for ged-emacs-devel@m.gmane.org; Thu, 17 May 2018 01:16:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJBH8-00083q-7t for emacs-devel@gnu.org; Thu, 17 May 2018 01:16:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJBH4-0006cu-5s for emacs-devel@gnu.org; Thu, 17 May 2018 01:16:26 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJBH4-0006cq-1O; Thu, 17 May 2018 01:16:22 -0400 Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:38217) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1fJBGu-0001Gd-Vz; Thu, 17 May 2018 01:16:13 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 57024220C9; Thu, 17 May 2018 01:16:12 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 17 May 2018 01:16:12 -0400 X-ME-Sender: Original-Received: from localhost (76-234-69-149.lightspeed.frokca.sbcglobal.net [76.234.69.149]) by mail.messagingengine.com (Postfix) with ESMTPA id 041F1E4076; Thu, 17 May 2018 01:16:11 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Wed, 16 May 2018 23:00:18 -0400") Mail-Followup-To: Richard Stallman , emacs-devel@gnu.org, shea@shealevy.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:225360 Archived-At: >>>>> Richard Stallman writes: > I'm not sure what the idea means. What does "parent" mean in this context? > Is a parent a buffer? The parent is the buffer where you create the variables that will extend to any children spawned "on behalf" of that buffer. So, not every buffer you create while currently visiting that buffer, but those which match some kind of predicate. Thus, when editing a C file, you might want the compilation buffer, M-x shell, M-x gdb, and a few others, to inherit the process-environment so that they are all using the same version of the tools for a particular project, independent of whether a dir-locals.el might be usable or not. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2