[Top][All Lists]

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

[Octave-bug-tracker] [bug #44219] Deleted GUI file editor tabs not forgo

From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #44219] Deleted GUI file editor tabs not forgotten upon command line "exit"
Date: Thu, 12 Feb 2015 18:52:34 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

Follow-up Comment #5, bug #44219 (project octave):

Yes, well the source of the problem is lack of a means to override the
behavior of "exit" at the command line.  There are many commands in Octave
that potentially initiate some action in the GUI, not just "exit".  Not enough
thought went into that at the very start of the GUI project.

There might be something a little tricky that could be done in the special
case of "exit".  We could check the command being sent to Octave core and if
we find "exit", do the save/confirm/cancel method before sending that command.
 But that doesn't work either because although I doubt there is any need for
the user to redefine what "exit" means via a script file, there are tricky
parsing issues like if the user enters "x = y+3; save x; exit".

I will look at your changeset and consider this issue, but I'm pretty sure we
need exit redefined--if that is just a contrived, cross-thread GUI call for
the short term.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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