[SLUG] Re: EMACS: auto indent customisations not loading

2002-04-07 Thread Angus Lees
At 07 Apr 2002 14:19:50 +1000, Simon Wong wrote: > I am having trouble with the auto indent settings for the C major mode > (c-basic-offset). > I want this to be 4 which is the standard setting. At one point I had > changed it to 2 but I can't change it back. > C Basic Offset: [Hide] 2 >[Sta

[SLUG] Re: EMACS: auto indent customisations not loading

2002-04-08 Thread Angus Lees
At 08 Apr 2002 12:52:37 +1000, Simon Wong wrote: > On Sun, 2002-04-07 at 15:34, Angus Lees wrote: > > i'm guessing you are also setting it somewhere else, and that setting > > is overriding the customize option. > > Not intentionally! > > I couldn't find anything in the site wide /etc files that

Re: [SLUG] Re: EMACS: auto indent customisations not loading

2002-04-07 Thread Simon Wong
On Sun, 2002-04-07 at 15:34, Angus Lees wrote: > i'm guessing you are also setting it somewhere else, and that setting > is overriding the customize option. Not intentionally! I couldn't find anything in the site wide /etc files that set this i.e. in /etc/emacs/* or /etc/emacs20/*. Would there

Re: [SLUG] Re: EMACS: auto indent customisations not loading

2002-04-08 Thread Simon Wong
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, jus

Re: [SLUG] Re: EMACS: auto indent customisations not loading

2002-04-09 Thread Simon Wong
On Tue, 2002-04-09 at 12:21, Simon Wong wrote: > When I set it in my .emacs it shows 4 on startup but changes to 2 as > soon as the major mode is loaded. Not sure if anyone was actually interested in what was happening here, however, it's now fixed so I thought I'd send in the solution. To ensur