From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Status of MAC/W32/X consolidation -- second major patch committed. Date: 21 Mar 2003 16:10:11 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <5x8yv8ah7w.fsf_-_@kfs2.cua.dk> References: <5xadg38lnj.fsf@kfs2.cua.dk> <5xheaaq93k.fsf@kfs2.cua.dk> <5xbs0bq8en.fsf_-_@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048256134 3462 80.91.224.249 (21 Mar 2003 14:15:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Mar 2003 14:15:34 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Mar 21 15:15:30 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18wNI7-0000oZ-00 for ; Fri, 21 Mar 2003 15:14:39 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18wNJs-0000rR-00 for ; Fri, 21 Mar 2003 15:16:28 +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 18wNGg-0003l4-00 for emacs-devel@quimby.gnus.org; Fri, 21 Mar 2003 09:13:10 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18wNFq-00039V-00 for emacs-devel@gnu.org; Fri, 21 Mar 2003 09:12:18 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18wNF8-0002Gj-00 for emacs-devel@gnu.org; Fri, 21 Mar 2003 09:11:36 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18wNEw-0001z2-00 for emacs-devel@gnu.org; Fri, 21 Mar 2003 09:11:22 -0500 Original-Received: from kfs2.cua.dk.cua.dk (kfs2.local.filanet.dk [192.168.1.182]) by mail.filanet.dk (Postfix) with SMTP id 778DC7C012 for ; Fri, 21 Mar 2003 15:11:20 +0100 (CET) Original-To: emacs-devel@gnu.org In-Reply-To: <5xbs0bq8en.fsf_-_@kfs2.cua.dk> Original-Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:12505 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12505 > storm@cua.dk (Kim F. Storm) writes: > > > As you may have seen on emacs-devel, I'm in the process of > > consolidating the various ports of CVS emacs for X, W32, and MAC. > > More consolidation patches will following in the coming days/weeks. As "promised", I have just committed another major patch to consolidate the remaining duplicate code from xterm.c, w32term.c and macterm.c into xdisp.c. So far, a total of 15000 lines of code from those three files have been merged into just 5000 lines in xdisp.c. There are still a few minor thunks of duplicate code left, but IMO it's not worth the efforts to squeeze those files any further. My next step is to consolidate the duplicate code from xfns.c, w32fns.c and macfns.c. The ChangeLog has this blurb about the second major patch: The following changes consolidate code related to writing and inserting glyphs, exposing frame, the tool bar, the mouse face, the output cursor, and help echo from xterm.c, w32term.c and macterm.c into xdisp.c. It also generalizes the use of the window_part enum instead of using numeric values throughout. Again, I have only been able to test this on X (under GNU/Linux), so there may be some problems compiling (and running) the consolidated code on W32 and MAC. The MSDOS port may also be affected by this change. Please report any problems to me (unless you can fix them yourself). -- Kim F. Storm http://www.cua.dk