With a saved script selected in the sidebar, entering and running temporary code replaced the script’s contents on disk without a noticeable warning.
It’s easy to mistake the editor for a temporary execution area. Could saved scripts be more clearly distinguished from temporary macros, with a warning or recoverable backup before overwriting?
Not sure what to make of this. You overwrite a macro deliberately, and the app shouldn’t allow you to? Under what circumstances should the app accept your changes then?
Maybe this helps: Since all macros correspond to concrete files on disk you can get back to a previous version with Time Machine.
For macros, maybe, but for the existing scripts it’s really dangerous. There should be a requirement to save the changes, in order to make them permanent. It’s also inconsistent with the Glyphs app. I can open a project, do some experimental changes, and close it without saving. Safe and predictable.
I prefer the auto-save behavior. This way it’s more consistent between macros and scripts, which are all managed in the same Scripting Window now in Glyphs 4.
I don’t know what to say. You may be more organized and proficient, but I already have had a few unintentional script overwrites since switching to Glyphs 4. It’s not a pleasant feeling.