[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs on OS X development
From: |
Jan Djärv |
Subject: |
Re: Emacs on OS X development |
Date: |
Wed, 25 Jul 2012 09:27:36 +0200 |
Hello.
24 jul 2012 kl. 10:36 skrev YAMAMOTO Mitsuharu <address@hidden>:
>>>>>> On Tue, 24 Jul 2012 08:25:41 +0200, Jan Djärv <address@hidden> said:
>
>>> I hope someone can try and tackle it, e.g. starting by comparing
>>> the approach used currently in the NS port compared to the X, Gtk,
>>> Windows or Mac ports, so as to devise a plan.
>
>> I have a plan to do more or less what Gdk does on OSX, use lower
>> level (Core Foundation) API:s. The NS-port has many special things
>> (resizing, redrawing and more) that depends on how things are done
>> now, so it isn't just a replacement of a few functions.
>
>> I haven't looked at the Mac port, but if it uses CF for the event
>> loop, code may be reused from there.
>
> The Mac port uses CF for that purpose only on older versions of Mac OS
> X. For newer versions, it uses Grand Central Dispatch instead:
>
> http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00035.html
>
> I'm not sure about the recent situation, but I remember neither of
> them was (widely, at least) available on GNUstep.
No, CF is not available on GNUStep. I planned to use a modified version of the
current loop, that removes the timeout. After some experiments it seems that
this gives you almost all the performance gains. I'm going to try on a slower
machine also.
If it looks good then we might as well skip CF.
There is still the problem why the NS-port does not redraw during resize.
Jan D.
- Re: Emacs on OS X development, (continued)
- Re: Emacs on OS X development, Paul Eggert, 2012/07/23
- Re: Emacs on OS X development, John Wiegley, 2012/07/23
- Re: Emacs on OS X development, Jan Djärv, 2012/07/23
- Re: Emacs on OS X development, Paul Michael Reilly, 2012/07/23
- Re: Emacs on OS X development, Jan Djärv, 2012/07/23
- Re: Emacs on OS X development, Stefan Monnier, 2012/07/23
- Re: Emacs on OS X development, Jan Djärv, 2012/07/24
- Re: Emacs on OS X development, YAMAMOTO Mitsuharu, 2012/07/24
- Re: Emacs on OS X development,
Jan Djärv <=
- Re: Emacs on OS X development, YAMAMOTO Mitsuharu, 2012/07/25
- Re: Emacs on OS X development, Stefan Monnier, 2012/07/24
- Re: Emacs on OS X development, Jan Djärv, 2012/07/25
- Re: Emacs on OS X development, Eli Zaretskii, 2012/07/24
- Re: Emacs on OS X development, Jan Djärv, 2012/07/25
- Re: Emacs on OS X development, John Wiegley, 2012/07/23
- Re: Emacs on OS X development, chad, 2012/07/23
- Re: Emacs on OS X development, chad, 2012/07/23
- Re: Emacs on OS X development, John Wiegley, 2012/07/23
- Re: Emacs on OS X development, Leo, 2012/07/23