emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cc-mode enhancement for Objective-C


From: Alan Mackenzie
Subject: Re: cc-mode enhancement for Objective-C
Date: Sat, 13 Oct 2007 21:13:26 +0000
User-agent: Mutt/1.5.9i

Hallo, Adrian:

On Sat, Oct 13, 2007 at 09:43:30AM +0300, Adrian Robert wrote:
> Hi,

> This patch, against emacs-unicode-2/lisp/progmodes, enhances cc-mode's
> handling of Objective-C:

> - auto-indent method calls by colons (like XCode)
> - syntax highlighting for method calls
> - add more constants for font-lock highlighting
  
> I'm unsure if that means it needs to go into cc-mode's own tree?  I
> sent a couple of messages a while ago to cc-mode's own list but they
> may have been drowned in spam.

Apologies.  They were indeed so drowned.  This was back in 2005.  It
would be nice to get them into the CC Mode distribution.

> (If there are any Obj-C devs using emacs on this list, perhaps they
> could try the patch -- it's also built-in to the Emacs.app
> distribution at http://emacs-app.sf.net/ )

Could I ask you two little favours?
(i) Please prefix the names of all the variables with "c-"; e.g., change
objc-method-arg-min-delta-to-bracket to
c-objc-method-arg-min-delta-to-bracket.
(ii) Could you resubmit your patch as a context diff.  Do this by
calling, e.g. "diff -c cc-vars.old.el cc-vars.el".  This makes it much
                    ^^
easier, both to read and to apply to file versions which aren't quite the
same as the ones you started with.

> Changed files:

[ .... ]

Thanks!

-- 
Alan Mackenzie (Ittersbach, Germany).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]