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

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

[Octave-bug-tracker] [bug #52316] Function files created using "edit" ar


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #52316] Function files created using "edit" are invalid unless the file is in the current directory
Date: Tue, 31 Oct 2017 08:05:46 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0

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

                 Summary: Function files created using "edit" are invalid
unless the file is in the current directory
                 Project: GNU Octave
            Submitted by: pantxo
            Submitted on: Tue 31 Oct 2017 12:05:45 PM UTC
                Category: Octave Function
                Severity: 2 - Minor
                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: Any

    _______________________________________________________

Details:

Suppose I want to create a file in another directory than the current one,
e.g. :


edit /tmp/toto.m


Then Octave creates the file if doesn't exist and , by default, prepends a
function header which conatins a minimal texinfo help template followed an
empty function definition. The issue is that everywhere I would expect "toto",
I see "/tmp/toto", and hence the function file is not valid since the name of
the function should be actually be "toto".

I'll attach a patch.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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