octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53894] The file browser tries to open some m-


From: Lars Kindermann
Subject: [Octave-bug-tracker] [bug #53894] The file browser tries to open some m-files as data files instead
Date: Mon, 14 May 2018 02:32:21 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0

URL:
  <http://savannah.gnu.org/bugs/?53894>

                 Summary: The file browser tries to open some m-files as data
files instead 
                 Project: GNU Octave
            Submitted by: larskindermann
            Submitted on: Mon 14 May 2018 06:32:19 AM UTC
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Double-clicking some m-files in the file browser widget will not open them in
the editor but will try to read them as data-files.

Éxample: opening a file init.m containing just the line


Answer=43


results in


>> error: load: failed to read matrix from file '/home/kinder/init.m'
error: parse error


This seems to happen when the file does not contain at least one of several
keywords from the octave language.

Even the shebang line #!/usr/bin/octave will not help.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53894>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]