From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Witmer Newsgroups: gmane.lisp.guile.user Subject: Porting guile-xlib Date: Sun, 27 Jan 2013 08:31:41 -0500 Message-ID: <87zjzulpky.fsf@markwitmer.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1359293521 14905 80.91.229.3 (27 Jan 2013 13:32:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Jan 2013 13:32:01 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Jan 27 14:32:20 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TzSLI-0001H8-87 for guile-user@m.gmane.org; Sun, 27 Jan 2013 14:32:16 +0100 Original-Received: from localhost ([::1]:41291 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzSL0-0007Q4-J5 for guile-user@m.gmane.org; Sun, 27 Jan 2013 08:31:58 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzSKq-00077J-L6 for guile-user@gnu.org; Sun, 27 Jan 2013 08:31:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TzSKp-0002o6-Ny for guile-user@gnu.org; Sun, 27 Jan 2013 08:31:48 -0500 Original-Received: from mail-ie0-x235.google.com ([2607:f8b0:4001:c03::235]:35245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TzSKp-0002o2-JV for guile-user@gnu.org; Sun, 27 Jan 2013 08:31:47 -0500 Original-Received: by mail-ie0-f181.google.com with SMTP id 17so539363iea.40 for ; Sun, 27 Jan 2013 05:31:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:subject:date:message-id:mime-version :content-type:x-gm-message-state; bh=MVhuvyoXBHjbro+JnDdwV5X8tmyPnyu3yT13U/m+7Ik=; b=bvnpt+odKURAX7Pm38RPhDCVihmpbFOj9DYNVQN7JTgyQWscbaDKXEd/0h/GpG3mgX 8785+Adh9snRE1lQAWr9Yfy9yDYN7xoConjzIOkGn3BoMhGMCAC6kmzSHX8XkdeFxNDF ZWef3azY0MhMxUuijMTmxRpVUW46PvgJ4dGw6XOHIL1/68RHadtUhZpyEFlmBNtKIp93 PUThsG+WSY7DTQ3bzXjgTAAYkI6sokdLQKrelvT9315DdgSdfAi3v/quBddBZsDLUe3y ouZbkPehkUv7gxZXstmCccphUMLWkD42I8QfFIBCbJmjNet0vtErJKeYnFDpo8sXLSqs Lf7w== X-Received: by 10.50.217.230 with SMTP id pb6mr507219igc.43.1359293505904; Sun, 27 Jan 2013 05:31:45 -0800 (PST) Original-Received: from localhost (cpe-184-58-115-186.woh.res.rr.com. [184.58.115.186]) by mx.google.com with ESMTPS id nj1sm4110108igc.3.2013.01.27.05.31.43 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 27 Jan 2013 05:31:45 -0800 (PST) X-Gm-Message-State: ALoCoQledwqip9TeaAnGqkbJKkt/qsjVD0xKQ64UiDon40N4KVRkJKN1ks586RV1QoqYr+poGmER X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::235 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9917 Archived-At: Hi all, 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 at guile-xlib 0.4). I haven't done anything like this before, so I'm seeking any wisdom anyone out there might have on the subject. A couple specific questions for now: 1. Is there a good reference source for the old deprecated methods? I looked up a few (eg. "scm_wta" and "scm_i_makinum") in the old manuals going back to 1.4 but didn't have any luck finding them. I can read the source, but some documentation would help! 2. Since scm_smob_free is deprecated, does that mean I can just replace a line like "return scm_smob_free(child_smob)" with "return 0;" and rest easy knowing the gc will take care of the details? Thanks Mark Witmer