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

 
 

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

Submitted by:  Andriy Shinkarchuck <andruxoid>
Submitted on:  Thu 18 Aug 2011 08:16:50 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 23 Aug 2011 12:51:29 AM UTC, comment #1:

Closed in cset b7d870e9b886:

https://bitbucket.org/jordigh/gnu-octave/changeset/b7d870e9b886

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
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 File(s):
   
   
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
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by andruxoid (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 23 Aug 2011 12:51:29 AM UTCjordighStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 19 Aug 2011 12:30:22 AM UTCandruxoidAttached File-=>Added fix_saveasdialog_dot_m_extension.patch, #23836

    Back to the top


    Powered by Savane 3.1-cleanup1