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 version getting closer Date: Sun, 10 Nov 2002 10:02:42 +0100 (MET) Sender: emacs-devel-admin@gnu.org Message-ID: <200211100859.gAA8x5MU017768@stubby.bodenonline.com> References: <5567-Sun10Nov2002003102+0200-eliz@is.elta.co.il> 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 1036920484 18377 80.91.224.249 (10 Nov 2002 09:28:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 10 Nov 2002 09:28:04 +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 18AoNv-0004mH-00 for ; Sun, 10 Nov 2002 10:28:03 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18AoYI-00086f-00 for ; Sun, 10 Nov 2002 10:38:46 +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 18AoN8-0000UH-00; Sun, 10 Nov 2002 04:27:14 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18Ao78-0004Kr-00 for emacs-devel@gnu.org; Sun, 10 Nov 2002 04:10:42 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18Ao73-0004Fi-00 for emacs-devel@gnu.org; Sun, 10 Nov 2002 04:10:40 -0500 Original-Received: from stubby.bodenonline.com ([193.201.16.94]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18Anzx-0000NE-00 for emacs-devel@gnu.org; Sun, 10 Nov 2002 04:03:17 -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 gAA8x5MU017768; Sun, 10 Nov 2002 09:59:05 +0100 Original-To: eliz@is.elta.co.il In-Reply-To: <5567-Sun10Nov2002003102+0200-eliz@is.elta.co.il> from "Eli Zaretskii" at nov 10, 2002 12:31:02 X-Mailer: ELM [version 2.5 PL0pre8] 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:9302 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9302 > > > From: "Jan D." > > Date: Thu, 7 Nov 2002 20:39:07 +0100 (CET) > > > > This port tries to reuse as much as it can of current X code, so > > it is very dependent on X. For example, all drawing is done with > > standard X calls. The event loop is mostly unmodified (split into > > two functions, but no major code changes). > > Does this mean the code won't work with the Windows port of Gtk? I assume it does not work with MS Windows. X specific calls in Gtk are used, as well as a lot of X calls in the ordinary Emacs code for X. The goal has been to reuse as much code unchanged as possible (see http://mail.gnu.org/pipermail/emacs-devel/2001-December/004383.html). Since I don't do MS Windows I don't know what effort would be required to make it work. If one used only Gtk code instead of Xlib I assume it would run on MS Windows as well. This is what I started to do, but then changed to the current X specific approach. Jan D.