From: Jim Weirich Date: 2002-01-22T07:43:38+09:00 Subject: Re: Ruby Emacs-mode with Emacs 21.1.1 >>>>> "Bill" == Bill Tj writes: Bill> By the way, in the C or C++ mode, hitting TAB at the Bill> beginning of the line causes Emacs to auto indent while Bill> hitting TAB in the middle of the line inserts regular tab. Bill> However, in Ruby mode, hitting TAB in the middle of the line Bill> causes Emacs to auto indent and I cannot insert a regular Bill> TAB. Is there any way to make TAB behavior in Ruby the same Bill> as in C/C++? Thanks. Hmmm ... my C++ mode in emacs does autoindent nomatter where you are on the line, just like the Ruby mode. At any rate, to insert a hard tab character, press C-Q TAB (control-Q and then a tab). This should work in almost any mode. -- -- Jim Weirich jweirich@one.net http://w3.one.net/~jweirich --------------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)