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