Yes, I see that the script is saved. IGlad to know that. But when I first ran into the problem I had accidentally pressed ESC on the IJX window and my session terminated. OK, I guess my scripts were saved which I didn't realize, but I didn't intend for my J session to terminate. I tried opening an existing script, modified it, then pressed ESC in the IJX window and it asked me if I wanted to save the IJS window, which is good. So, I guess that it is working as you intended, and looks good; however, ESC in the IJX window closing J still seems a little drastic.
On Mon, Apr 14, 2008 at 4:12 PM, Chris Burke <[EMAIL PROTECTED]> wrote: > I am not sure what problem is referred to here. Is it a beta issue that > is now fixed? > > Closing a J session should save any open scripts or prompt to save the > scripts. If this does not happen, please give me steps to reproduce the > error. > > Don Guinn wrote: > > I ran into this problem and reported it a while back in the programming > > forum (I think). It is caused by choosing no confirmation for session > > close in the session configuration. I added the following to change > pressing > > the ESC to request close confirmation until JSoftware comes up with how > this > > shuld be handled. Stick this in your configuration script to override > the > > action of ESC. > > > > NB.*jijs_cancel_jijs_ v Changed to prevent esc from terminating J. > > jijs_cancel_jijs_=: 3 : 0 > > if. -.CONFIRMCLOSE do. > > if. IFIJX > > do. q=.'Do you want to exit J?' > > else. q=.'Do you want to close this window?' > > end. > > if. wdquery 'Jsoftware';q do. return. end. > > close'' > > end. > > '' > > ) > > > > On Mon, Apr 14, 2008 at 6:48 AM, Matthew Brand < > [EMAIL PROTECTED]> > > wrote: > > > >> Hi, > >> > >> I was editing a program using the built in editor and accidently > pressed > >> the escape key. The window was closed and the changes I had made appear > to > >> have been lost. Luckily I have developed a habit of ctrl-s about once a > >> minute (thanks to years of battling against excel ) so I did not lose > much, > >> but is this a bug? It might be more appropriate to ask if you want to > save > >> the changes before closing. > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
