Home|News blank.gif
When Design Matters CoreLinux++ CoreLinux Consortium
blank.gif
CoreLinux++
blank.gif
Goals
blank.gif
Developer's Corner
blank.gif
Contacts

Adds!

Here is an configuration for xemacs/emacs using the cc-mode !

(defun corelinux-c++-mode-hook ()
  ;; use Ellemtel style for all C++ like languages
  (c-set-style "ellemtel")
  ;; Comments must be at the same indentation level as the block they describe

  (c-set-offset 'comment-intro '0)
  ;; One level more of indentation for left parentesis of function parameters
  (c-set-offset 'topmost-intro-cont '+)
  ;; Right parenthesis at same level of the left one
  (c-set-offset 'arglist-close '0)
  (setq tab-width 3
 ;; this will make sure spaces are used instead of tabs
 indent-tabs-mode nil)
  )

;; Affect only c++ files
(add-hook 'c++-mode-hook 'corelinux-c++-mode-hook)

get it here
Copyright © 1999, 2000 by CoreLinux Consortium
This material may be distributed only subject to the terms and conditions set forth in the Open Publication License
Contacts
- contact the webmaster
News
Powered / Hosted by

SourceForge.net
Contributor
NoMagic, inc.
thanks Gary!
Cool OO Sites
cetus
corba
omg
patterns
  Made with xemacs / php Comments to webmaster blank.gif