Interesting.  I’ve been using <<sections>> for 12 years now and have never previously stumbled onto that limitation.  I don’t see it documented, but at the same time I’ve never been good at searching Leo’s docs.

It does appear that a @section-delims directive exists, per issue 2276.  Perhaps the misbehaving importers could automatically add that directive with an appropriate default value known to be non-existent (or extremely uncommon) in the given language?

I’m probably wildly misunderstanding the issue, but just a quick thought.

Jake

On Sep 16, 2024, at 2:50 PM, Thomas Passin <[email protected]> wrote:

The section marker has to be at the very left of the current indentation level, doesn't it?

On Monday, September 16, 2024 at 2:33:31 PM UTC-4 [email protected] wrote:
Doesn't that kind of defeat the whole purpose of having an outliner?

Strings of the pattern `<<some_token>>` occur with some frequency in bash scripts as well, for example:

```
log=/path/to/logfile.log
sftp [email protected]<<EOF>>$log
  mget *.txt
  bye
EOF
```

I admit, I did test that above snippet earlier, and it worked without issue both as a @file and an @edit, so I'm not certain what exactly is triggering this issue.  But I do think it's worthwhile to figure it out.

Jake

On Mon, Sep 16, 2024 at 2:11 PM Edward K. Ream <[email protected]> wrote:
On Mon, Sep 16, 2024 at 12:34 PM 'rengel' via leo-editor <[email protected]> wrote:
So basically that means you can't reliably use Leo's @file nodes for Elixir adn Erlang source code?

Yes, that's what I'm saying. @edit will usually be better than @asis.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAMF8tS24H1Vei-AgxJXNj23qV_ODYtPGGvxw1T9es32-k7wNWA%40mail.gmail.com.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/663c2b66-852c-4799-81b1-54faf73bb5cbn%40googlegroups.com.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/58E56E64-DDCA-4EEB-B68C-1F6BEA271A3D%40gmail.com.

Reply via email to