newLISP Fan Club

Forum => newLISP in the real world => Topic started by: fabian on August 15, 2006, 04:30:34 AM

Title: context name newlisp-tk
Post by: fabian on August 15, 2006, 04:30:34 AM
hello,



i have tried newlisp-tk and could not create a new context

with the editor. i tried a lot of combinations but with no

new context. what is wrong?
Title:
Post by: HPW on August 15, 2006, 05:18:56 AM
From the console:


QuotenewLISP v.8.9.3 on Win32 MinGW.



> (context 'GRAPH)

GRAPH

GRAPH> (context 'MAIN)

MAIN

>


In the editor it seems that he is not updated when I click 'Evaluate editbox' or 'EvaluatePrint editbox'.

Closing editor and reopen show the new context and its symbol.



Lutz?
Title:
Post by: Lutz on August 15, 2006, 05:26:16 AM
Thats the way it is, you can make the context using the menu faciity (currently broken but fixed in upcoming 8.9.4) and than it gets updated immedeately.



see also this thread:

http://www.alh.net/newlisp/phpbb/viewtopic.php?t=1275&highlight=



Lutz



ps: welcome to the group Fabian
Title:
Post by: Lutz on August 15, 2006, 05:50:02 AM
... I forgot: there is also a 'refresh' option in the menu of the editor, or hit Ctrl-R while in the editor, for refreshing the context display.



Lutz
Title:
Post by: HPW on August 15, 2006, 06:10:06 AM
Thanks for the refresh.

As a mainly DLL user I forgot the TK-details some times. :-(
Title: again tk context problem
Post by: fabian on August 17, 2006, 05:03:26 AM
hello,



ervery time i try to create a new context with the newlisp-tk ide

i get the message:

symbol is protected in function silent : sym

called from user defined function SYS:make-context-verify

after a refresh the new context is not listed. seems that it is

not created. i can only create a new context on the console.

so it seems that the context create function of the editor is

broken?



greetings,



fabian

 [/b]
Title:
Post by: HPW on August 17, 2006, 05:35:11 AM
Using latest 8.9.4 works for me here.



(context 'Test1)
(setq a 10)
(context 'MAIN)


After the 'Evaluate Editbox' and 'Refresh' symbol a show up in context Test1.
Title:
Post by: starseed on August 17, 2006, 07:11:38 AM
Yes, this bug has been corrected in 8.9.4