From: Alan Mackenzie <acm@muc.de>
To: Adrian Robert <adrian.b.robert@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: cc-mode enhancement for Objective-C
Date: Sat, 13 Oct 2007 21:13:26 +0000 [thread overview]
Message-ID: <20071013211325.GA1908@muc.de> (raw)
In-Reply-To: <55f7df060710122343j6cc17fc8qa73ef5964fc4068a@mail.gmail.com>
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).
next prev parent reply other threads:[~2007-10-13 21:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-13 6:43 cc-mode enhancement for Objective-C Adrian Robert
2007-10-13 19:48 ` Richard Stallman
2007-10-14 5:49 ` Adrian Robert
2007-10-15 1:36 ` Richard Stallman
2007-10-15 15:35 ` Adrian Robert
2007-10-17 11:12 ` Adrian Robert
2007-10-17 20:49 ` Richard Stallman
2007-10-23 6:33 ` Adrian Robert
[not found] ` <55f7df060711230243i27c14a3fj44cce23ec26d76e8@mail.gmail.com>
2008-03-05 5:01 ` Adrian Robert
2007-10-13 21:13 ` Alan Mackenzie [this message]
2007-10-14 6:08 ` Adrian Robert
2007-10-14 6:10 ` Adrian Robert
2007-10-14 8:29 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071013211325.GA1908@muc.de \
--to=acm@muc.de \
--cc=adrian.b.robert@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).