You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(19) |
Jul
(96) |
Aug
(144) |
Sep
(222) |
Oct
(496) |
Nov
(171) |
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(4) |
Feb
(4) |
Mar
(9) |
Apr
(4) |
May
(12) |
Jun
(6) |
Jul
|
Aug
|
Sep
(1) |
Oct
(2) |
Nov
|
Dec
|
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(52) |
Aug
(47) |
Sep
(47) |
Oct
(95) |
Nov
(56) |
Dec
(34) |
2003 |
Jan
(99) |
Feb
(116) |
Mar
(125) |
Apr
(99) |
May
(123) |
Jun
(69) |
Jul
(110) |
Aug
(130) |
Sep
(289) |
Oct
(211) |
Nov
(98) |
Dec
(140) |
2004 |
Jan
(85) |
Feb
(87) |
Mar
(342) |
Apr
(125) |
May
(101) |
Jun
(60) |
Jul
(151) |
Aug
(118) |
Sep
(162) |
Oct
(117) |
Nov
(125) |
Dec
(95) |
2005 |
Jan
(141) |
Feb
(54) |
Mar
(79) |
Apr
(83) |
May
(74) |
Jun
(125) |
Jul
(63) |
Aug
(89) |
Sep
(130) |
Oct
(89) |
Nov
(34) |
Dec
(39) |
2006 |
Jan
(98) |
Feb
(62) |
Mar
(56) |
Apr
(94) |
May
(169) |
Jun
(41) |
Jul
(34) |
Aug
(35) |
Sep
(132) |
Oct
(722) |
Nov
(381) |
Dec
(36) |
2007 |
Jan
(34) |
Feb
(174) |
Mar
(15) |
Apr
(35) |
May
(74) |
Jun
(15) |
Jul
(8) |
Aug
(18) |
Sep
(39) |
Oct
(125) |
Nov
(89) |
Dec
(129) |
2008 |
Jan
(176) |
Feb
(91) |
Mar
(69) |
Apr
(178) |
May
(310) |
Jun
(434) |
Jul
(171) |
Aug
(73) |
Sep
(187) |
Oct
(132) |
Nov
(259) |
Dec
(292) |
2009 |
Jan
(27) |
Feb
(54) |
Mar
(35) |
Apr
(54) |
May
(93) |
Jun
(10) |
Jul
(36) |
Aug
(36) |
Sep
(93) |
Oct
(52) |
Nov
(45) |
Dec
(74) |
2010 |
Jan
(20) |
Feb
(120) |
Mar
(165) |
Apr
(101) |
May
(56) |
Jun
(12) |
Jul
(73) |
Aug
(306) |
Sep
(154) |
Oct
(82) |
Nov
(63) |
Dec
(42) |
2011 |
Jan
(176) |
Feb
(86) |
Mar
(199) |
Apr
(86) |
May
(237) |
Jun
(50) |
Jul
(26) |
Aug
(56) |
Sep
(42) |
Oct
(62) |
Nov
(62) |
Dec
(52) |
2012 |
Jan
(35) |
Feb
(33) |
Mar
(128) |
Apr
(152) |
May
(133) |
Jun
(21) |
Jul
(74) |
Aug
(423) |
Sep
(165) |
Oct
(129) |
Nov
(387) |
Dec
(276) |
2013 |
Jan
(105) |
Feb
(30) |
Mar
(130) |
Apr
(42) |
May
(60) |
Jun
(79) |
Jul
(101) |
Aug
(46) |
Sep
(81) |
Oct
(14) |
Nov
(43) |
Dec
(4) |
2014 |
Jan
(25) |
Feb
(32) |
Mar
(30) |
Apr
(80) |
May
(42) |
Jun
(23) |
Jul
(68) |
Aug
(127) |
Sep
(112) |
Oct
(72) |
Nov
(29) |
Dec
(69) |
2015 |
Jan
(35) |
Feb
(49) |
Mar
(95) |
Apr
(10) |
May
(70) |
Jun
(64) |
Jul
(93) |
Aug
(85) |
Sep
(43) |
Oct
(38) |
Nov
(124) |
Dec
(29) |
2016 |
Jan
(253) |
Feb
(181) |
Mar
(132) |
Apr
(419) |
May
(68) |
Jun
(90) |
Jul
(52) |
Aug
(142) |
Sep
(131) |
Oct
(80) |
Nov
(84) |
Dec
(192) |
2017 |
Jan
(329) |
Feb
(842) |
Mar
(248) |
Apr
(85) |
May
(247) |
Jun
(186) |
Jul
(37) |
Aug
(73) |
Sep
(98) |
Oct
(108) |
Nov
(143) |
Dec
(143) |
2018 |
Jan
(155) |
Feb
(139) |
Mar
(72) |
Apr
(112) |
May
(82) |
Jun
(119) |
Jul
(24) |
Aug
(33) |
Sep
(179) |
Oct
(295) |
Nov
(111) |
Dec
(34) |
2019 |
Jan
(20) |
Feb
(29) |
Mar
(49) |
Apr
(89) |
May
(185) |
Jun
(131) |
Jul
(9) |
Aug
(59) |
Sep
(30) |
Oct
(44) |
Nov
(118) |
Dec
(53) |
2020 |
Jan
(70) |
Feb
(108) |
Mar
(50) |
Apr
(9) |
May
(70) |
Jun
(24) |
Jul
(103) |
Aug
(82) |
Sep
(132) |
Oct
(119) |
Nov
(174) |
Dec
(169) |
2021 |
Jan
(75) |
Feb
(51) |
Mar
(76) |
Apr
(73) |
May
(53) |
Jun
(120) |
Jul
(114) |
Aug
(73) |
Sep
(70) |
Oct
(18) |
Nov
(26) |
Dec
|
2022 |
Jan
(26) |
Feb
(63) |
Mar
(64) |
Apr
(64) |
May
(48) |
Jun
(74) |
Jul
(129) |
Aug
(106) |
Sep
(238) |
Oct
(169) |
Nov
(149) |
Dec
(111) |
2023 |
Jan
(110) |
Feb
(47) |
Mar
(82) |
Apr
(106) |
May
(168) |
Jun
(101) |
Jul
(155) |
Aug
(35) |
Sep
(51) |
Oct
(55) |
Nov
(134) |
Dec
(202) |
2024 |
Jan
(103) |
Feb
(129) |
Mar
(154) |
Apr
(89) |
May
(60) |
Jun
(162) |
Jul
(201) |
Aug
(61) |
Sep
(167) |
Oct
(111) |
Nov
(133) |
Dec
(141) |
2025 |
Jan
(122) |
Feb
(88) |
Mar
(106) |
Apr
(113) |
May
(203) |
Jun
(185) |
Jul
(124) |
Aug
(202) |
Sep
(176) |
Oct
(31) |
Nov
|
Dec
|
From: Donal K. F. <don...@ma...> - 2009-09-03 15:06:02
|
Alexandre Ferrieux wrote: > Just to clarify: are you talking about putting the brakes on: > - the proposed patch in TIP # 355 (chan name reform) This one, yes. > - the proposed patch in 2827015 (code fix in TclpCreateProcess > dup()'s for corner cases) No opinion on that one at this time. Donal. |
From: Alexandre F. <ale...@gm...> - 2009-09-03 14:37:35
|
On 9/3/09, Donal K. Fellows <don...@ma...> wrote: > > If we're going to have a semblance of a chance of getting Tcl 8.6 out > this month (for Tcl2009) then the chances of a change with non-error > incompatibilities in are pretty slim. Given that the driver for this > whole matter found a workaround and it's only ever an issue when dealing > with buggy code anyway, I'm tempted to leave alone this close to a release. Just to clarify: are you talking about putting the brakes on: - the proposed patch in TIP # 355 (chan name reform) - the proposed patch in 2827015 (code fix in TclpCreateProcess dup()'s for corner cases) - both ? -Alex |
From: Donal K. F. <don...@ma...> - 2009-09-03 14:25:21
|
Lars Hellström wrote: > Not sure how much further just the two of us can get on this. (But then > again, neither of us is the bug assignee. ;-) ) I was sort-of hoping to > invoke some interest from one of the big guys. Particularly, since > there would be a script-level-visible change of behaviour, it would be > preferable to have "incompatibilities" (if that is how they would be > viewed) happen at a minor version increment... You've been got by the Schedule Monster. :-) If we're going to have a semblance of a chance of getting Tcl 8.6 out this month (for Tcl2009) then the chances of a change with non-error incompatibilities in are pretty slim. Given that the driver for this whole matter found a workaround and it's only ever an issue when dealing with buggy code anyway, I'm tempted to leave alone this close to a release. I'm more concerned that there are inconsistencies in the channel name system. That's actually a bug in Tcl. If we slip the deadline of the Conference, then we can revisit this issue. I just don't like mad dashes to get features in before a stable release. (My TIP currently in voting is actually just a ratification of changes already in, and none of it was a change that would break any code that was even vaguely sane...) Donal. |
From: Lars H. <Lar...@re...> - 2009-09-03 12:54:36
|
Alexandre Ferrieux skrev: > On 9/2/09, Lars Hellström <Lar...@re...> wrote: >> Since the subject of FDs 0,1,2 has come up, is anything happening with >> respect to bug#2827015 >> (http://sourceforge.net/tracker/?func=detail&aid=2827015&group_id=10894&atid=110894) >> ? >> >> I believe there is a working patch, but I'd prefer to see an >> independent confirmation of this... > > Of course I'm biased ;-) > What about the corner case I mentioned in the comment, and adding a > dup_over_three() ? Sounds right, but I'm in well over my head on this. Half the stuff I know about it, I learnt from reading the affected source file! > We might continue this discussion where we left it in the tracker > instead of tclcore though. Not sure how much further just the two of us can get on this. (But then again, neither of us is the bug assignee. ;-) ) I was sort-of hoping to invoke some interest from one of the big guys. Particularly, since there would be a script-level-visible change of behaviour, it would be preferable to have "incompatibilities" (if that is how they would be viewed) happen at a minor version increment... Lars Hellström |
From: Andreas L. <av...@lo...> - 2009-09-03 09:43:56
|
On Thu, Sep 03, 2009 at 10:33:36AM +0200, Jan Nijtmans wrote: > 2009/9/2 Andreas Leitgeb <av...@lo...>: > > With "real problem", you mean the one about the possibility of reviving > > stale file handles? > The real problem is the impossibility to diagnose the problem > when it happens. The program is still broken, but at least > the user should be told that it is broken. That's surely the noble intention. The message, though is: no need anymore to manage file handles properly. just catch { eof $handle } and if it returns a true (won't ever return other codes than 0 or 1), then just dispose of the handle. Like, as he said, the originator intended to do. > I'm not promoting that scripts start relying on errors for > stale handles, ... It wouldn't really require any promotion... |
From: Donal K. F. <don...@ma...> - 2009-09-03 09:03:21
|
Reinhard Max wrote: > whoops, I just noticed that > > close stderr > open stderr /some/file w > > results in [open] to return file2, but [file channels] still has > {stdin stdout stderr} and both, file2 and stderr can be used. > > I wonder when that was changed, because I think last time I checked > it, I got file2 even in [file channels]. Ugh, things are really rather messed up here. It's all now reported in https://sourceforge.net/support/tracker.php?aid=2849797 Donal. |
From: Jan N. <nij...@us...> - 2009-09-03 08:33:52
|
2009/9/2 Andreas Leitgeb <av...@lo...>: > With "real problem", you mean the one about the possibility of reviving > stale file handles? The real problem is the impossibility to diagnose the problem when it happens. The program is still broken, but at least the user should be told that it is broken. > Since when do we consider broken programs (and even > the author of the post that triggered all this admitted that) to be a > "real problem" for tcl that would even justify *any* incompatibility for > others? (And it does, as some scripts may currently deduce the OS file > handle from the tcl file handle - which is also broken, but not more so > than relying on errors for stale handles.) Yes, the loss of the ability to deduce the OS file handle from the tcl file handle is the potential incompatibility I was talking about. I'm not promoting that scripts start relying on errors for stale handles, but if a stale handle is revived by accident, I expect a good error message in stead of undefined behavior. But let's handle this TIP as any other TIP. Even though the TIP deadline is already closed, a majority of votes could change that, but it should be considered thourougly! Regards, Jan Nijtmans |
From: Alexandre F. <ale...@gm...> - 2009-09-02 22:33:54
|
On 9/2/09, Lars Hellström <Lar...@re...> wrote: > > > Since the subject of FDs 0,1,2 has come up, is anything happening with > respect to bug#2827015 > (http://sourceforge.net/tracker/?func=detail&aid=2827015&group_id=10894&atid=110894) > ? > > I believe there is a working patch, but I'd prefer to see an > independent confirmation of this... Of course I'm biased ;-) What about the corner case I mentioned in the comment, and adding a dup_over_three() ? We might continue this discussion where we left it in the tracker instead of tclcore though. -Alex |
From: Andreas L. <av...@lo...> - 2009-09-02 18:02:43
|
> This TIP tries to solve a real problem, and introduces a > minor potential incompatibility. With "real problem", you mean the one about the possibility of reviving stale file handles? Since when do we consider broken programs (and even the author of the post that triggered all this admitted that) to be a "real problem" for tcl that would even justify *any* incompatibility for others? (And it does, as some scripts may currently deduce the OS file handle from the tcl file handle - which is also broken, but not more so than relying on errors for stale handles.) |
From: Joe E. <jen...@fl...> - 2009-09-02 16:40:15
|
Larry W. Virden wrote: > [re: TIP #355: STOP FAST RECYCLING OF CHANNEL NAMES ON UNIX] > > This TIP proposes to replace the file descriptor in unix channel names > > by an ever-increasing, process-unique counter. > > Will there be a method that allows one to redirect stdin, stdout, > and/or stderr, (or for that matter, other specific file descriptiors) > if the user needs to do that? This TIP doesn't affect stdin/stdout/stderr redirection; no changes there, the existing functionality will continue to work. For arbitrary file descriptors you can't do that in Tcl anyway. > I know that I've written my share of ksh scripts that make use of that > functionality to be able to gather information from an applications > stdout or stderr or to feed various files into an application. It > would be unfortunate if this type of functionality were lost > altogether. --Joe English |
From: Lars H. <Lar...@re...> - 2009-09-02 16:17:57
|
Larry W. Virden skrev: > On Tue, Sep 1, 2009 at 6:21 AM, Alexandre > Ferrieux<ale...@gm...> wrote: >> TIP #355: STOP FAST RECYCLING OF CHANNEL NAMES ON UNIX >> > >> This TIP proposes to replace the file descriptor in unix channel names >> by an ever-increasing, process-unique counter. > > > Will there be a method that allows one to redirect stdin, stdout, > and/or stderr, (or for that matter, other specific file descriptiors) > if the user needs to do that? > > I know that I've written my share of ksh scripts that make use of that > functionality to be able to gather information from an applications > stdout or stderr or to feed various files into an application. It > would be unfortunate if this type of functionality were lost > altogether. Since the subject of FDs 0,1,2 has come up, is anything happening with respect to bug#2827015 (http://sourceforge.net/tracker/?func=detail&aid=2827015&group_id=10894&atid=110894) ? I believe there is a working patch, but I'd prefer to see an independent confirmation of this... Lars Hellström |
From: Alexandre F. <ale...@gm...> - 2009-09-02 15:38:49
|
On 9/2/09, Donal K. Fellows <don...@ma...> wrote: > Alexandre Ferrieux wrote: > > > Oh if you mean: > > > > close stdout > > open somefile w > > puts Hey > > > > then yes, of course it will work exactly the same, since "stdout" is a > > special alias mapping to fd 1 in all cases, *and* the allocation of > > fds remains the OS's job. The only difference is that the handle name > > returned by the [open] above will likely be "file345" rather than > > "file1", but who cares ? > > > > No, it will be "stdout". This is a "special magic" moment, and why the > [open] code will have to not assume that the name it suggested for a > channel is the name actually given to the channel. Just tested with HEAD: % close stdout puts stderr [open somefile w] file1 So I infer that with #355 it will return fileN, with N the current value of the global counter. Which doesn't prevent [puts foo] and [puts stdout foo] from still working. But anyway, 355 is orthogonal to your other (true) remark about suggested vs. given name. We're mereley replacing file$fd by file$counter regardless of the std* layer. > Which isn't to say that I necessarily approve of doing this TIP in 8.6. > That case needs to be made more convincingly IMO. OK, so much for the consensus :( Now what is most questionable: - the need ? - the innocuity of the change ? -Alex |
From: Reinhard M. <ma...@tc...> - 2009-09-02 15:16:08
|
On Wed, 2 Sep 2009 at 16:40, Reinhard Max wrote: > This brings up the question (though outside the scope of this TIP), > whether re-opened file descriptors 0, 1 and 2 should always get the > channel names stdin stdout and stderr whoops, I just noticed that close stderr open stderr /some/file w results in [open] to return file2, but [file channels] still has {stdin stdout stderr} and both, file2 and stderr can be used. I wonder when that was changed, because I think last time I checked it, I got file2 even in [file channels]. cu Reinhard |
From: Reinhard M. <ma...@tc...> - 2009-09-02 14:56:16
|
On Wed, 2 Sep 2009 at 16:14, Alexandre Ferrieux wrote: > then yes, of course it will work exactly the same, since "stdout" is > a special alias mapping to fd 1 in all cases, *and* the allocation > of fds remains the OS's job. The only difference is that the handle > name returned by the [open] above will likely be "file345" rather > than "file1", but who cares ? This brings up the question (though outside the scope of this TIP), whether re-opened file descriptors 0, 1 and 2 should always get the channel names stdin stdout and stderr instead of the current file[012] or the proposed file$n, so that e.g. library code has a chance to use the standard channels by their standard names, even if they were closed and reopened. Back to this TIP: It might be a good idea to let the new channel counter start at numbers that are higher than any file descriptor number on Unix can ever be* to avoid confusion, e.g. with dynamically loaded channel drivers that might still use the system fd number to create the channel name. *) If that number can be determined at all, otherwise use a number that can be assumed to be above what one will typically see on a real-life system. cu Reinhard |
From: Donal K. F. <don...@ma...> - 2009-09-02 14:51:35
|
Alexandre Ferrieux wrote: > Oh if you mean: > > close stdout > open somefile w > puts Hey > > then yes, of course it will work exactly the same, since "stdout" is a > special alias mapping to fd 1 in all cases, *and* the allocation of > fds remains the OS's job. The only difference is that the handle name > returned by the [open] above will likely be "file345" rather than > "file1", but who cares ? No, it will be "stdout". This is a "special magic" moment, and why the [open] code will have to not assume that the name it suggested for a channel is the name actually given to the channel. Which isn't to say that I necessarily approve of doing this TIP in 8.6. That case needs to be made more convincingly IMO. Donal. |
From: Alexandre F. <ale...@gm...> - 2009-09-02 14:15:03
|
On 9/2/09, Larry W. Virden <lv...@gm...> wrote: > On Tue, Sep 1, 2009 at 6:21 AM, Alexandre > Ferrieux<ale...@gm...> wrote: > > > > TIP #355: STOP FAST RECYCLING OF CHANNEL NAMES ON UNIX > > > > > > > > This TIP proposes to replace the file descriptor in unix channel names > > by an ever-increasing, process-unique counter. > > > > Will there be a method that allows one to redirect stdin, stdout, > and/or stderr, (or for that matter, other specific file descriptiors) > if the user needs to do that? Oh if you mean: close stdout open somefile w puts Hey then yes, of course it will work exactly the same, since "stdout" is a special alias mapping to fd 1 in all cases, *and* the allocation of fds remains the OS's job. The only difference is that the handle name returned by the [open] above will likely be "file345" rather than "file1", but who cares ? -Alex |
From: Larry W. V. <lv...@gm...> - 2009-09-02 12:49:58
|
On Tue, Sep 1, 2009 at 6:21 AM, Alexandre Ferrieux<ale...@gm...> wrote: > > TIP #355: STOP FAST RECYCLING OF CHANNEL NAMES ON UNIX > > > This TIP proposes to replace the file descriptor in unix channel names > by an ever-increasing, process-unique counter. Will there be a method that allows one to redirect stdin, stdout, and/or stderr, (or for that matter, other specific file descriptiors) if the user needs to do that? I know that I've written my share of ksh scripts that make use of that functionality to be able to gather information from an applications stdout or stderr or to feed various files into an application. It would be unfortunate if this type of functionality were lost altogether. -- Tcl - The glue of a new generation. http://wiki.tcl.tk/ Larry W. Virden http://www.xanga.com/lvirden/ Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. |
From: Alexandre F. <ale...@gm...> - 2009-09-02 10:01:09
|
On 9/2/09, Jan Nijtmans <jan...@gm...> wrote: > [...] > So, I would vote YES for the milder form, I don't think it is > too late for 8.6. Thanks Jan. If there is consensus, Donal can you s/8.7/8.6/ in the TIP header ? -Alex |
From: Jan N. <nij...@us...> - 2009-09-02 09:10:59
|
The thing I like about this TIP is the better error message when the problem occurs. 2009/9/2 Alexandre Ferrieux <ale...@gm...>: > Two questions to proceed on #355 now: > > (1) Who is in favour of the more ambitious form (reform all channel > names) vs the milder one (only unix) ? I would favour the milder form: - The ambitious form can always be done later (8.7?), when it is determined that the same problem occurs on Windows as well. (Don't fix what is not broken, especially not close to a new release date) - less risk for potential incompatability - What effect would this have on the "iocpsock" implementation, another desired feature on Windows? > > (2) Is it too late for 8.6 ? (8.7 seems faaar away in the future) This TIP tries to solve a real problem, and introduces a minor potential incompatibility. The best time to do that is with a minor release and 8.7 is still far away to be beneficial. So, I would vote YES for the milder form, I don't think it is too late for 8.6. Regards, Jan Nijtmans |
From: Jan N. <jan...@gm...> - 2009-09-02 09:09:06
|
The thing I like about this TIP is the better error message when the problem occurs. 2009/9/2 Alexandre Ferrieux <ale...@gm...>: > Two questions to proceed on #355 now: > > (1) Who is in favour of the more ambitious form (reform all channel > names) vs the milder one (only unix) ? I would favour the milder form: - The ambitious form can always be done later (8.7?), when it is determined that the same problem occurs on Windows as well. (Don't fix what is not broken, especially not close to a new release date) - less risk for potential incompatability - What effect would this have on the "iocpsock" implementation, another desired feature on Windows? > > (2) Is it too late for 8.6 ? (8.7 seems faaar away in the future) This TIP tries to solve a real problem, and introduces a minor potential incompatibility. The best time to do that is with a minor release and 8.7 is still far away to be beneficial. So, I would vote YES for the milder form, I don't think it is too late for 8.6. Regards, Jan Nijtmans |
From: Alexandre F. <ale...@gm...> - 2009-09-02 08:34:07
|
Two questions to proceed on #355 now: (1) Who is in favour of the more ambitious form (reform all channel names) vs the milder one (only unix) ? (2) Is it too late for 8.6 ? (8.7 seems faaar away in the future) -Alex |
From: Donal K. F. <don...@ma...> - 2009-09-01 21:49:18
|
Konstantin Khomoutov wrote: > I agree on that this was the worst possible choice for indentation, but > it was made long time ago, Tcl source code contains spaces mixed with > tabs while assuming tabs to be 8 spaces wide. What I'm not saying is whether or not people should use tabs when editing Tcl's source. What I'm saying is that *if* they use tabs, then they've got to be 8 character tabs. We've had this rule for ages and it's part of the original Engineering Manual/Style Guide. (The one real advantage of the Emacs way is that it puts the noise at the end of the file, well out of the way.) Extensions and scripts not part of Tcl itself can do anything they want (there's even code on the wiki to allow the use of Python-style indent blocks through clever preprocessing; weird, but it exists). I don't recommend using 40 character tabs though... ;-) Donal. |
From: Larry M. <lm...@bi...> - 2009-09-01 19:00:49
|
On Tue, Sep 01, 2009 at 10:42:45AM -0700, Brian Griffin wrote: > On Tue, Sep 1, 2009 at 1:14 AM, Kristoffer Lawson <se...@fi...>wrote: > > > mixing tabs and spaces makes no sense whatsoever. It's the worst > > of both worlds. > > > > Hear hear! Coming into this late but we use ts=8 and sw=4 because while control blocks are all tabs, continuation lines are 4. if (whatever) { blah; } if (whatever && something_else && some_long_frigging_java_whatever && another_long_frigging_java_whatever && blah) { blech; blech2; blech3; } Bill Shannon normal form, and he's the only guy with an option in indent just for him :) -- --- Larry McVoy lm at bitmover.com http://www.bitkeeper.com |
From: Brian G. <bri...@ea...> - 2009-09-01 18:30:01
|
On Tue, Sep 1, 2009 at 1:14 AM, Kristoffer Lawson <se...@fi...>wrote: > mixing tabs and spaces makes no sense whatsoever. It's the worst > of both worlds. > Hear hear! |
From: Konstantin K. <fla...@us...> - 2009-09-01 17:31:26
|
Kristoffer Lawson wrote: >>>> Q: Is there any reason not to add an explicit: >>>> * tab-width: 8 >>>> so that the source will be laid out correctly in all emacses >>>> regardless of their local tab-width ? >>> Is there any reason the files should actually contain any tabs at >>> all? I'd >>> prefer spaces only. >> Well, expecting tens of developers to all follow a non-default rule >> is...optimistic :) >> Or is there an Emacs version after which the default for C mode is to >> never output a tab ? > I'm not that sure about non-default... Many developers with other > editors will not be outputting tabs. Just spaces. If you think about > it, mixing tabs and spaces makes no sense whatsoever. It's the worst > of both worlds. I agree on that this was the worst possible choice for indentation, but it was made long time ago, Tcl source code contains spaces mixed with tabs while assuming tabs to be 8 spaces wide. So I think it's better to document the format so that the users of text editors other than Emacs at least know how to tweak their software to get sensible display and properly save modified files if needed. For the record -- the Vim modeline matching the formatting of the Tcl source code is: /* vim: set ts=8 sts=4 sw=4 sts=4 noet: */ |