wags@cimage.com (Bill Wagner) (10/11/90)
I have a question regarding emacs: How do I get it to fill blank spaces with TAB characters, rather than space characters. I do not want to lose the TABbing features of the C mode, but a different key mapping may be useful. Please respond via mail. -- Bill Wagner USPS net: Cimage Corporation Internet: wags@cimage.com 3885 Research Park Dr. AT&Tnet: (313)-761-6523 Ann Arbor MI 48108 FaxNet: (313)-761-6551
toad@CS.CMU.EDU (Todd Kaufmann) (10/13/90)
[Oops, I had a reading problem the first time and posted the opposite thing.] I have a question regarding emacs: How do I get it to fill blank spaces with TAB characters, rather than space characters. I do not want to lose the TABbing features of the C mode, but a different key mapping may be useful. Not a key mapping, just C-h v indent-tabs-mode: ======================= indent-tabs-mode's value is t Documentation: *Indentation can insert tabs if this is non-nil. Setting this variable automatically makes it local to the current buffer. So put (setq indent-tabs-mode t) in your .emacs if you like. If you want it only in c-mode, for example: (setq c-mode-hook '(lambda ()(setq indent-tabs-mode t))) and any other -mode-hooks, as appropriate. -todd