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

Submitted by:  Philip Nienhuis <philipnienhuis>
Submitted on:  Tue 30 Sep 2014 08:05:02 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Philip NienhuisOpen/Closed: Closed
Release: 3.8.2Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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 <ttl>
Project 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>
Project 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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 07 Nov 2014 03:53:49 PM UTCphilipnienhuisStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Thu 16 Oct 2014 06:42:09 PM UTCttlStatusNone=>Ready For Test
    Tue 30 Sep 2014 08:12:05 PM UTCphilipnienhuisSummary[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.1-cleanup1