Hi, Instead of just giving a short answer here is how one would figure it out for himself:
type 'M-x apropos' and enter tab a whole list of things related to tab will show up, you want to change the default value of 'tab space' show search for default. you will find the variable default-tab-width If I understood you correctly this is what you want to set. Controlling whether you want to use tabs or spaces requires a diffrent aproach, using the above method would let you find the commands tabify, untabify which are related but not quite. We may want to ask ourselves what happens when we press the tab button so we will perform a describe key usually bound to 'C-hk' and then hit TAB this will tell us (assuming you in C-mode) that tuns c-indent-command and scrolling down the description will point you to the costomizeable variable 'indent-tabs-mode' which is what you were looking for. Meir. On Mon, 19 Apr 2004, Gustavo Halperin wrote: > > Can any one tell me please how I change the default value of 'tab space' when > I write 'c++' files on Emacs or XEmacs. > At the moment is two. I also need that this tab spaces will be saved like common > spaces. > > All this because there are other people that open my c++ files with Visual C++, > windows again do it problems. > > Any way thank you > > Gustavo Halperin > Amdocs R&D Division > * +972 97 761 442 > * +972 97 761 501 > * <mailto:[EMAIL PROTECTED]> > > > -------------------------------------------------------------------------- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]
