Abridged summary of comp.lang.tcl@googlegroups.com - 37 updates in 12 topics

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Abridged summary of comp.lang.tcl@googlegroups.com - 37 updates in 12 topics

comp.lang.tcl mailing list
Paul Obermeier <[hidden email]>: Jan 09 09:12PM +0100

Dear Tcl'ers,
 
The Tcl'ers User Group Munich (TUGM) proudly presents
the 16th European Tcl/Tk User Group Meeting.
 
It will take place on the weekend of 7th and 8th of July 2018
in Munich.
...more
Don Porter <[hidden email]>: Jan 09 02:34PM -0500

On 01/06/2018 02:19 PM, Brad Lanam wrote:
> % interp alias {} + {} ::tcl::mathop::+
> +
 
It's very strange to use an alias for that. [namespace path] is a
better tool.
 
% namespace path ...more
Harald Oehlmann <[hidden email]>: Jan 09 07:23PM +0100

Dear TCL'ers,
 
Keith J. Nash provided enhancements of the BWidget Color Chooser widget.
This has a couple of new labels where the translation to the supported
languages is pending.
...more
Ali M <[hidden email]>: Jan 09 08:37AM -0800

Which IDE, text editor do you use?
 
Does Tcl/TK have a debugger?
 
How do you install, Libraries, extensions, command, do you use the OS package management, do you use teacup?
...more
Cecil Westerhof <[hidden email]>: Jan 09 10:39AM +0100

Maybe it is intended functionality, but it caught me by surprise: when
in an event loop error does not terminate the program.
 
I have the following code:
#!/usr/bin/env tclsh
 
...more
Brad Lanam <[hidden email]>: Jan 09 02:41AM -0800

On Tuesday, January 9, 2018 at 1:44:06 AM UTC-8, Cecil Westerhof wrote:
> 10:30:57: Just some text to show problem
> 10:31:12: Just some text to show problem
 
> So is this intended, or an ...more
Cecil Westerhof <[hidden email]>: Jan 09 12:25PM +0100

> so it doesn't affect much.
 
> Try: generating an error inside of 'loopDisplayMessage' after N
> messages have been displayed.
 
That was what original was happening: I only tried to make the ...more
Cecil Westerhof <[hidden email]>: Jan 09 01:11PM +0100

> ("after" script)
 
> And the script is still running, but will never do anything again.
> :'-(
 
Even exit does not work. If I use:
proc loopDisplayMessage {} {
global ...more
Arjen Markus <[hidden email]>: Jan 09 04:28AM -0800

On Tuesday, January 9, 2018 at 11:41:11 AM UTC+1, Brad Lanam wrote:
 
 
> I am looking forward to the answers here.
 
I am just guessing here, but the event loop is also used by Tk. ...more
Schelte Bron <[hidden email]>: Jan 09 01:38PM +0100

Cecil Westerhof wrote:
> Maybe it is intended functionality, but it caught me by surprise:
> when in an event loop error does not terminate the program.
 
This is intended. Not every error is ...more
Schelte Bron <[hidden email]>: Jan 09 01:47PM +0100

Cecil Westerhof wrote:
> And still the script does not terminate.
 
That's because you have an error in your exit command, as the script
reports:
 
expected integer but got "ARITH DIVZERO {divide ...more
Cecil Westerhof <[hidden email]>: Jan 09 02:11PM +0100

> exit 255
> }
 
> interp bgerror {} fatal
 
Thanks: that works like a charm.
 
Just have to be careful then when using an event loop.
 
--
Cecil Westerhof
Senior Software Engineer ...more
Cecil Westerhof <[hidden email]>: Jan 09 02:02PM +0100


> The side effect is that the event loop in Tcl-only programs also
> continues to work. So I conclude the behaviour is intentional.
 
> But that is merely guessing ;).
 
If that would be the ...more
Cecil Westerhof <[hidden email]>: Jan 09 02:13PM +0100

> while executing
> "exit ${::errorCode}"
 
> Try providing an integer argument, as exit expects.
 
Oops, my bad. I expected errorCode to be an integer.
 
But Schelte explained why an ...more
Cecil Westerhof <[hidden email]>: Jan 09 02:34PM +0100

> puts stderr [dict get $info -errorinfo]
> exit 255
> }
 
Could I use:
exit [dict get $info -code]
 
Or is it not guaranteed that this is a (non zero) integer?
 
-- ...more
Arjen Markus <[hidden email]>: Jan 09 06:13AM -0800

On Tuesday, January 9, 2018 at 2:44:05 PM UTC+1, Cecil Westerhof wrote:
 
> Could I use:
> exit [dict get $info -code]
 
> Or is it not guaranteed that this is a (non zero) integer?
...more
Cecil Westerhof <[hidden email]>: Jan 09 03:08PM +0100


>> interp bgerror {} fatal
 
> Thanks: that works like a charm.
 
> Just have to be careful then when using an event loop.
 
Created a proc startEventLoop that default does this.
 
-- ...more
Cecil Westerhof <[hidden email]>: Jan 09 04:42PM +0100


