This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Variables and scheme


Hi,

  I'm using guile as the scripting language in an app I'm building.
  The application uses a gtk notebook to hold multiple drawing areas
  in which stuff is displayed.  (Stuff being the technical term) I
  have a smob for each of these displays as a reference in guile.

  I'd like to do what Emacs does with buffer local variables for these
  different drawing areas.  I know I could just chain an assoc list
  off the smob, and write a couple accessors, but it would be cool to
  make it transparent.

  So, is this easy, hard, or blasphemous?

Thanks
Eric

-- 
|\/\/\___/\/\/|  Eric Ludlam                 zappo@gnu.org; zappo@ultranet.com
\____ o o ____/  Homepage:                      http://www.ultranet.com/~zappo
     )   (       Trebuchets:    http://www.ultranet.com/~zappo/trebuchet.shtml
    ( * * )      GNU:				            http://www.gnu.org
     \___/        "We wern't last, Woo Hoo!" - Team Juggernaut @ Punkin Chunk