From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: frame-local variables weirdness Date: Tue, 23 Oct 2007 16:31:29 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193171633 25394 80.91.229.12 (23 Oct 2007 20:33:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2007 20:33:53 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 23 22:33:53 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 1IkQRj-0005hD-Kc for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 22:33:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkQRb-00009C-JE for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 16:33:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IkQRY-000097-Ts for emacs-devel@gnu.org; Tue, 23 Oct 2007 16:33:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IkQRV-00008K-Hg for emacs-devel@gnu.org; Tue, 23 Oct 2007 16:33:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkQRV-00008H-9c for emacs-devel@gnu.org; Tue, 23 Oct 2007 16:33:37 -0400 Original-Received: from tomts13.bellnexxia.net ([209.226.175.34] helo=tomts13-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IkQRQ-0008BJ-RJ; Tue, 23 Oct 2007 16:33:33 -0400 Original-Received: from ceviche.home ([65.94.181.208]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20071023203331.QURF13659.tomts13-srv.bellnexxia.net@ceviche.home>; Tue, 23 Oct 2007 16:33:31 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 3B821B4A74; Tue, 23 Oct 2007 16:31:30 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Tue\, 23 Oct 2007 06\:38\:50 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) 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:81594 Archived-At: >>>>> "Richard" == Richard Stallman writes: > When frame-local variables were first implemented, there was no other > way to put frame-specific data in the mode line. But now there is, > with :eval. > Since they are hardly used, and the original motive for them > no longer applies, we may as well delete the feature. > Would you like to do that? Sure. I currently just marked it obsolete in the 22 branch (with a note in NEWS), see patch below. I'll change the pieces of code which make use of that feature on the trunk. If anybody wants to help out: feel free. Stefan Index: lisp/subr.el =================================================================== RCS file: /sources/emacs/emacs/lisp/subr.el,v retrieving revision 1.554.2.5 diff -u -r1.554.2.5 subr.el --- lisp/subr.el 23 Aug 2007 18:42:38 -0000 1.554.2.5 +++ lisp/subr.el 23 Oct 2007 20:26:55 -0000 @@ -944,7 +944,7 @@ (make-obsolete 'focus-frame "it does nothing." "22.1") (defalias 'unfocus-frame 'ignore "") (make-obsolete 'unfocus-frame "it does nothing." "22.1") - +(make-obsolete 'make-variable-frame-local "use a frame-parameter instead" "22.2") ;;;; Obsolescence declarations for variables, and aliases. @@ -988,7 +988,6 @@ (defalias 'search-backward-regexp (symbol-function 're-search-backward)) (defalias 'int-to-string 'number-to-string) (defalias 'store-match-data 'set-match-data) -(defalias 'make-variable-frame-localizable 'make-variable-frame-local) ;; These are the XEmacs names: (defalias 'point-at-eol 'line-end-position) (defalias 'point-at-bol 'line-beginning-position)