the-carlisle-group / Acre-Desktop

A simple Dyalog APL IDE plugin that introduces "projects" and allows you to keep your source code in Unicode text files.
MIT License
11 stars 1 forks source link

Opening a project into ⎕SE #229

Closed PhilLast closed 4 years ago

PhilLast commented 4 years ago

I just discovered that you can open a project into ⎕SE.

It can be opened; acre continues to think it's open; but changes to it can't be saved. Whether it's because I've been too strict or too lax in some respect I don't currently know. Presumably somewhere I'm permitting a different set of valid names:

      ]createproject arthur #.arthur
#.arthur
      ]openproject arthur ⎕se.arthur
Please wait - Reading 1 file from .../acreProjects/arthur
⎕se.arthur

It can't be created in ⎕SE

      ]createproject galahad ⎕se.galahad
! Invalid namespace name
* Command Execution Failed:

But changing ProjectSpace in the config to point to a ⎕SE space makes acre open it there by default.

At present I see no reason either to enhance or suppress this "feature". But it seems that it might prove useful to someone in some context which is why I'm pointing it out.

PhilLast commented 4 years ago

Since reminded that:

Dyalog APL/W-64 Version 18.0.38770
Serial number: 003280
Sat Aug  1 09:02:04 2020
      ]openproject inscribe ⎕se.inscribe
Please wait - Reading 16 files from .../acreProjects/inscribe
⎕se.inscribe
      )clear
Cannot perform operation when # is referenced by session namespace.
⎕SE.inscribe...AcreConfig

the AcreConfig namespace is a child of # so this entangles # and ⎕SE disabling )CLEAR, )LOAD and probably other stuff.

Could be remedied but only on request.