[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49203] File visible in File Browser, but inte
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #49203] File visible in File Browser, but interpreter can't see it right away when on network drive |
Date: |
Mon, 31 Oct 2016 21:50:03 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
Follow-up Comment #17, bug #49203 (project octave):
The rehash() function forces modified functions to be reloaded, but only (if
I'm reading the code correctly) by updating the internal time stamp that
represents when the interactive prompt was last shown. IOW, rehash is the same
as pressing Enter in an interactive session, and only forces a check (in a
script for example) for updated functions that have already been seen whose
timestamp may now be newer than the last time they were loaded into memory.
As far as workarounds go, one thing that ought to work would be to remove the
directory from the load path and re-add it to the load path. When the
directory is just "current directory", this could be as simple as "cd
\somewhere\else" and "cd \back\to\my\dir". I _think_ that should force the
directory to be scanned as if it had never been seen before. Can someone test
that this does in fact allow new function files to be seen when they are not
seen after creating them with the editor?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49203>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49203] File visible in File Browser, but interpreter can't see it right away when on network drive, Nicholas Jankowski, 2016/10/18
- [Octave-bug-tracker] [bug #49203] File visible in File Browser, but interpreter can't see it right away when on network drive, Nicholas Jankowski, 2016/10/31
- [Octave-bug-tracker] [bug #49203] File visible in File Browser, but interpreter can't see it right away when on network drive, Nicholas Jankowski, 2016/10/31
- [Octave-bug-tracker] [bug #49203] File visible in File Browser, but interpreter can't see it right away when on network drive, Nicholas Jankowski, 2016/10/31
- [Octave-bug-tracker] [bug #49203] File visible in File Browser, but interpreter can't see it right away when on network drive, Bradley Slagle, 2016/10/31
- [Octave-bug-tracker] [bug #49203] File visible in File Browser, but interpreter can't see it right away when on network drive, Nicholas Jankowski, 2016/10/31
- [Octave-bug-tracker] [bug #49203] File visible in File Browser, but interpreter can't see it right away when on network drive, Bradley Slagle, 2016/10/31
- [Octave-bug-tracker] [bug #49203] File visible in File Browser, but interpreter can't see it right away when on network drive, Nicholas Jankowski, 2016/10/31
- [Octave-bug-tracker] [bug #49203] File visible in File Browser, but interpreter can't see it right away when on network drive, Bradley Slagle, 2016/10/31
- [Octave-bug-tracker] [bug #49203] File visible in File Browser, but interpreter can't see it right away when on network drive, Nicholas Jankowski, 2016/10/31
- [Octave-bug-tracker] [bug #49203] File visible in File Browser, but interpreter can't see it right away when on network drive,
Mike Miller <=