On Thu, Feb 06, 2003 at 02:28:43PM -0800, Yves Lempereur wrote: > > Please don't take this the wrong way, but I've stopped using emacs > nearly 20 years ago, I've been using modern IDE's ever since (yes, I've > been a programmer for a long long time, and I still use vi for some > tasks). The file SaferFilter merely uses real tabs to indent the lines,
Heh, ~ 8 years ago I used MSVC 1.0. I upgraded to XEmacs and don't look back. But I'm sure there are people on the project who use KDevelop and more obscure things. > which all the IDE's I've seen and used in the last 20 years have always > expanded to 4 spaces, by default. Now, if XEmacs expands tabs to 8 > spaces, that's a pretty sad state of things (the ONLY language that it > is useful for is Assembly Language, and we know how many people still > write it). > > One other option is to indent using spaces instead of tabs, that way > everyone sees the same thing. I've always avoided it because it makes > the files enormous. In fact, I give shit to my programmers when they do > it (I'm a CTO, lead programmer and I manage a team of programmers). Hmm. > > The last possibility (but hardly an option), is to combine tabs and > space. The positions being encoded as follows: none, 4 spaces, 1 tab, 1 > tab + 4 spaces, 2 tabs, 2 tabs + 4 spaces, 3 tabs, etc... (is that what > you've been doing?). I've always considered this an insane thing to do. This is what (x)emacs seems to do by default. Most code is all-spaces, but a lot of it is spaces and tabs like this. > > If XEmacs has a pref for how many spaces it expands tabs into, simply > flip it to 4, and the world can go on. Otherwise, tell me what you > want me to do and I'll be glad to comply (as seven would say). Well, does anyone know how to set the number of spaces in a tab on the first line of a file for emacsen? > > Most respectfully, > > Yves > -- Matthew Toseland [EMAIL PROTECTED][EMAIL PROTECTED] Full time freenet hacker. http://freenetproject.org/ Freenet Distribution Node (temporary) at http://amphibian.dyndns.org:8889/3arPAuj7w-c/ ICTHUS.
msg06607/pgp00000.pgp
Description: PGP signature
