From: Steve W. <sw...@pa...> - 2001-09-17 17:22:34
|
On Mon, 17 Sep 2001, Jeff Dairiki wrote: > To restate and (hopefully) clarify once again: > > My only beef is with tab-width=4. Setting indent-tabs-mode to nil is, > I think, a fine way to go. But even with that setting, it's almost > inevitable that some real tabs will make their way into the source code. > (The PEAR source code demonstrates this quite well.) I just think those > tabs that do make it into the source code should always be rendered as > eight-space tabs, rather than funky four-space tabs. Aha! OK, now I see what you mean. I thought you wanted to indent code with tabs, which I still have serious misgivings about. tab-width=8 is preferable, indeed, if we are using indent-tabs-mode=nil. > > Here's what I'm proposing we use: > > // Local Variables: > // mode: php > // tab-width: 8 > // c-basic-offset: 4 > // c-hanging-comment-ender-p: nil > // indent-tabs-mode: nil > // End: > > If we include the above cruft in our source code, then you (probably) > don't even need to fix your .emacs. Perfect. We are in agreement and everyone is happy. :-) ~swain --- http://www.panix.com/~swain/ "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." -- Frank Zappa http://pgp.document_type.org:11371/pks/lookup?op=get&search=0xF7323BAC |