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

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

[Octave-bug-tracker] [bug #55501] subsequent calls to "help @sym/beta" g


From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #55501] subsequent calls to "help @sym/beta" gives "help beta" text
Date: Tue, 22 Jan 2019 01:13:51 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

Follow-up Comment #13, bug #55501 (project octave):

Ok I've tested the patch.  It seems to fix "__which__":

octave:1> __which__ @ftp/mkdir
ans =
  scalar structure containing the fields:
    name = @ftp/mkdir
    file = /home/cbm/src/octave.hg/scripts/@ftp/mkdir.m
    type = function

octave:2> __which__ @ftp/mkdir
ans =
  scalar structure containing the fields:
    name = @ftp/mkdir
    file = /home/cbm/src/octave.hg/scripts/@ftp/mkdir.m
    type = function


But "help" is still screwy:

octave:1> help @ftp/mkdir
'@ftp/mkdir' is a function from the file
/home/cbm/src/octave.hg/scripts/@ftp/mkdir.m

 -- mkdir (F, PATH)
     Create the remote directory PATH, over the FTP connection F.

     F is an FTP object returned by the 'ftp' function.
octave:2> help @ftp/mkdir
'@ftp/mkdir' is a function from the file
/home/cbm/src/octave.hg/scripts/@ftp/mkdir.m

 -- mkdir DIRNAME
 -- mkdir PARENT DIRNAME
 -- mkdir (DIRNAME)
 -- mkdir (PARENT, DIRNAME)
 -- [STATUS, MSG, MSGID] = mkdir (...)
     Create a directory named DIRNAME in the directory PARENT, creating
     any intermediate directories if necessary.

     If DIR is a relative path, and no PARENT directory is specified,
     then the present working directory is used.

     If successful, STATUS is 1, and MSG and MSGID are empty strings
     ("").  Otherwise, STATUS is 0, MSG contains a system-dependent
     error message, and MSGID contains a unique message identifier.

     When creating a directory permissions will be set to '0777 -
     UMASK'.

     See also: rmdir, pwd, cd, umask.


Note that the "is a function from the file
/home/cbm/src/octave.hg/scripts/@ftp/mkdir.m" is now correct but its still
grabbing the wrong help text.

So there is still a regression just for plain 'ol @classes.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55501>

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




reply via email to

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