From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Steven Tamm Newsgroups: gmane.emacs.devel Subject: Re: Mac OS 9 support (and some enhancements for Carbon Emacs) Date: Mon, 27 Dec 2004 09:42:54 -0800 Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1104169659 26469 80.91.229.6 (27 Dec 2004 17:47:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Dec 2004 17:47:39 +0000 (UTC) Cc: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 27 18:47:29 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ciyxt-00061n-00 for ; Mon, 27 Dec 2004 18:47:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Ciz8g-0001a3-NZ for ged-emacs-devel@m.gmane.org; Mon, 27 Dec 2004 12:58:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Ciz7n-0001Jk-Ot for emacs-devel@gnu.org; Mon, 27 Dec 2004 12:57:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Ciz7k-0001Hi-BM for emacs-devel@gnu.org; Mon, 27 Dec 2004 12:57:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Ciz7k-0001GY-7s for emacs-devel@gnu.org; Mon, 27 Dec 2004 12:57:40 -0500 Original-Received: from [17.250.248.83] (helo=smtpout.mac.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CiytX-0003Ad-Kl for emacs-devel@gnu.org; Mon, 27 Dec 2004 12:42:59 -0500 Original-Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (8.12.6/MantshX 2.0) with ESMTP id iBRHgwVG018832; Mon, 27 Dec 2004 09:42:58 -0800 (PST) Original-Received: from [10.0.1.2] (c-24-4-203-197.client.comcast.net [24.4.203.197]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id iBRHgtp6019173; Mon, 27 Dec 2004 09:42:57 -0800 (PST) In-Reply-To: Original-To: "emacs-devel '" X-Mailer: Apple Mail (2.619) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:31466 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31466 All of these changes have been checked in to latest CVS. Make sure you recompile the lisp directory (or remove the term/mac-win.elc file). Otherwise you may get a error saying "Mac native windows not in use" or "Mac native windows are not in use". I checked in the MacOS 9 portions without testing them personally: I would ask that people that are still using the classic version try it out. As for the OSX changes, the change to the resizing behavior is quite awesome. As for the CFSocket stuff, I tried it with CFLAGS="-g -O2 -DSELECT_USE_CFSOCKET" and tried my standard battery of tests. It seems that it's working just fine. I would ask all OSX users that do a lot of subprocess work (gnus, tex, etc.) to try it with it turned on and report if there are any hangs or weird behaviors. Thanks, -Steven On Dec 24, 2004, at 12:52 AM, YAMAMOTO Mitsuharu wrote: >>>>>> On Sat, 16 Oct 2004 16:28:55 +0900, YAMAMOTO Mitsuharu >>>>>> said: > >> I'm not sure how many people are interested in Mac OS 9 support, but >> now it works again. > > A revised Mac OS 9 support patch is attached. It also contains the > following enhancements for Carbon Emacs on Mac OS X. > > * Rearrangement of startup routine > - The Carbon build no longer crashes with window system specific > functions such as `xw-display-color-p' when invoked with `-nw' > option. > - Many window system command-line options are now interpreted. > * WM size hints emulation > - If the geometry is not specified explicitly, the initial frame > is positioned at the center of screen. A new frame is placed > near the selected frame (10.2 and later). > - The frame (border) that is displayed during window resize now > changes its size according to the character boundary. > * `select' emulation with CFSocket (not enabled by default) > - It reduces CPU usage when Emacs is idle even with asynchronous > processes. Previously, polling with a short interval has been > used for simultaneously monitoring window events and process > outputs. Although the new one is more efficient and works fine > as long as I tested, it is not enabled by default in case it may > cause unpredictable results because it spawns a thread for > monitoring sockets. To enable it, specify > `-DSELECT_USE_CFSOCKET' for CFLAGS. > > YAMAMOTO Mitsuharu > mituharu@math.s.chiba-u.ac.jp > etc.gz>_______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-devel