Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting "text" to "plain" in the configuration can have unpleasant consequences for text files #651

Open
aplteam opened this issue Jun 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@aplteam
Copy link
Contributor

aplteam commented Jun 2, 2024

I had already a text variable History that was saved in a file History.apla.

Recently I added text:plain to the Link configuration file.

In such a case the contents of the file History.apla is correctly established on a variable History in the APL workspace. But because of the new setting, when one changes the variable in the editor, the change is not written back to file by Link.

The reason for this is that Link compiles the filename as History.vec.apla, and then checks whether that file is already on disk. It's not, and because of that Link does not do anything.

That's not what should happen. As a user of Link, of course I expect Link to process this accordingly:

  • Save the changes in History.vec.apla
  • Delete the file History.apla
@aplteam aplteam added the bug Something isn't working label Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant