From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Raffael Herzog Newsgroups: gmane.emacs.help Subject: ObjC mode fontification and formatting Date: Tue, 15 Apr 2003 20:12:21 +0200 Organization: raffael.ch / Linux Java Development Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87of37fx4q.fsf@mail.raffael.ch> Reply-To: Raffael Herzog NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050430553 20827 80.91.224.249 (15 Apr 2003 18:15:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2003 18:15:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 15 20:15:51 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 195UyF-0005Ph-00 for ; Tue, 15 Apr 2003 20:15:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195Uy9-0005FE-03 for gnu-help-gnu-emacs@m.gmane.org; Tue, 15 Apr 2003 14:15:45 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!newsfeed.cs.wisc.edu!144.212.100.101.MISMATCH!newsfeed!fu-berlin.de!uni-berlin.de!62.167.63.211!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 43 Original-NNTP-Posting-Host: 62.167.63.211 Original-X-Trace: fu-berlin.de 1050430344 1088975 62.167.63.211 (16 [89812]) X-Face: &M3?D4z$:N3Hm]S@Hv~00Hc(]M3tt^xaA&>q\O0WkI$8Wq-j~-\)1hsu5avrr8QM>BS<.QQNo(`DbMA]DhG\Hg|s5xBC;*MItLP/!?=c_^2mxpy]"S9g2wP63.Al?&,U9>#G>{:@%aYCe|)/#uwU4Yh1-f9.4qR"lOj]Y!V4CR User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386-debian-linux-gnu) Cancel-Lock: sha1:h4PNvzeycaurwy1ZjPz1Ny76H8g= Original-Xref: shelby.stanford.edu gnu.emacs.help:112008 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8508 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8508 Hi, Playing around with GNUstep I also started Objective-C pro- gramming. Now, there are some issues with cc-mode there: ,---- | -(void) doSomething: (NSString*) str1 | with: (NSString*) str2 | { | [anObject doSomething: str1 | with: str2]; // 'with' is fontified as | // function definition, 'str2' | // as variable | } `---- But I'd like Emacs to do the following: ,---- | -(void) doSomething: (NSString*) str | with: (NSString*) str2 | { | [anObject doSomething: str1 // fontify 'anObject' as | // variable? (not sure yet) | with: str2]; // don't fontify 'with' | // nor 'str2' | // note the alignment ^ | } `---- How can this be done? TIA, Raffi -- => Neu im Usenet? Fragen? http://www.use-net.ch/usenet_intro_de.html <= The difference between theory and practice is that in theory, there is no difference, but in practice, there is. Raffael Herzog - herzog@raffael.ch - http://www.raffael.ch - ICQ #67961355