I have mildly wondered about this situation when doing some experiments 
(with Leo) ... so thanks for the explanation/clarification.

    J^n


On Tuesday, June 17, 2025 at 4:06:50 AM UTC+1 Félix wrote:

> Oh, my bad, Leo actually uses the user's home dir as its current directory 
> if the Leo document is unsaved & untitled.
>
> Félix
>
> On Monday, June 16, 2025 at 7:56:22 PM UTC-4 Félix wrote:
>
>> Of course, like in the original Leo, using external files needs to be 
>> done in a 'saved' Leo document, otherwise there is no relation to a 
>> fixed path to figure out what the absolute path of an external file 
>> would look like. 
>>
>> I should show a warning whan that happens! Thanks for trying it out and 
>> pointing out that behavior! :)
>>
>> Félix
>>
>> On Mon, Jun 16, 2025 at 1:16 PM Thomas Passin <tbp1...@gmail.com> wrote:
>>
>>> "Import into Leo Outline As ..." didn't work for me from the 
>>> shift-right-click menu.  I tried it in an .md file opened in the regular VS 
>>> editor,  No dialog opened and nothing got imported. At the time I tried it, 
>>> I had a new outline (no content and not saved) open in leoJS.
>>>
>>> Identifier boltex.leojs
>>> Version 1.0.12
>>> Last Updated 2025-06-16, 13:04:45
>>>
>>> On Monday, June 16, 2025 at 8:55:54 AM UTC-4 Edward K. Ream wrote:
>>>
>>>> On Sun, Jun 15, 2025 at 9:07 PM Félix <felix...@gmail.com> wrote:
>>>>
>>>>
>>>>> *LeoJS 1.0.11 just landed! 🛸*
>>>>> This release brings a handful of new features suggested by Edward — 
>>>>> including context menu commands you can now access outside the usual 
>>>>> LeoJS 
>>>>> panels, directly by right-clicking in the file explorer or editor view.
>>>>>
>>>>> It also brings improvements to how LeoJS handles imports and script 
>>>>> execution:
>>>>>
>>>>>    - Added "*Go to Line In LeoJS Outline*" (context menu in the 
>>>>>    VSCode file editor) — also offers to import the file if needed.
>>>>>    - Added "*Import into LeoJS Outline*" command (context menu in 
>>>>>    editor & explorer).
>>>>>    - Import commands now use relative paths when possible: *When the 
>>>>>    Leo document and the file being imported are both inside the vscode 
>>>>>    workspace*
>>>>>    - *g.es <http://g.es>* now automatically opens the log pane when 
>>>>>    running user scripts or *@button* nodes.
>>>>>    - Scripts now run regardless of the *write-script-file* setting.
>>>>>
>>>>> Thanks for this work!
>>>>
>>>> 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 leo-editor+...@googlegroups.com.
>>> To view this discussion visit 
>>> https://groups.google.com/d/msgid/leo-editor/15c46c61-65f8-4adf-bc92-8f8612bb4194n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/leo-editor/15c46c61-65f8-4adf-bc92-8f8612bb4194n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/leo-editor/6b365585-9469-497b-b371-f1065f9d521bn%40googlegroups.com.

Reply via email to