diff options
author | K. Richard Pixley <rich@cygnus> | 1992-02-13 09:56:04 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1992-02-13 09:56:04 +0000 |
commit | 5c640b08ee891ae255824a23713782cd9899d77e (patch) | |
tree | 961909abb180be1a722d40d6e727a9b57c442d17 | |
parent | 01170860041245c8e85443a2ad50b17c67c2c1a7 (diff) | |
download | gdb-5c640b08ee891ae255824a23713782cd9899d77e.zip gdb-5c640b08ee891ae255824a23713782cd9899d77e.tar.gz gdb-5c640b08ee891ae255824a23713782cd9899d77e.tar.bz2 |
fluff
-rw-r--r-- | gas/README-quirks | 11 | ||||
-rw-r--r-- | gas/config/vms/README | 4 | ||||
-rw-r--r-- | gas/gas-format.el | 79 |
3 files changed, 94 insertions, 0 deletions
diff --git a/gas/README-quirks b/gas/README-quirks new file mode 100644 index 0000000..137621d --- /dev/null +++ b/gas/README-quirks @@ -0,0 +1,11 @@ +* rcsid's should be conspicuously absent until someone explains to me + how to use them constructively without affecting diffs from remote + sites. If you can, then I will become an active supporter of + rcsid's. + +* "diff -u" patches preferred. "diff -c" patches accepted. All other + patches will be returned. + +* all files have been formatted with indent-region based on + gas-format.el. Please adhere to to it. Indent profiles that closely + coincide will be gleefully accepted. diff --git a/gas/config/vms/README b/gas/config/vms/README new file mode 100644 index 0000000..2d7606f --- /dev/null +++ b/gas/config/vms/README @@ -0,0 +1,4 @@ +this directory is suffering from severe bitrot and apathy. If you are +interested, please check in with rich@cygnus.com before hacking. + +xoxorich. diff --git a/gas/gas-format.el b/gas/gas-format.el new file mode 100644 index 0000000..32c6426 --- /dev/null +++ b/gas/gas-format.el @@ -0,0 +1,79 @@ +;; -*- lisp-interaction -*- +;; -*- emacs-lisp -*- +;; +;; +;; originally from... +;; Rich's personal .emacs file. feel free to copy. +;; +;; this file sets emacs up for the type of C source code formatting used within +;; gas. I don't use gnu indent. If you do, and find a setup that approximates +;; these settings, please send it to me. +;; +;; Last Mod Thu Feb 13 00:59:16 PST 1992, by rich@sendai +;; + +;; +;; +;; This section sets constants used by c-mode for formating +;; +;; + + +;; If `c-auto-newline' is non-`nil', newlines are inserted both +;;before and after braces that you insert, and after colons and semicolons. +;;Correct C indentation is done on all the lines that are made this way. + +(setq c-auto-newline nil) + + +;; If `c-tab-always-indent' is non-`nil', the TAB command +;;in C mode does indentation only if point is at the left margin or within +;;the line's indentation. If there is non-whitespace to the left of point, +;;then TAB just inserts a tab character in the buffer. Normally, +;;this variable is `nil', and TAB always reindents the current line. + +(setq c-tab-always-indent nil) + +;; C does not have anything analogous to particular function names for which +;;special forms of indentation are desirable. However, it has a different +;;need for customization facilities: many different styles of C indentation +;;are in common use. +;; +;; There are six variables you can set to control the style that Emacs C +;;mode will use. +;; +;;`c-indent-level' +;; Indentation of C statements within surrounding block. The surrounding +;; block's indentation is the indentation of the line on which the +;; open-brace appears. + +(setq c-indent-level 8) + +;;`c-continued-statement-offset' +;; Extra indentation given to a substatement, such as the then-clause of +;; an if or body of a while. + +(setq c-continued-statement-offset 4) + +;;`c-brace-offset' +;; Extra indentation for line if it starts with an open brace. + +(setq c-brace-offset 0) + +;;`c-brace-imaginary-offset' +;; An open brace following other text is treated as if it were this far +;; to the right of the start of its line. + +(setq c-brace-imaginary-offset 0) + +;;`c-argdecl-indent' +;; Indentation level of declarations of C function arguments. + +(setq c-argdecl-indent 0) + +;;`c-label-offset' +;; Extra indentation for line that is a label, or case or default. + +(setq c-label-offset -8) + +;; end of gas-format.el |