> To be sure, you could use:
 
> exit [expr {[string is integer [dict get $info -code]]? [dict get $info -code] : 111}]
 
> You will probably want to put that in a small proc ;)
 
I am using: ...more
Gerald Lester <[hidden email]>: Jan 09 09:48AM -0600

On 01/09/2018 07:02 AM, Cecil Westerhof wrote:
 
>> But that is merely guessing ;).
 
> If that would be the case, I would say: do not use the same event loop
> for tcl and tk.
...more
Cecil Westerhof <[hidden email]>: Jan 09 05:19PM +0100


> There is only one event loop in Tcl/Tk -- attempting to use more than
> one event loop in a thread/program is a recipe for a very quick and
> large disaster!
 
I did not mean to use two event ...more
Schelte Bron <[hidden email]>: Jan 09 02:22PM +0100

Cecil Westerhof wrote:
> In my opinion the file should never be called directly and not be
> sourced more as once.
 
May I suggest you stop fighting Tcl features by imposing limitations ...more
Cecil Westerhof <[hidden email]>: Jan 09 03:06PM +0100

>> sourced more as once.
 
> May I suggest you stop fighting Tcl features by imposing limitations
> that you have become accustomed to from other languages?
 
I already did. ;-)
 
...more
Stephen Nally <[hidden email]>: Jan 08 01:15PM -0800

Hi Harald,
 
The link

https://core.tcl.tk/tclw
 
is incorrect. It should be
 
core.tcl.tk/tclws
 
Thanks for all your work.
 
Stephen

 
On Monday, January 8, 2018 at 11:52:59 AM ...more
Harald Oehlmann <[hidden email]>: Jan 09 02:04PM +0100

Am 08.01.2018 um 22:15 schrieb Stephen Nally:
 
> core.tcl.tk/tclws
 
> Thanks for all your work.
 
> Stephen
 
Thank you for the correction.
Harald
...more
stefan <[hidden email]>: Jan 09 02:40AM -0800

Hi everybody,
 
I typically align package (module) and namespace names:
 
mypkg-0.1.tm
namespace eval ::mypkg
 
For package names, it is not uncommon to use ':' or '::', e.g.: tcl::tommath
...more
Rich <[hidden email]>: Jan 09 11:20AM

> package req myproj::mypkg
> namespace eval ::myproj::mypkg {}
 
> Any suggestions or comments?
 
The answer is in the man page:
 
All occurrences of "::" in the package name are replaced ...more
stefan <[hidden email]>: Jan 09 03:57AM -0800

Am Dienstag, 9. Januar 2018 12:20:54 UTC+1 schrieb Rich:
 
> All occurrences of "::" in the package name are replaced
> by the appropriate directory separator character for the ...more
[hidden email]: Jan 08 09:59PM -0800

It is obvious, that there is a lot of spam on this group
does this group have an admin that can remove the span message
 
This seems to have been going on for a while
 
Any reason why nothing is ...more
Christian Gollwitzer <[hidden email]>: Jan 09 07:32AM +0100

> It is obvious, that there is a lot of spam on this group
> does this group have an admin that can remove the span message
 
There is no such thing as an admin. This group is hosted on Usenet as an ...more
Arjen Markus <[hidden email]>: Jan 08 11:27PM -0800

On Tuesday, January 9, 2018 at 7:32:52 AM UTC+1, Christian Gollwitzer wrote:
> lot of spam; at least compared to other gropus on Usenet this one is
> relatively tidy.
 
> Christian
...more
Cecil Westerhof <[hidden email]>: Jan 09 09:01AM +0100

> unmoderated group. Besides, I'm not sharing your opinion that there is a
> lot of spam; at least compared to other gropus on Usenet this one is
> relatively tidy.
 
I agree: I almost see no spam. ...more
Richard Owlett <[hidden email]>: Jan 09 04:27AM -0600

On 01/09/2018 01:27 AM, Arjen Markus wrote:
 
> Furthermore, most of the spam is easily recognisable: it is written in Arabic literals. While I cannot read Arabic, I daresay these posts are spam, ...more
Rich <[hidden email]>: Jan 09 10:34AM

> does this group have an admin that can remove the span message
 
> This seems to have been going on for a while
 
> Any reason why nothing is being done about this
 
One sees almost zero spam in ...more
Rich <[hidden email]>: Jan 08 09:07PM

> http://wiki.tcl.tk/49317
 
> By the way: I thought I had seen a page with all the categories that
> are defined, but cannot find it anymore. Where is this page?
 
You left out the definition ...more
Cecil Westerhof <[hidden email]>: Jan 09 08:56AM +0100

> Waiting (after)" page.
 
> It is in the error path, so unless someone triggers the error path they
> will never know the difference.
 
Sorry, I created a page for it and added it: ...more
[hidden email]: Jan 08 09:10PM -0800

Are Teacup and Teapot being considered seriously by the Tcl community and core team
 
I notice that there is almost no development being done on them on the github repository
...more
bleachbot <[hidden email]>: Jan 01 10:09AM +0100

...more
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to [hidden email].