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

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

[Octave-bug-tracker] [bug #55823] Calling a subfunction containing rmdir


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55823] Calling a subfunction containing rmdir() from a m-file in an editortab closes the tab
Date: Fri, 15 Mar 2019 17:07:58 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36

Follow-up Comment #32, bug #55823 (project octave):

The zoom level looks like it's per-tab, so yeah, when a tab is closed the zoom
level will be reset.

As you know I don't have Windows to test on, but this is probably related to
the same hunk of code that was added to fix bug #43922. Only guessing but
maybe due to backslash file separator on Windows, since the code looks like
it's trying to iterate through all open tabs and see if they are relative to
the directory that was just rmdir'd.

You might even be able to reproduce this with any non-empty tab, the contents
may not even have to be the script or function that calls rmdir. Try "edit
ans.m", which is an all-comment placeholder file, then try running your rmdir
test, and see if the tab is closed.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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