On Tue, Feb 21, 2017 at 6:29 AM, Edward K. Ream <[email protected]> wrote:

This is weird enough that I want to single-step through
> copy_to_my_settings.  I put g.pdb() just after g.es(unl).
>

​Er, actually, I put the g.pdb() in ​SF.find_setting, which contains the
offending call to g.handleUrl.

g.handleUrl is astoundingly complicated. Rather than tweak it, Leo needs a
new function, g.handleUnl, guaranteed never ever to call a browser :-)

Brings to mind Hanlon's razor
<https://en.wikipedia.org/wiki/Hanlon%27s_razor>:

    Never attribute to malice that which is
    adequately explained by stupidity.

In this case, the stupidity was my own for making g.handleUnl a catch-all.

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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to