]> https://gitweb.dealii.org/ - dealii.git/commitdiff
update to what is in .emacs of wolfgang.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 28 Apr 2006 06:30:34 +0000 (06:30 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 28 Apr 2006 06:30:34 +0000 (06:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@12931 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/scripts/dealmacros.el

index 88cd885806f1d86e24d23902d3443a1d186277d9..574185692a24a2d677204be4ab2fea7f1dceff9c 100644 (file)
@@ -14,6 +14,7 @@ unnecessary diffs in the archives.
 
 The function is intended as a part of the cc-mode-startup-fun hook."
 
+  (setq c-echo-semantic-information-p t)
   (setq c-basic-offset 2)
   (c-set-offset 'string                0)
   (c-set-offset 'defun-open            0)
@@ -39,8 +40,8 @@ The function is intended as a part of the cc-mode-startup-fun hook."
   (c-set-offset 'statement             'c-lineup-runin-statements)
   (c-set-offset 'statement-cont        'c-lineup-math)
   (c-set-offset 'statement-block-intro '+)
-  (c-set-offset 'statement-case-intro  '+)
-  (c-set-offset 'statement-case-open   '-)
+  (c-set-offset 'statement-case-intro  6)
+  (c-set-offset 'statement-case-open   0)
   (c-set-offset 'substatement          '+)
   (c-set-offset 'substatement-open     '+)
   (c-set-offset 'case-label            '+)
@@ -65,6 +66,10 @@ The function is intended as a part of the cc-mode-startup-fun hook."
   (c-set-offset 'objc-method-call-cont 'c-lineup-ObjC-method-call)
        
   (setq c-comment-only-line-offset 33)
+  (setq c-hanging-comment-ender-p   nil)
+  (setq c-hanging-comment-starter-p nil)
+
+  (setq c-tab-always-indent t)
 )
 
 (defun deal-newline ()
@@ -89,6 +94,7 @@ and after semicolon or braces, like it is done in the deal.II coding style."
                         defun-close-semi
                         list-close-comma
                         scope-operator))
+  (setq c-default-macroize-column 65)
 )
 
 (provide 'dealmacros)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.