From: YANAGAWA Kazuhisa Date: 2004-02-24T21:40:22+09:00 Subject: Re: Appropriate use of camelCase (Tabbing in emacs) In Message-Id: <20040224111638.GA23593@freeze.org> Jim Freeze writes: > Speaking of tabs, I have a colleague that uses emacs. Using > ruby-mode.el, 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))) Or just (setq-default indent-tabs-mode nil) for any language modes. -- kjana@dm4lab.to February 24, 2004 Every body's business is nobody's business.