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: C-g crash in C-x C-f (OSX Lion) Date: Tue, 20 Dec 2011 11:32:19 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <4EEB48B2.9090602@swipnet.se> <83liqc1tac.fsf@gnu.org> <83fwgk1atk.fsf@gnu.org> <4EEBE0DC.1050803@cs.ucla.edu> <4EEF5DF5.3030506@swipnet.se> <9E637EAB-A0C5-421B-9CCA-71C41442AF52@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: dough.gmane.org 1324348357 25529 80.91.229.12 (20 Dec 2011 02:32:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Dec 2011 02:32:37 +0000 (UTC) Cc: Rene@Kyllingstad.com, Emacs developers To: chad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 20 03:32:32 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RcpVG-0006f0-R9 for ged-emacs-devel@m.gmane.org; Tue, 20 Dec 2011 03:32:31 +0100 Original-Received: from localhost ([::1]:43451 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcpVF-0004CG-6q for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2011 21:32:29 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcpVB-0004C8-Pf for emacs-devel@gnu.org; Mon, 19 Dec 2011 21:32:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RcpVA-0003Er-G9 for emacs-devel@gnu.org; Mon, 19 Dec 2011 21:32:25 -0500 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:56499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcpVA-0003ES-1Z for emacs-devel@gnu.org; Mon, 19 Dec 2011 21:32:24 -0500 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id ECE89C055D; Tue, 20 Dec 2011 11:32:19 +0900 (JST) In-Reply-To: <9E637EAB-A0C5-421B-9CCA-71C41442AF52@gmail.com> 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: NetBSD 3.0 (DF) X-Received-From: 133.82.132.2 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:146865 Archived-At: >>>>> On Mon, 19 Dec 2011 17:40:07 -0800, chad said: >> Which is in your mind when you speak "low-level functionality in >> Carbon", C APIs in general or the Carbon framework (i.e., >> /System/Library/Frameworks/Carbon.framework/)? The latter does not >> include Core Foundation, Core Graphics, Core Text, or Image I/O, >> all of which are C APIs supported and legitimate even in iOS. > I'll admit that my mac development experience ended about ten years > ago, but my reading of the notes from then and now both suggest that > Carbon is a Toolbox replacement/bridge tool, and that it is being > phased out over time. I believe that your information is more > up-to-date than mine, but my reading of the notes on Carbon seems to > state clearly that the entire thing is deprecated and will > eventually go away. I trust you when you say that this is not a > practical concern for the Mac port today. Do you believe that it is > also not a practical concern for main-line Emacs over the next few > years? I don't think the above C APIs that are supported and legitimate even in iOS will go away in the near future. For the Carbon framework (again, its non-GUI part), you can find about half of the bundled applications in Mac OS X 10.7 Lion are using it. You can list them with: $ for f in /Applications/*.app /Applications/Utilities/*.app; do otool -L "$f"/Contents/MacOS/* | grep -q Carbon && echo "$f"; done Safari.app is not listed, but actually it uses the Carbon framework, too. $ otool -L /System/Library/PrivateFrameworks/Safari.framework/Safari | grep Carbon So, it wouldn't go away too soon, either. (Of course, I can't speak for Apple, as I said in the post I referred to in the previous message.) YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp