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

Reply via email to