octave-maintainers
[Top][All Lists]
Advanced

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

setting a default for non-existent property


From: John W. Eaton
Subject: setting a default for non-existent property
Date: Thu, 7 May 2009 15:15:58 -0400

On  7-May-2009, Ben Abbott wrote:

| I accidently set a default for a non-existent property and discovered  
| I had to quit octave to recover.
| 
| For example ...
| 
| octave:5> set (0, "defaultfigure_bad_property", 0)
| octave:6> figure
| error: set: unknown property "_bad_property"
| error: error setting default property _bad_property
| error: __go_figure__: failed to create figure handle
| error: called from:
| error:   /Users/bpabbott/Development/mercurial/local_clone/scripts/ 
| plot/figure.m at line 67, column 9
| 
| I assume the same is true for all defaults (text, axes, figure, etc).
| 
| Can someone with better c/c++ skills take a look at fixing this?

I checked in the following change:

  http://hg.savannah.gnu.org/hgweb/octave/rev/1e5c11890f85

It seems to work for me for your example above.  Please try it out and
let me know whether it causes any problems.

Thanks,

jwe


reply via email to

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