Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcarl.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!ittvax!dcdwest!sdcsvax!sdcc3!sdcarl!rusty From: rusty@sdcarl.UUCP (rusty c. wright) Newsgroups: net.emacs Subject: c-mode with gnuemacs (again) Message-ID: <217@sdcarl.UUCP> Date: Fri, 28-Jun-85 23:48:53 EDT Article-I.D.: sdcarl.217 Posted: Fri Jun 28 23:48:53 1985 Date-Received: Sun, 30-Jun-85 03:09:24 EDT Reply-To: rusty@sdcarl.UUCP (Rusty Wright) Organization: Computer Audio Research Lab, UCSD, San Diego, Calif. Lines: 36 i currently have in my .emacs file (setq find-file-hook 'fundamental-mode) because (1) when i start up emacs with no file name i don't like the *scratch* buffer being in lisp mode (god only knows why it should be in lisp mode instead of fundamental mode), and (2) even though several people helped me out with being able to use tabs even when when dot isn't at the beginning of the line i still find c mode brain-damaged. my .emacs file also has (defconst c-argdecl-indent 8) (defconst c-indent-level 8) (defconst c-label-offset 0) and so i then expected emacs to be reasonable and convenient so i tried c mode again, but no dice. the next "feature" that i bumped into is that the c-indent-level doesn't seem to work right. i format my code thusly: if (expression) statement; but when i type the first tab for the "statement;" dot moves to the wrong place and emacs forces me to format my code thusly: if (expression) statement; and when i do M-x list-options it shows c-indent-level at 8 so i see no reason for the above behavior. what a crock! -- rusty c. wright {ucbvax,ihnp4,akgua,hplabs,sdcsvax}!sdcarl!rusty