bugGNU Octave - Bugs: bug #46522, clear all does not fix shadowed...

 
 

bug #46522: clear all does not fix shadowed "help"

Submitted by:  Juan Pablo Carbajal <juanpi>
Submitted on:  Wed 25 Nov 2015 02:27:14 AM UTC  
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Confirmed Assigned to:  None
Originator Name:  juanpi Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

( Jump to the original submission)

Thu 30 Jun 2016 12:03:01 AM UTC, comment #6: 

I can't reproduce this anymore either, and I could back in November.  I'm going to to close this report.  It could be something to do with system libraries as I have upgraded my OS since then.

Rik <rik5>
Project Administrator
Wed 29 Jun 2016 08:46:00 PM UTC, comment #5: 

Works for me as well on Windows 7 64-bit dev Octave

Philip Nienhuis <philipnienhuis>
Project Member
Wed 29 Jun 2016 09:59:19 AM UTC, comment #4: 

I can't reproduce this either.
hg id  9e992b9ffc5f

Ubuntu 16.04

Doug Stewart <dastew>
Wed 29 Jun 2016 09:48:02 AM UTC, comment #3: 

I can't reproduce this.  Can someone (Juan Pablo?) confirm that it is no longer a problem?

Lachlan Andrew <lachlan>
Wed 25 Nov 2015 04:26:33 AM UTC, comment #2: 

Confirmed.  This is actually a regression.  I had to go back to version 3.6.4 to find where Octave behaved correctly.

More details: It seems to only affect the command form of the keyword in question.  If the identifier is used with function syntax then it works correctly.

The sample code below works.

help = 1;
clear all;
help ("ls")  # works
help ls      # fails

Rik <rik5>
Project Administrator
Wed 25 Nov 2015 02:28:59 AM UTC, comment #1: 

Sorry for the broken post.
It should say:

Once the keyword "help" is shadowed it cannot be undone without exiting Octave. Clear all doesn't work.

> help = 0;
> help linspace
parse error:

  syntax error

>>> help linspace
> clear all
> help linspace
parse error:

  syntax error

>>> help linspace

Juan Pablo Carbajal <juanpi>
Project Member
Wed 25 Nov 2015 02:27:14 AM UTC, original submission:  

Once the keyword "help" is shadowed it can be undone without exiting Octave.

help = 0;
help linspace
parse error:

  syntax error

>>> help linspace

clear all

Juan Pablo Carbajal <juanpi>
Project Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dastew (Posted a comment)
  • -email is unavailable- added by lachlan (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by juanpi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-30 rik5 Open/ClosedOpen => Closed
    2015-11-25 rik5 Item GroupIncorrect Result => Regression
        StatusNone => Confirmed

    Back to the top


    Powered by Savane 3.5