RE: [jtc] tabs policy??

2001-06-25 Thread Steve Downey
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 24, 2001 7:16 AM To: [EMAIL PROTECTED] Subject: Re: [jtc] tabs policy?? On Sun, 24 Jun 2001, Justin Erenkrantz wrote: That just leads to formatting problems because people don't

RE: [jtc] tabs policy??

2001-06-24 Thread GOMEZ Henri
... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 -Original Message- From: Andy Armstrong [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 23, 2001 2:25 AM To: [EMAIL PROTECTED] Subject: Re: [jtc] tabs policy?? Here we go... ;-) I like tabs set to four spaces, tabs in source

Re: [jtc] tabs policy??

2001-06-24 Thread kevin seguin
] Subject: Re: [jtc] tabs policy?? Here we go... ;-) I like tabs set to four spaces, tabs in source rather than spaces and opening braces on a new line. How evil does that make me? Actually I was just wondering the other day how easy it would be to do smart de-tabbing on source -- i.e

Re: [jtc] tabs policy??

2001-06-24 Thread Justin Erenkrantz
On Sun, Jun 24, 2001 at 08:52:03AM -0500, kevin seguin wrote: GOMEZ Henri wrote: I'm using tab = 4 so +1 there. it's important to make the distinction between indent level and number of spaces per tab -- they are totally different. i'm for 4 space indent level, tabs set to 8 spaces

Re: [jtc] tabs policy??

2001-06-24 Thread cmanolache
On Sun, 24 Jun 2001, Justin Erenkrantz wrote: That just leads to formatting problems because people don't understand that. If you must have tabs, they should be the same as the indention level, not some factor of the indention level. This doesn't have to be complicated. One tab == one

Re: [jtc] tabs policy??

2001-06-24 Thread kevin seguin
It just mean that stupid programmers decided it's easier to add a panel that changes the number of spaces equivalent with TAB instead of implementing code that uses spaces for indentations 8, and replaces 8 spaces with a tab symbol. so, the programmers who wrote emacs are *not* stupid,

Re: [jtc] tabs policy??

2001-06-24 Thread Paul Speed
[EMAIL PROTECTED] wrote: On Sun, 24 Jun 2001, Justin Erenkrantz wrote: That just leads to formatting problems because people don't understand that. If you must have tabs, they should be the same as the indention level, not some factor of the indention level. This doesn't have to be

[jtc] tabs policy??

2001-06-22 Thread kevin seguin
so, is there a tabs policy in jakarta? like the number of spaces per tab (4 vs. 8), of no tabs in source code? i ask because i just got the latest jtc source, and when i open up some of the files in emacs (in which i have tab width set to 8 spaces), some lines are indented 4 spaces, and some 8.

Re: [jtc] tabs policy??

2001-06-22 Thread Andy Armstrong
Here we go... ;-) I like tabs set to four spaces, tabs in source rather than spaces and opening braces on a new line. How evil does that make me? Actually I was just wondering the other day how easy it would be to do smart de-tabbing on source -- i.e. how easily can you infer the original tab

Re: [jtc] tabs policy??

2001-06-22 Thread Justin Erenkrantz
On Fri, Jun 22, 2001 at 07:17:37PM -0500, kevin seguin wrote: so, is there a tabs policy in jakarta? like the number of spaces per tab (4 vs. 8), of no tabs in source code? i ask because i just got the latest jtc source, and when i open up some of the files in emacs (in which i have tab

Re: [jtc] tabs policy??

2001-06-22 Thread kevin seguin
well, i prefer 8-space tabs, tabs in source code iif everybody uses the same number of spaces per tab. and, that'll never happen. for the most part, i don't much care, so long as everybody is consistent. and, that'll likely never happen either :) Andy Armstrong wrote: Here we go... ;-)

RE: [jtc] tabs policy??

2001-06-22 Thread Tomas Rokicki
(the indentation), you probably have your editor misconfigured. -Original Message- From: Justin Erenkrantz [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 5:25 PM To: [EMAIL PROTECTED] Subject: Re: [jtc] tabs policy?? On Fri, Jun 22, 2001 at 07:17:37PM -0500, kevin seguin wrote: so

Re: [jtc] tabs policy??

2001-06-22 Thread kevin seguin
No, it says indentation of 4, and it also says that tabs are equivalent to 8 spaces. This is precise and sufficient and will work with any virtually any editor [assuming people know how to use their editor]. Hint: if your editor displays a single hard-tab (^I in the file) as four spaces

Re: [jtc] tabs policy??

2001-06-22 Thread Craig R. McClanahan
On Sat, 23 Jun 2001, Andy Armstrong wrote: Here we go... ;-) I like tabs set to four spaces, tabs in source rather than spaces and opening braces on a new line. How evil does that make me? The conventions we follow are documented on the Jakarta web site:

Re: [jtc] tabs policy??

2001-06-22 Thread cmanolache
On Sat, 23 Jun 2001, Andy Armstrong wrote: Here we go... ;-) I like tabs set to four spaces, tabs in source rather than spaces and opening braces on a new line. How evil does that make me? Not necesarily evil, I also like the week with 3 days ( 1 for work, 2 for weekend ), tabs in source,

Re: [jtc] tabs policy??

2001-06-22 Thread cmanolache
On Fri, 22 Jun 2001, Craig R. McClanahan wrote: * There are existing Tomcat committers who adamantly swear by using tab characters (who will speak up if they feel like it :-) despite the community's repeatedly expressed convention for spaces. I'm one :-) I'm not sure about

Re: [jtc] tabs policy??

2001-06-22 Thread Pier P. Fumagalli
Craig R. McClanahan at [EMAIL PROTECTED] wrote: So, to answer your questions, tabs set at four spaces and tabs in the source violates two of the common conventions. For whoever wants it, I have a lil' C script that checks that, and does the trick (since my MacOS/X editor is kinda f***ed