bugGNU Octave - Bugs: bug #34065, Automatically add .m extension in...

 
 

bug #34065: Automatically add .m extension in "Save"/"Save as" dialog

Submitter:  Andriy Shinkarchuck <andruxoid>
Submitted:  Thu 18 Aug 2011 08:16:50 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 23 Aug 2011 12:51:29 AM UTC, comment #1: 
Jordi GutiƩrrez Hermoso <jordigh>
Group Member
Thu 18 Aug 2011 08:16:50 PM UTC, original submission:  

When creating new file in GUI editor and trying to "Save" it first time or "Save as" in opened dialog, ".m" file extension should be added automatically if not typed with filename in "File name" field by user.

The reason is simple: If you press "Run" button in editor after saving file without .m extension, you will get error "error: run: file must exist and be a valid Octave script file" in miscellaneous/run.m because of Octave can run only files with .m extension.

Andriy Shinkarchuck <andruxoid>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #23836:  fix_saveasdialog_dot_m_extension.patch added by andruxoid (706B - application/octet-stream - Added patch succesfully fixes described issue.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by andruxoid (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-23 jordigh StatusNone Fixed
        Open/ClosedOpen Closed
    2011-08-19 andruxoid Attached File- Added fix_saveasdialog_dot_m_extension.patch, #23836

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code