On Mon, 2002-04-08 at 22:30, Angus Lees wrote: > you can probably brute force it with something like: > > (add-hook 'c-mode-hook (lambda () (setq 'c-basic-offset 4)))
This didn't seem to work. I got an error which I will look into. > > i'd suggest running emacs with "-no-init-file" first, just to prove > that its something in your .emacs (for our peace of mind ;) I tried this and it shows the default setting for 4 spaces but as soon as I use a .c file, the offset is changed to 2 when the major mode is loaded :-( When I set it in my .emacs it shows 4 on startup but changes to 2 as soon as the major mode is loaded. All my other settings, lpr etc seem to be retained. I've read through the devhelp book on EMacs which is very good but didn't discuss a major mode overpowering my .emacs This is crazy :-( Any other thoughts? -- ************************* * Simon Wong * * * * <[EMAIL PROTECTED]> * * * *************************
signature.asc
Description: This is a digitally signed message part
