Re: Porting guile-xlib

2013-01-27 Thread Gabriel Schnoering
Hi, > I'm interested in using guile-xlib to mess around with writing a window > manager. Nice idea ! I really find its a missing feature. Why don't you target xcb rather than xlib ? It seems more modern (and more suited for guile ?). Regards. Le 27/01/2013 14:31, Mark Witmer a écrit :> > Hi al

Re: Porting guile-xlib

2013-01-27 Thread Ludovic Courtès
Hi, Mark Witmer skribis: > I'm interested in using guile-xlib to mess around with writing a window > manager. However, it looks like my first task would be porting it to > Guile 2.0, since it's quite old (assuming some newer version isn't > floating around in the ether somewhere -- I'm looking a

Re: Porting guile-xlib

2013-01-27 Thread Mike Gran
Hi Mark > Am I safe to use "scm_from_int" in its place and other general SCM > numeric functions instead of the immediate number ones? These seem to > make up a large number of the deprecated functions in use by this > library. Basically yes. But when converting a scheme integer back to a C i

Re: Porting guile-xlib

2013-01-27 Thread Mark Witmer
I found something farily obvious that will help with a lot of these kinds of questions; methods like "scm_i_makinum" were accessed via macros, so the macro (SCM_MAKINUM) is what I had to search for in the old manuals. Am I safe to use "scm_from_int" in its place and other general SCM numeric func