1 ;; Configuration file for cc-ide.el (Emacs C++ IDE extension, see http://g0dil.de)
5 (c-cleanup-list . (empty-defun-braces
9 compact-empty-funcall))
10 (c-hanging-braces-alist . ((namespace-open after)
11 (namespace-close before after)
14 (substatement-open after)
15 (block-close . c-snug-do-while)
16 (extern-lang-open after)
17 (inexpr-class-open after)
18 (inexpr-class-close before)))
19 (c-offsets-alist . ((namespace-open . 0)
22 (statement-block-intro . +)
23 (substatement-open . 0)
25 (statement-cont . +))) ))
27 (c-add-style "senf" senf-c-style)
29 (set (make-local-variable 'ccide-file-vars)
30 '(( fill-column . 100 )
31 ( c-file-style . "senf" )
32 ( indent-tabs-mode . nil )
33 ( ispell-local-dictionary . "american" )))
35 (set (make-local-variable 'ccide-default-copyright)
37 "// This program is free software; you can redistribute it and/or modify\n"
38 "// it under the terms of the GNU General Public License as published by\n"
39 "// the Free Software Foundation; either version 2 of the License, or\n"
40 "// (at your option) any later version.\n"
42 "// This program is distributed in the hope that it will be useful,\n"
43 "// but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
44 "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
45 "// GNU General Public License for more details.\n"
47 "// You should have received a copy of the GNU General Public License\n"
48 "// along with this program; if not, write to the\n"
49 "// Free Software Foundation, Inc.,\n"
50 "// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"))
52 (let ((local-conf (ccide-project-search-upwards "project-local.el")))
54 (load-file local-conf)))