Try testing this: 1. verify the file /some/path/nosent.txt exists on the file system 2. create new node with headline @nosent /some/path/nosent.txt 3. rclick -> Refresh from disk
IOW, 'import' the file into Leo, as currently provided by @auto and @edit Once an external file is in Leo, @nosent is fine, it's the in-slurp I'm concerned with. On Wed, Feb 11, 2015 at 3:31 AM, Edward K. Ream <[email protected]> wrote: > On Tue, Feb 10, 2015 at 3:22 PM, Kent Tenney <[email protected]> wrote: >> >> If there's not a bug, I don't understand what is expected >> of @nosent in terms of the initial loading of a file via >> 'Refresh from disk' > > > The problem with:: > > with file('nosent.txt', 'w') as f: > f.write('Line1\nLine2') > > is that file('nosent.txt') is not necessarily the same file as @nosent > nosent.txt. Without seeing your .leo file I can't know for sure. > > This is my test setup: > > 1. Open Leo. > 2. Open the external file in an external editor. > 3. Change the file, then save it. > 4. Do refresh-from-disk from Leo. > 5. Verify that the changes have been made in Leo. > > This exercises, *for sure*, a refresh from disk from the intended file. And > it works for me. > > If my test setup fails for you, try clearing all caches or running Leo with > --no-cache. > > Edward > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/leo-editor. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
