From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: Names for the C frame stuff Date: 10 Jan 2004 16:37:42 +0000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073767179 3135 80.91.224.253 (10 Jan 2004 20:39:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 10 Jan 2004 20:39:39 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jan 10 21:39:33 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AfPtN-0007it-00 for ; Sat, 10 Jan 2004 21:39:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AfQpN-0001cG-5a for guile-devel@m.gmane.org; Sat, 10 Jan 2004 16:39:29 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AfQnj-0000HQ-FG for guile-devel@gnu.org; Sat, 10 Jan 2004 16:37:47 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AfQn6-0008FA-Sa for guile-devel@gnu.org; Sat, 10 Jan 2004 16:37:40 -0500 Original-Received: from [80.84.72.14] (helo=mail2.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AfQm6-0007fT-2v for guile-devel@gnu.org; Sat, 10 Jan 2004 16:36:06 -0500 Original-Received: from localhost (s4.uklinux.net [127.0.0.1]) by mail2.uklinux.net (Postfix) with ESMTP id 14703409FA3; Sat, 10 Jan 2004 20:34:36 +0000 (UTC) Original-Received: from mail2.uklinux.net ([127.0.0.1]) by localhost (s4.uklinux.net [127.0.0.1:10024]) (amavisd-new) with ESMTP id 21882-08; Sat, 10 Jan 2004 20:34:03 +0000 (GMT) Original-Received: from laruns.ossau.uklinux.net (unknown [213.78.74.92]) by mail2.uklinux.net (Postfix) with ESMTP id 7A8A9409FB2; Sat, 10 Jan 2004 20:33:31 +0000 (UTC) Original-Received: from laruns.ossau.uklinux.net.ossau.uklinux.net (localhost [127.0.0.1]) by laruns.ossau.uklinux.net (Postfix on SuSE Linux 7.2 (i386)) with ESMTP id F2785DC4D4; Sat, 10 Jan 2004 16:37:42 +0000 (GMT) Original-To: Marius Vollmer In-Reply-To: Original-Lines: 35 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 X-Virus-Scanned: by amavisd-new X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3180 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3180 >>>>> "Marius" == Marius Vollmer writes: Marius> Hi, Marius> so I'm pondering over how to name the functions that are associated Marius> with the new 'frame' concept. I'm now mostly convinced to use these Marius> ones: Marius> scm_frame_begin - Begin a frame Marius> scm_frame_end - End it Marius> scm_frame_unwind - Register a unwind handler Marius> scm_frame_rewind - a rewind handler Marius> scm_frame_block_asyncs - Block the asyncs Marius> scm_frame_unblock_asyncs - Unblock them Marius> scm_frame_current_input_port Marius> scm_frame_current_output_port Marius> scm_frame_current_error_port Marius> - Set the indicated port temporarily Marius> scm_frame_fluid - Set a fluid temporarily Marius> etc. Sorry to take so long to get back ... I like the design of this API, and I also share your concern about flipping the API too much. In this case, it seems to me that we can usefully keep scm_c_call_with_blocked_asyncs etc. both for back compatibility and as examples of the use of the scm_frame_* API. (Assuming that the implementation of scm_c_call_with_blocked_asyncs can be exactly rewritten to use scm_frame_*.) Regards, Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel