[Top][All Lists]

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

Re: Rehash object methods

From: Mike Miller
Subject: Re: Rehash object methods
Date: Thu, 28 May 2015 10:00:14 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, May 28, 2015 at 14:59:03 +0200, Klaus-Dieter Bauer wrote:
> Hello!
> I am currently experimenting with octave's object orientation from within
> the new GUI. So I have created a folder structure
>     ./@cons/cons.m
>     ./@cons/car.m
> imitating lisp's cons cells. As expected,
>     car(cons(1,2))
> returns 1. However when I added
>     ./@cons/cdr.m
> I found that I need to restart the interactive session for the new method
> to be recognized. The "rehash" command doesn't help here.
> I ended up having to restart the entire GUI, including the editor, since I
> know of no method to restart the interactive session.
> Is there some method to get new methods to be recognized without restarting
> the GUI?

Yes, this is a known bug, see #36230 [1]. A workaround is to
reinitialize the load path:

  >> path (path);




reply via email to

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