[net.emacs] c-mode with gnuemacs

rusty@sdcarl.UUCP (rusty c. wright) (06/29/85)

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