unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#812: frame-local-variable documentation
@ 2008-08-28 21:23 Nikolaj Schumacher
  2008-08-30 22:56 ` Glenn Morris
  2010-06-24 19:12 ` bug#1159: frame-local-variable problem Glenn Morris
  0 siblings, 2 replies; 5+ messages in thread
From: Nikolaj Schumacher @ 2008-08-28 21:23 UTC (permalink / raw)
  To: bug-gnu-emacs

As far as I can tell frame-local variables have been (or are about to
be) removed and currently don't work.  Given that, I find the
documentation slightly misleading.

`modify-frame-parameters' still contains this paragraph:

> The value of frame parameter FOO can also be accessed
> as a frame-local binding for the variable FOO, if you have
> enabled such bindings for that variable with
> `make-variable-frame-local'.

That should be removed, I think.


`make-variable-frame-local' has this note:

> This function is obsolete since 22.2;
> use a frame-parameter instead.

I think those two carry the notion that it's still possible to access a
frame-parameter as a variable, just by using modify-frame-parameters.

The explanation in the NEWS file is more clear in this regard:

> They can easily be emulated.  Rather than calling
> `make-variable-frame-local' and accessing the variable value directly,
> explicitly check for a frame-parameter


But I think removing the first one should avoid any confusion.


regards,
Nikolaj Schumacher







^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-24 20:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-28 21:23 bug#812: frame-local-variable documentation Nikolaj Schumacher
2008-08-30 22:56 ` Glenn Morris
2010-06-24 19:12 ` bug#1159: frame-local-variable problem Glenn Morris
2010-06-24 19:30   ` Chong Yidong
2010-06-24 20:00     ` Glenn Morris

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