[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: frame-local variables weirdness

From: Stefan Monnier
Subject: Re: frame-local variables weirdness
Date: Tue, 23 Oct 2007 16:31:29 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>>>>> "Richard" == Richard Stallman <address@hidden> 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.


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" 
 ;;;; 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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]