|
From: | Lars Kindermann |
Subject: | [Octave-bug-tracker] [bug #60214] Save and Run drops last character of filename for new scripts |
Date: | Sun, 14 Mar 2021 08:39:28 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #11, bug #60214 (project octave): The condition to activate "Save and Run" seems inconsistent. If I create a file "helpx" externally and open it in the editor, "Save and Run" is enabled but will execute the "help command". I suspect the check if a file is executable is done with something like if filename(1:end-length(extension)-1) is valid_command assuming there is always a dot in the filename... _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60214> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |