bugGNU Octave - Bugs: bug #43335, [GUI] Editor wants to append...

 
 

bug #43335: [GUI] Editor wants to append ".m" to existing files that have no file extension

Submitter:  Philip Nienhuis <philipnienhuis>
Submitted:  Tue 30 Sep 2014 08:05:02 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Philip Nienhuis Open/Closed:  * Closed
Release:  * 3.8.2 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 07 Nov 2014 03:53:49 PM UTC, comment #3: 

Tried it with a recent 3.9.0+ build and it works OK now.

Thanks for fixing!

Closing report

Philip Nienhuis <philipnienhuis>
Group Member
Thu 16 Oct 2014 06:42:09 PM UTC, comment #2: 

I have pushed changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/ce9bd5ed44d2
which uses a default suffix depending on the current file name (if already available) and depending on the currently set filter.

Torsten Lilge <ttl>
Group Member
Tue 30 Sep 2014 08:12:05 PM UTC, comment #1: 

Correction:

Contrary to what I wrote, this happens when doing "Save as.."

When a file with name w/o extension has been read, the editor shouldn't stubbornly suggest to save it as an .m file but rather as "All files" (i.e., don't try to change the file's type).

<title adapted>

Philip Nienhuis <philipnienhuis>
Group Member
Tue 30 Sep 2014 08:05:02 PM UTC, original submission:  

Hit it when editing PKG_ADD.
When saving (not: saving as ..), the editor doesn't accept the file name as-is (it is an existing file so why change the name) but silently adds an .m extension anyway.

Also for this bug I think a fix should go on stable.

Philip Nienhuis <philipnienhuis>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by philipnienhuis (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-11-07 philipnienhuis StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2014-10-16 ttl StatusNone Ready For Test
    2014-09-30 philipnienhuis Summary[GUI] Editor appends .m to existing files that have no file extension [GUI] Editor wants to append ".m" to existing files that have no file extension

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code