>Попробовал сделать нижеприведённое. Не помогло.
>
>(defun config-tcl-mode ()
> (setq-default tabs-indent-mode nil)
> (setq tabs-indent-mode nil))
>(add-hook 'tcl-mode-hook 'config-tcl-mode) У меня вот такое, например, работает (emacs 22.3):
(defun my-underscore ()
(modify-syntax-entry ?\_ "w")
)
(add-hook 'c-mode-hook 'my-underscore)
Значит надо смотреть tabs-ident-mode.
Не поленился :-) залез в инфо.
29.3 Tabs vs. Spaces
====================
Emacs normally uses both tabs and spaces to indent lines. If you
prefer, all indentation can be made from spaces only. To request this,
set `indent-tabs-mode' to `nil'. This is a per-buffer variable, so
altering the variable affects only the current buffer, but there is a
default value which you can change as well. *Note Locals::.
проверяйте :-)