unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Juanma Barranquero <lekktu@gmail.com>, 14939@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)	[thread overview]
Message-ID: <48c26172-6161-4aaa-a4e5-15044567d8df@default> (raw)
In-Reply-To: <jwvbo5tf442.fsf-monnier+emacs@gnu.org>

> > 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).






  reply	other threads:[~2013-07-23 20:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-23 15:51 bug#14939: 24.3.50; `make-variable-frame-local' deprecation - alternative? Drew Adams
2013-07-23 17:04 ` Juanma Barranquero
2013-07-23 18:15   ` Drew Adams
2013-07-23 19:56     ` Stefan Monnier
2013-07-23 20:12       ` Drew Adams [this message]
2013-07-24  0:02     ` Juanma Barranquero
2013-07-23 17:16 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48c26172-6161-4aaa-a4e5-15044567d8df@default \
    --to=drew.adams@oracle.com \
    --cc=14939@debbugs.gnu.org \
    --cc=lekktu@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).