Sounds like you used to use named scripts, and you've started using temporary scripts.

A temporary script is a numbered IJS file created in your jpath'~temp' directory. The J session manager treats these files specially.

For one thing, the JSM doesn't record temp scripts in the "recent files" list. I think that's appropriate (because names like ~temp\44.ijs don't tell me anything about the contents of the file, and so are not helpful in the list).

For another, whenever you close a window which is editing a temp script, the JSM will prompt to delete it. I, too, find this behavior obnoxious.

The session manager should not prompt to delete files with content. In fact, the JSM should not prompt to delete files at all (what other editor does this?). If I want to keep my temp directory clean (why?), I can always go through and do the housecleaning myself. Or a "Delete" item could be added to the "File" menu.

If the JSM must act this way, the least it could do would be to move files to the recycle bin, instead of permanently deleting them. Or, for non-Windows compatibility, put them in its own "recycle" folder in the J hierarchy. It's not like J scripts are large enough to make disk space an issue.

I made some local changes to an old version of the JSM scripts which allowed me to configure these behaviors through Edit>Configure , but I've long since lost them. Maybe I'll recreate the changes and submit them to JSoftware.

In any case, as far as I know, there's nothing you can toggle to change this behavior.

But one way to solve your problem would be: upon creating a new temp script, immediately rename it ("Save As" something different). THEN start editing.

-Dan

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to