From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Question about GC in C code. Date: Sat, 16 Nov 2002 13:37:20 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: <261EA0A0-F960-11D6-B9E4-00039363E640@swipnet.se> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v482) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1037450519 15686 80.91.224.249 (16 Nov 2002 12:41:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 16 Nov 2002 12:41:59 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18D2Gr-00044s-00 for ; Sat, 16 Nov 2002 13:41:57 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18D2UD-0007mO-00 for ; Sat, 16 Nov 2002 13:55:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18D2GJ-0002GJ-00; Sat, 16 Nov 2002 07:41:23 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18D2DF-0000kd-00 for emacs-devel@gnu.org; Sat, 16 Nov 2002 07:38:13 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18D2DD-0000jC-00 for emacs-devel@gnu.org; Sat, 16 Nov 2002 07:38:12 -0500 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18D2DC-0000ii-00; Sat, 16 Nov 2002 07:38:10 -0500 Original-Received: from pc35.bodenonline.com (IDENT:root@[193.201.16.44]) by stubby.bodenonline.com (8.12.1/8.12.1) with ESMTP id gAGCXpii013134; Sat, 16 Nov 2002 13:33:51 +0100 Original-To: rms@gnu.org In-Reply-To: X-Mailer: Apple Mail (2.482) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9481 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9481 l=F6rdagen den 16 november 2002 kl 02.34 skrev Richard Stallman: > The thing is I don't think I can guarantee that it will be rarely. > Since Gtk is new and some issues not really solved (tooltips in > menus, Gtk toolbar), I expect more Lisp_Objects may be needed in > Gtk callback data. I would prefer to be able to make local = changes > in a Gtk only file rather that propagate these changes into files > that really have nothing to do with GUI toolkits. > > You can add in GC a single call to a function in one of your files > and then add more code to that function as necessary. That was the plan. I can add one function call in GC, but it would = still be a GTK specific solution and make alloc.c dependent on USE_GTK. Also, I imagine I have to declare this function in a .h-file, so now alloc.c must also include and depend on that file. I really prefer general solutions before specific ones to reduce coupling. Jan D.