From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Shea Levy Newsgroups: gmane.emacs.devel Subject: Re: Propagating local variables? Date: Fri, 18 May 2018 16:15:50 -0400 Message-ID: <87bmdcn2ix.fsf@xps13.shealevy.com> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1526674477 895 195.159.176.226 (18 May 2018 20:14:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 18 May 2018 20:14:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: John Wiegley , Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 18 22:14:33 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 1fJllo-00007l-Jc for ged-emacs-devel@m.gmane.org; Fri, 18 May 2018 22:14:32 +0200 Original-Received: from localhost ([::1]:40747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJlnv-0008Of-8d for ged-emacs-devel@m.gmane.org; Fri, 18 May 2018 16:16:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJlnC-0008OO-4l for emacs-devel@gnu.org; Fri, 18 May 2018 16:15:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJln9-00019f-0K for emacs-devel@gnu.org; Fri, 18 May 2018 16:15:58 -0400 Original-Received: from smtprelay0237.hostedemail.com ([216.40.44.237]:36565 helo=smtprelay.hostedemail.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fJln8-00019I-R6; Fri, 18 May 2018 16:15:54 -0400 Original-Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id 2B53B181D340F; Fri, 18 May 2018 20:15:53 +0000 (UTC) X-Session-Marker: 7368656140736865616C6576792E636F6D X-HE-Tag: ducks96_506cf884da402 X-Filterd-Recvd-Size: 2717 Original-Received: from localhost (unknown [50.226.7.202]) (Authenticated sender: shea@shealevy.com) by omf12.hostedemail.com (Postfix) with ESMTPA; Fri, 18 May 2018 20:15:52 +0000 (UTC) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 216.40.44.237 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:225411 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Maybe a good transition path is to add an explicit (opt-in) parent buffer mechanism when creating a buffer, and adding a hook when a buffer is created *without* explicitly setting the parent (or explicitly setting it to null) so the user can plug their own heuristics in until legacy modules catch up. John Wiegley writes: >>>>>> Richard Stallman writes: > >> * 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 depen= d on >> heuristics. > > I think so too, except that it won't work well with legacy modules, if th= ey > weren't written with such inheritance in mind. > > --=20 > John Wiegley GPG fingerprint =3D 4710 CF98 AF9B 327B B80F > http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE6ESKvwKkwnxgMLnaXAvWlX2G/icFAlr/NHYACgkQXAvWlX2G /ifRig//bwjsEtFYQaicOs1s2p1ukN596KfCaF4t42ka0a4qjkKPsq3g1lFxLGQD lR2PUIRKoJRqAH4WzfUiJvjBO7F9Hx+Kmmxuk13+QzhL4u2MBIrA/Z1oG1jt1gZd 822ANS4FFtr0v4RgmH64UMSRjB4c40L/+n5CGX5smjumSAV5KBzFE1Jb/VTnmcMg afxRjd9dt64tO/Enxkl7BVVjadW1I9CvG49dMsJ1GPmUXCl4fEFLGqSEifL10Na6 /c6zn4rj0oYXGXDWnJYv/oAL/DoN3h/5Y0AHCmj51God5FzbqhOMrBDyM9Es5R6d GFB3aGrlaTQaaBbU0iCpawxPaETA0xTcoNpdF/YeZnVP62jGO5HmSJmtJSMYHyj4 /XF2wXHfLBboBbT2F3DqdGc6a2cloOzCTbTFTWx5wdY86GUV3iXqqjNfhV4YBs8a 2dNPBkBGm308RVOr5kYcRzMdZ+e38cIIClhlbvyldWyWrTVZyqMr8T/y2CRBLjAa g9EEayn/6Lp5MnTkfQ4tRBfSc+zlB37diItMpONkjbcKuKJvXHShYryAepqO1VKZ jh3hBS6GQu5Sit0956A1Mu7eyWSVElCPdTIURljAsr5CGCqj0ahd7pDfshElq2sv RQjGL0XmrPFO+bPrOnAAHmtCbYC+EsyJNxGvp+PIxzD0NJzJn34= =iWzz -----END PGP SIGNATURE----- --=-=-=--