Greg Ercolano schrieb: > The reason not to redefine tabs are that tabs are 8 in every > conceivable context except editors where they are changed.
there is no need to redefine tabs as they are not needed to replace spaces! > So no other medium will show those files correctly unless > their tabstops are all changed too. thats wrong! all files are rendered correct independent from actual tab display width > This means printing with lpr/print, diffing tools like xdiff, > email readers, web pages, tty and DOS terminals using 'more' > or grep, and any other possible code viewing context > would all have to have their tabstops changed for the indents > to be viewed properly. no! > In many of these contexts (eg. web browsers and email readers, > DOS windows) changing tabstops is not possible. why shold it. dont change tabstops! (if you like you can change "tab display width" in your editor, to have a horizontal more condensed layout, but thats a different topic) A Makefile does NOT care for individual "tab display widths" !! > The tabstops being 8 was all decided years ago, and has been > in the coding standards since; it's served us well I think, > and I see no reason to change it. yup > Most editors can get the tab key to do any indent widths you > want without having to redefine tab stops; the tab key can be > programmed by the editor to generate the appropriate number of > spaces to achieve the indent width desired without redefining > tabs. So I think you can get the behavior you want while typing > without redefining tabstops. thats either abuse of tabs to generate spaces or mixing of tabs and spaces, which is worst that could be done, because then you are really dependent on tab width! > There is a tendency to think tab stops can be used in such > a way where each tab represents a single level of indent, correct > thereby allowing it to be viewed in different levels of indent > just by redefining the tabstops, but as nice as that may be > to have, it means indenting with spaces would have to be outlawed, > since spaces could then never match up with tabs, and that seems > out of the question. why ? > I'm -1e9 on redefining tabstops, or changing the coding standards. haha Greetings, Gombok _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
