From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: [Adrian Robert] Status of cc-mode Objective-C patch? Date: Sat, 16 May 2009 11:05:07 +0000 Message-ID: <20090516110507.GA890@muc.de> References: <87wslm2zh0.fsf@stupidchicken.com> <20090430110023.GA2043@muc.de> <61E6BD0A-CE75-4C36-8715-A183D40D559E@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1242471895 7994 80.91.229.12 (16 May 2009 11:04:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 May 2009 11:04:55 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Adrian Robert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 16 13:04:48 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M5Hh9-0005Mo-KS for ged-emacs-devel@m.gmane.org; Sat, 16 May 2009 13:04:47 +0200 Original-Received: from localhost ([127.0.0.1]:47158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5Hh9-0001qY-6W for ged-emacs-devel@m.gmane.org; Sat, 16 May 2009 07:04:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M5Hh3-0001qT-JZ for emacs-devel@gnu.org; Sat, 16 May 2009 07:04:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M5Hgy-0001nF-Lf for emacs-devel@gnu.org; Sat, 16 May 2009 07:04:41 -0400 Original-Received: from [199.232.76.173] (port=51663 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5Hgy-0001nC-FT for emacs-devel@gnu.org; Sat, 16 May 2009 07:04:36 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:2783 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M5Hgx-0005BT-Pr for emacs-devel@gnu.org; Sat, 16 May 2009 07:04:36 -0400 Original-Received: (qmail 9572 invoked by uid 3782); 16 May 2009 11:04:32 -0000 Original-Received: from acm.muc.de (pD9E51D3D.dip.t-dialin.net [217.229.29.61]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sat, 16 May 2009 13:04:30 +0200 Original-Received: (qmail 1161 invoked by uid 1000); 16 May 2009 11:05:07 -0000 Content-Disposition: inline In-Reply-To: <61E6BD0A-CE75-4C36-8715-A183D40D559E@gmail.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 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: news.gmane.org gmane.emacs.devel:110923 Archived-At: Hi, Adrian, On Fri, May 15, 2009 at 07:28:27PM +0700, Adrian Robert wrote: > Hi, > I'm still wondering if its syntax highlighting portion (colorize > portions of the selector in method calls) could be considered for the > future, e.g. 23.2. Alan, you had some reservations and we were going > to post to emacs-devel for feedback, but it never happened. Maybe I > could create a new patch based off the new mainline with just that > portion, post it to emacs-devel, and that could be a starting point > for discussion? > FWIW, most other major editors for Objective C include or will > include this type of highlighting, as shown by the links below. On > the other hand, BBEdit and Apple's Xcode are prominent exceptions. Fontifying a use of a variable, as contrasted with its definition (for fairly inclusive values of "variable") has never been an Emacs standard. However, quite a few people over the years have asked for this sort of thing in CC Mode. Maybe the Right Thing would be to formulate exactly what "variable" uses could be usefully fontified, and introduce a new user option (?c-fontify-class-name-use-flag, or the like) to enable this fontification. I don't feel there would be all that many distince cases to consider. > nano: https://savannah.gnu.org/patch/?6631 > vim: http://groups.google.com/group/vim_dev/browse_thread/thread/ > 9d8792f3c32364c0 > SubEthaEdit: http://www.codingmonkeys.de/blog/articles/2006/03/20/ > subethaedit-and-objective-c > TextMate: http://macromates.com/ > thanks, > Adrian -- Alan Mackenzie (Nuremberg, Germany).