From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Propagating local variables? Date: Thu, 17 May 2018 22:32:55 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1526610660 16951 195.159.176.226 (18 May 2018 02:31:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 18 May 2018 02:31:00 +0000 (UTC) Cc: shea@shealevy.com, emacs-devel@gnu.org To: John Wiegley Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 18 04:30:55 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 1fJVAV-0004JT-Mh for ged-emacs-devel@m.gmane.org; Fri, 18 May 2018 04:30:55 +0200 Original-Received: from localhost ([::1]:36347 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJVCc-0007iq-Qj for ged-emacs-devel@m.gmane.org; Thu, 17 May 2018 22:33:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJVCV-0007ih-V1 for emacs-devel@gnu.org; Thu, 17 May 2018 22:33:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJVCV-0001S1-4Z for emacs-devel@gnu.org; Thu, 17 May 2018 22:32:59 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJVCR-0001QF-KA; Thu, 17 May 2018 22:32:55 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1fJVCR-0003Sx-7T; Thu, 17 May 2018 22:32:55 -0400 In-reply-to: (message from John Wiegley on Wed, 16 May 2018 22:16:08 -0700) 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:225382 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > 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. That makes sense to me. But I see two ways to do it: * choose which buffers are its children based on filtering their names. * specify, when creating a buffer, what parent buffer (if any) it should have. I think the second way will be better controlled, because it won't depend on heuristics. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) Skype: No way! See https://stallman.org/skype.html.