GNU bug report logs - #14939
24.3.50; `make-variable-frame-local' deprecation - alternative?

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Tue, 23 Jul 2013 15:52:02 UTC

Severity: minor

Tags: wontfix

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Juanma Barranquero <lekktu <at> gmail.com>, 14939 <at> debbugs.gnu.org
Subject: bug#14939: 24.3.50; `make-variable-frame-local' deprecation - alternative?
Date: Tue, 23 Jul 2013 13:12:20 -0700 (PDT)
> > This is a move backward, IMO.
> 
> Yet, that's what we're doing and I have every intention to remove
> frame-local vars, so if you want your code to keep working in the
> future, better move away from make-variable-frame-local.

Too bad.  Still a move backward.

> > Consider minor mode `tool-bar-here-mode',
> 
> If you want a frame-local minor mode, you can do
>   (define-minor-mode foo-mode nil
>     :variable (frame-parameter nil 'foo-mode) ...)

Nope, not for Emacs 22.  Or 23.

Good to know, however, for when I need to write a library that
will be useful only for Emacs 24 and later (which will happen
sooner or later).





This bug report was last modified 11 years and 185 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.