Tom Jackson writes:

I'm trying to configure Xemacs to use spaces instead of tabs when auto
indenting source files. The advice given in
http://aolserver.com/docs/devel/tech/standards.html#overall was to add
the following lisp code to my .emacs file:

(add-hook 'c-mode-hook
       (function (lambda ()
               (setq c-basic-offset 4)
               (setq c-indent-level 4))))

I did this and restarted, but the indents still seem to be tabs.
Is there a way to do this in Xemacs, and can it work for Tcl as well?

--Tom Jackson
Try setting indent-tabs-mode to nil. That works for me in emacs and
for c. I haven't tried it with tcl.

Do you know the difference between xemacs and emacs these days? If so
please tell. So different and so close. The documentation of both
wrt to tabs was identical. Confusing.

Jerry

Reply via email to