Hi, At Tue, 24 Feb 2004 21:40:22 +0900, YANAGAWA Kazuhisa wrote in [ruby-talk:93555]: > > Speaking of tabs, I have a colleague that uses emacs. Using > > ruby-mode.el, <tabbing> indents two spaces, unless he tabs > > 4 times. Then the 8 spaces are converted to a hard tab. > > > > Is there a way to prevent this from happening? Particularly, is > > there a way for ruby-mode.el to do this so he does not have to > > permanently change his tab setting in emacs. > > Add the following to your colleague's .emacs: > > (add-hook 'ruby-mode-hook > #'(lambda () (setq indent-tabs-mode nil))) Since 2003/02/17, ruby-indent-tabs-mode is used for that purpose, and defaulted to nil. -- Nobu Nakada