diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-01-12 18:01:31 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-01-12 18:01:31 +0000 |
commit | d23c710711b89a9596f9fa1de185528a89f2a3f7 (patch) | |
tree | 2ec6154391af468aea0a36d49ba54fed9a1a5a98 /doc/MaintGuide/Appendices.tex | |
parent | 4aff8d3bcf540204c642ed0d8b6015b9c0e3a9d8 (diff) |
Start of the maintainers guide.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1243 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/MaintGuide/Appendices.tex')
-rw-r--r-- | doc/MaintGuide/Appendices.tex | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/MaintGuide/Appendices.tex b/doc/MaintGuide/Appendices.tex new file mode 100644 index 00000000..c354e7a8 --- /dev/null +++ b/doc/MaintGuide/Appendices.tex @@ -0,0 +1,37 @@ +% /*@@ +% @file Appendices.tex +% @date Wed Jan 12 14:38:29 2000 +% @author Tom Goodale +% @desc +% +% @enddesc +% @version $Header$ +% @@*/ + +\begin{cactuspart}{9}{Appendices}{$RCSfile$}{$Revision$} +\renewcommand{\thepage}{\Alph{part}\arabic{page}} + +\chapter{XEmacs customisation} + +Here's the relevent section from my .emacs file for the coding guidelines + +\begin{verbatim} +(require 'grdoc) + +; C-mode customisation + +(defun my-c-mode-common-hook () + ;; my customizations for all of c-mode, c++-mode, objc-mode, java-mode + (c-set-offset 'substatement-open 0) + (c-set-offset 'case-label '+) + ;; other customizations can go here + (turn-on-grdoc-mode) + (font-lock-mode) + (setq indent-tabs-mode nil) + ) +(add-hook 'c-mode-common-hook 'my-c-mode-common-hook) +\end{verbatim} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\end{cactuspart} |