bugGNU Octave - Bugs: bug #40351, The editor does not open a tab for...

 
 

bug #40351: The editor does not open a tab for a new file when called by edit

Submitter:  Torsten Lilge <ttl>
Submitted:  Wed 23 Oct 2013 04:55:37 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 23 Oct 2013 06:04:48 PM UTC, comment #4: 

Rik, I have just seen your post with the fix.
I have already pushed a changeset that I have pushed a changeset that fixes the issue in the editor. Then it is also possible to create a new file when entering the file name into the open file dialog box.

Torsten Lilge <ttl>
Group Member
Wed 23 Oct 2013 06:00:48 PM UTC, comment #3: 
Torsten Lilge <ttl>
Group Member
Wed 23 Oct 2013 05:36:55 PM UTC, comment #2: 

Attached is a trivial fix.  It creates a blank file in edit.m so that the Qt editor can find it.

(file #29452)

Rik <rik5>
Group administrator
Wed 23 Oct 2013 06:02:15 AM UTC, comment #1: 

It is not edit.m but the editor to blame that does not open a tab for the new file like other editors do

Torsten Lilge <ttl>
Group Member
Wed 23 Oct 2013 04:55:37 AM UTC, original submission:  

In GUI mode, the command "edit" does not create non extisting files when the file extension is not .m or .cc.

Steps to reproduce:

  • Start octave in GUI mode
  • Enter "edit foo.txt" in the console window
  • The file foo.txt is not created but the editor is still called with this file


"edit foo.cc" or "edit foo.m" work as expected.

Torsten Lilge <ttl>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #29452:  edit.patch added by rik5 (958B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by ttl (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
    2013-10-23 ttl StatusNone Fixed
        Open/ClosedOpen Closed
    2013-10-23 rik5 Attached File- Added edit.patch, #29452
    2013-10-23 ttl Summaryedit does not create non extisting files when extension is not .m or .cc The editor does not open a tab for a new file when called by edit

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code