[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.
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)
- Re: frame-local variables weirdness, (continued)
- Re: frame-local variables weirdness, Richard Stallman, 2007/10/19
- Re: frame-local variables weirdness, Stefan Monnier, 2007/10/19
- Re: frame-local variables weirdness, Richard Stallman, 2007/10/20
- Re: frame-local variables weirdness, Stefan Monnier, 2007/10/20
- Re: frame-local variables weirdness, Richard Stallman, 2007/10/22
- Re: frame-local variables weirdness, Stefan Monnier, 2007/10/22
- Re: frame-local variables weirdness, Juanma Barranquero, 2007/10/22
- Re: frame-local variables weirdness, Stefan Monnier, 2007/10/22
- Re: frame-local variables weirdness, Juanma Barranquero, 2007/10/22
- Re: frame-local variables weirdness, Richard Stallman, 2007/10/23
- Re: frame-local variables weirdness,
Stefan Monnier <=
- Re: frame-local variables weirdness, Richard Stallman, 2007/10/24
- Re: frame-local variables weirdness, Johan Bockgård, 2007/10/24
Re: frame-local variables weirdness, Juanma Barranquero, 2007/10/12
- Re: frame-local variables weirdness, Richard Stallman, 2007/10/13
- Re: frame-local variables weirdness, Juanma Barranquero, 2007/10/13
- Re: frame-local variables weirdness, Juanma Barranquero, 2007/10/18
- Re: frame-local variables weirdness, Richard Stallman, 2007/10/21
- Re: frame-local variables weirdness, Juanma Barranquero, 2007/10/21