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: GTK patches part 1 Date: Mon, 9 Dec 2002 17:21:21 +0100 (MET) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200212091616.gB9GGw16022535@stubby.bodenonline.com> References: <20021209132057.GA21533@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1039459724 4355 80.91.224.249 (9 Dec 2002 18:48:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Dec 2002 18:48:44 +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 18LSxO-00017x-00 for ; Mon, 09 Dec 2002 19:48:42 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18LT7a-0007CP-00 for ; Mon, 09 Dec 2002 19:59:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18LQhx-000289-03 for emacs-devel@quimby.gnus.org; Mon, 09 Dec 2002 11:24:37 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18LQfh-00020d-00 for emacs-devel@gnu.org; Mon, 09 Dec 2002 11:22:17 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18LQfe-000203-00 for emacs-devel@gnu.org; Mon, 09 Dec 2002 11:22:16 -0500 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18LQfb-0001zb-00; Mon, 09 Dec 2002 11:22:12 -0500 Original-Received: from accessno42.bodenonline.com (IDENT:root@accessno42.bodenonline.com [193.201.16.44]) gB9GGw16022535; Mon, 9 Dec 2002 17:16:59 +0100 Original-To: miles@gnu.org (Miles Bader) In-Reply-To: <20021209132057.GA21533@gnu.org> from "Miles Bader" at dec 09, 2002 08:20:57 X-Mailer: ELM [version 2.5 PL0pre8] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10003 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10003 > > On Mon, Dec 09, 2002 at 01:44:03PM +0100, Jan D. wrote: > > I don't understand why HAVE_GTK needs to be in config.in. Can you > > explain? > > Because autoconf will never insert a define itself (into config.h), it needs > a template to modify, which in the case of emacs is src/config.in. Surely > you needed to do this yourself, to compile anything! I did edit config.in manually and then promptly forgot about it. I didn't realize it was a generated file. > > > (4) It looks like the user has to give the `--with-gtk' option to > > > configure to enable GTK. I think using `--with-x-toolkit=gtk' > > > would be more correct, at least from a user's perspective. > > > > I just selected what other GTK programs seems to use. In theory GTK > > can run on other platforms than X (not this port though), But I can switch > > (or have both?) if thats desired. > > Well, if it's some sort of standard, then I suppose you could support both. > > --with-x-toolkit is better though, because it makes explicit the fact that > GTK and the other supported toolkits are mutually exclusive. Perhaps the > programs you're thinking of can only use one GUI toolkit, which is enabled > using --with-gtk? It may be so. I can hardly call it standard, the only program I remember right now is xscreensaver. I'll change to --with-x-toolkit=gtk. Jan D.