On Wednesday 08 January 2003 10:58 am, José Matos wrote: > On Wednesday 08 January 2003 10:32, Andre Poenitz wrote: > > So I'd rather have that in 'LyX style' with which emacs users _and_ I > > seem to be happy. Moreover, it would make the whole of LyX more > > consistent. > > Lars, any clue how to force emacs to do this?
You need the equivalent of this in your .emacs file: ;; C++ mode hook (defun my-c++-mode-hook () ;; Style parameters (setq c-basic-offset 8) ) (add-hook 'c++-mode-hook 'my-c++-mode-hook) I guess that you should replace the 'c' and 'c++' in the above with 'python' and you're there. I can't test here because my emacs knows no python. Like me really ;-) -- Angus