Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Emacs

Emacs
Thread Tools
Dedicated MacNNer
Join Date: Nov 2000
Status: Offline
Reply With Quote
Feb 7, 2003, 10:34 PM
 
Does anyome have a hook for ccmode to get emacs to lineup messages on the colons?

Code:
result = [someInstance withFoo:foo bar:bar];
I ran into this indentation style when modifying some source that someone else had written. The author told me he had emacs setup to indent it like that. I've since forgotten who that author was. I've been using Emacs for ages and have a grasp on Lisp, yet the Emacs documentation still causes me to have nightmares after I read it.

Thanks
     
Mac Enthusiast
Join Date: Jul 2002
Location: Leiden, Netherlands
Status: Offline
Reply With Quote
Feb 8, 2003, 04:43 AM
 
Originally posted by int69h:
I've been using Emacs for ages and have a grasp on Lisp, yet the Emacs documentation still causes me to have nightmares after I read it.

Thanks
You should check out this exellent book on writting extensions on Gnu-Emacs. Another great Emacs book is this from oreillyone
     
int69h  (op)
Dedicated MacNNer
Join Date: Nov 2000
Status: Offline
Reply With Quote
Feb 8, 2003, 07:25 AM
 
Thanks for the links. The first one, Writing GNU Emacs Extensions, looked promising but it doesn't cover ccmode. I read the second one, Learning GNU Emacs, several years ago. I think I'll go check it out from the library.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:46 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2