GNU bug report logs - #1159
frame-local-variable problem

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Thu, 28 Aug 2008 21:30:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 1159 <at> debbugs.gnu.org
Subject: bug#1159: frame-local-variable problem
Date: Thu, 24 Jun 2010 15:12:58 -0400
Sorry, but I don't understand why you closed this. I still see the
problem I described (in case there is any confusion, I cloned 1159
from 812. 812 is a doc bug that is indeed fixed). Problem:

    This works as it should:

    emacs -Q
    (setq foo 'bar)

    (make-variable-frame-local 'foo)
         ; [1]
    (set-frame-parameter nil 'foo t)

    foo  ; -> t [2]

    (make-frame)

    foo  ; -> bar in new frame, still t in old frame [3]


    If you add an extra evaluation of `foo' at point [1] (after making it
    frame local, but before adding a frame parameter), then at point [2]
    you get 'bar rather than t. After you make a new frame, it starts
    working (at [3]).





This bug report was last modified 15 years and 62 days ago.

Previous Next


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