From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Nextstep build uses iso-latin by default. WHY? Date: Fri, 15 Apr 2016 09:48:20 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <56E32A19.7060304@alice.it> <831t7givui.fsf@gnu.org> <20160320151123.GA65516@galloway.idiocy.org> <20160402154513.GA9618@breton.local> <3323FE99-3D82-4A2A-B6B8-1FB7A2A6D66C@iotcl.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1460681331 24419 80.91.229.3 (15 Apr 2016 00:48:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Apr 2016 00:48:51 +0000 (UTC) Cc: Toon Claes , emacs-devel To: Anders Lindgren Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 15 02:48:46 2016 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 1aqrwE-0006pm-JD for ged-emacs-devel@m.gmane.org; Fri, 15 Apr 2016 02:48:46 +0200 Original-Received: from localhost ([::1]:50213 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqrwD-0002zd-OM for ged-emacs-devel@m.gmane.org; Thu, 14 Apr 2016 20:48:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqrvx-0002qH-EM for emacs-devel@gnu.org; Thu, 14 Apr 2016 20:48:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqrvu-000101-96 for emacs-devel@gnu.org; Thu, 14 Apr 2016 20:48:29 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:54377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqrvt-0000xg-QH for emacs-devel@gnu.org; Thu, 14 Apr 2016 20:48:26 -0400 Original-Received: from fermat1.math.s.chiba-u.ac.jp (fermat [192.168.32.10]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id D6982F08E1; Fri, 15 Apr 2016 09:48:20 +0900 (JST) (envelope-from mituharu@math.s.chiba-u.ac.jp) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 133.82.132.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:202938 Archived-At: >>>>> On Thu, 14 Apr 2016 11:31:26 +0200, Anders Lindgren said: > The "mac" port originates from an Emacs implementation on Mac OS > Classic whereas the NS port comes from NextSTEP, before the two were > merged with OS X. Amazingly, both are still being actively > maintained. Internally, however, they are totally different, the > "mac" port is written in C based on the Carbon API, while the NS > port is implemented in Objective-C and use the Cocoa API. As of Emacs 24.5-based version, the Mac port contains Objective-C LOC as much as the NS port does. $ wc -l macappkit.? 1153 macappkit.h 15285 macappkit.m 16438 total $ wc -l ns* 3015 nsfns.m 1542 nsfont.m 202 nsgui.h 449 nsimage.m 1960 nsmenu.m 599 nsselect.m 926 nsterm.h 7811 nsterm.m 16504 total Of course, the Mac port also contains C code as well as Objective-C code, but mostly not on the Carbon API. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp