From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: frame-local variables weirdness Date: Thu, 11 Oct 2007 21:00:13 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1192129240 8467 80.91.229.12 (11 Oct 2007 19:00:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Oct 2007 19:00:40 +0000 (UTC) Cc: Emacs Devel To: "Stefan Monnier" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 11 21:00:38 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ig3Gm-0000AA-Sx for ged-emacs-devel@m.gmane.org; Thu, 11 Oct 2007 21:00:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ig3Gh-0006Hx-5f for ged-emacs-devel@m.gmane.org; Thu, 11 Oct 2007 15:00:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ig3Ga-0006Fs-UO for emacs-devel@gnu.org; Thu, 11 Oct 2007 15:00:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ig3GZ-0006EH-Lx for emacs-devel@gnu.org; Thu, 11 Oct 2007 15:00:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ig3GZ-0006Dt-0W for emacs-devel@gnu.org; Thu, 11 Oct 2007 15:00:15 -0400 Original-Received: from wx-out-0506.google.com ([66.249.82.224]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ig3GY-0001S1-9t for emacs-devel@gnu.org; Thu, 11 Oct 2007 15:00:14 -0400 Original-Received: by wx-out-0506.google.com with SMTP id s7so589278wxc for ; Thu, 11 Oct 2007 12:00:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=drpFzuVHJSus7QRaoBVuqz/LANfQ2Z4G+K0ykrGHQjs=; b=Kltbg77pA/MyW1E9xZUmgzXBYUGt6g0hcQ3Y3xGPJpTgMzhqxE2gdJ2GaF9dsKQxseUgdJBgVZOCNvibH/QoaIMt8yi22VUQVXXJxTeIDKtf2YGHb9zZpmRmqTTa5/91d4pUuLL0f5NOyhf2RxvJiADlu4+jgUb29kGULFnqxkA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lUBEUFC2H4vh8a3jDDNohIKjxKFws2lppTEEe4AZw4f0Xxf43fH3nvqWCVYOM7RQM5KcmRxf3UrVYHfBcYkgQNbrtU1Tw6sWy+aVRjkSPhA8lUflAEeC0+JLPcvRCU0HBkFSKOj0fqsR7SCEBVD/KtuK7Rywz0mDydOrQ2jluvc= Original-Received: by 10.90.69.8 with SMTP id r8mr3422046aga.1192129213288; Thu, 11 Oct 2007 12:00:13 -0700 (PDT) Original-Received: by 10.90.103.8 with HTTP; Thu, 11 Oct 2007 12:00:13 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:80651 Archived-At: On 10/11/07, Stefan Monnier wrote: > I suggest to disallow mixing even with the weaker "buffer-local" flavor. Aha. > Signal an error when calling make-local-variable or > make-variable-buffer-local if the variable is already frame-local, and > signal an error in make-variable-frame-local if the variable has already > been made buffer-local. OK. > Stefan "who'd even go as far as removing the notion of frame-local > variables: the few uses of them could call frame-parameter > explicitly just as easily" I think that's probably a good idea, assuming there's no much code out there which uses them. Juanma