From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Emacs on OS X development Date: Sun, 5 Aug 2012 14:51:38 +0200 Message-ID: <6156B3BD-C9C2-4407-A76D-427C3B2B14A6@swipnet.se> References: <87r4s68rr4.fsf@lifelogs.com> <83A41E83-79C8-4490-966B-CD224041E840@gmail.com> <6BC9F752-C724-4C3D-B2B9-088597A57C3E@gmail.com> <878ve943r8.fsf@lifelogs.com> <87obn3zyw2.fsf@lifelogs.com> <6046815D-AE04-410F-9917-AA29683213C3@gmail.com> <874noj3fiq.fsf@lifelogs.com> <8670F104-1F14-4A63-A78D-50738BB2E826@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1344171110 24269 80.91.229.3 (5 Aug 2012 12:51:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Aug 2012 12:51:50 +0000 (UTC) Cc: Ted Zlatanov , "emacs-devel@gnu.org Development" To: Adrian Robert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 05 14:51:50 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sy0JA-0000mW-QZ for ged-emacs-devel@m.gmane.org; Sun, 05 Aug 2012 14:51:49 +0200 Original-Received: from localhost ([::1]:45706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sy0J9-0003Gb-M8 for ged-emacs-devel@m.gmane.org; Sun, 05 Aug 2012 08:51:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sy0J7-0003GW-R0 for emacs-devel@gnu.org; Sun, 05 Aug 2012 08:51:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sy0J6-0007Ex-M8 for emacs-devel@gnu.org; Sun, 05 Aug 2012 08:51:45 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:43795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sy0J6-0007BC-Ak for emacs-devel@gnu.org; Sun, 05 Aug 2012 08:51:44 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 21CA1FFFC for ; Sun, 5 Aug 2012 14:51:39 +0200 (CEST) Original-Received: (qmail 12819 invoked by uid 89); 5 Aug 2012 12:51:26 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 5 Aug 2012 12:51:26 -0000 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id E10CF7FA06C; Sun, 5 Aug 2012 14:51:37 +0200 (CEST) In-Reply-To: <8670F104-1F14-4A63-A78D-50738BB2E826@gmail.com> X-Mailer: Apple Mail (2.1278) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 62.20.26.67 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152192 Archived-At: 3 aug 2012 kl. 22:28 skrev Adrian Robert: > I think Jan is closer to the event-handling code than I have been = lately, so I'd rely on his judgment as to whether what I'm saying is = accurate or realistic, and how it could be carried out. I agree with the points below. The main issue with the NS event loop is = that it doesn't redraw on resize. But besides that, I think it can be = improved to the point of being good enough for both OSX and GNUStep. The NS font backend works, its main problem is that it uses some old = deprecated methods. Bringing in the Mac port font end is a more modular = operation, and does not have much impact. Jan D. >=20 > Also, merging this code would just be a way to improve the current NS = port for users, it is not an answer to whether the Mac port should = replace it, etc. etc.. (Which has already been covered in this thread = as well as we can cover it for now.) >=20 > thanks, > Adrian >=20 >=20 >=20 >=20 > On 2012/08/03, at 16:08, Ted Zlatanov wrote: >=20 >> The following message is a courtesy copy of an article >> that has been posted to gmane.emacs.devel as well. >>=20 >> On Tue, 31 Jul 2012 14:31:30 -0400 Adrian Robert = wrote:=20 >>=20 >> AR> As far as a merge, one way would be to bring in the = event-handling >> AR> from the Mac port to the NS port. When I looked at this it = seemed >> AR> practical, but would be a fairly intense effort, say 5 full-time = days, >> AR> probably an underestimate since a solution for GNUstep would need = to >> AR> be maintained. Then there would also be the text rendering. = Since >> AR> that is more modular, it might be possible to bring in Yamamoto's >> AR> backend almost whole as a compile-time option. I also don't = think the >> AR> current NS backend has that many deficiencies, but for whatever = reason >> AR> they've stayed there (text shaping, line spacing, font = selection). >>=20 >> AR> The second merge option would be to rework portions of the Mac = port to >> AR> more heavily utilize the Cocoa APIs, to the point it could be = ifdef'd >> AR> to run on GNUstep. Yamamoto could provide the best assessment = here, >> AR> but my feeling when I looked at it was that it would not be easy. >> AR> Definitely more work than going the other way. >>=20 >> Based on your and Mitsuharu-san's reply, I think merging his work = into >> the NS port is the better path rather than trying to bring the Mac = port >> into the Emacs tree. If you can define the work necessary to do the >> event handling and text rendering rework, plus the other specific >> features of the Mac port that are missing in the NS port, that would = be >> a helpful TODO list for any contributors. >>=20 >> Thanks >> Ted >=20