Hello,

EMBEDDED_MODE is currently set in a few places (e.g. sage.plot.plot and 
sage.misc.latex independently have EMBEDDED_MODE = False), with other 
places importing them.

For SageCell Jason Grout has changed it to a dictionary living in 
sage.misc.misc and this change is responsible for most of the differences 
between Sage and "Sage for SageCell".

>From what I can get here and on trac, it would be better not to use such a 
functionality in the code at all, but rather let hooks handle differences 
between different frontends.

What I have difficulties figuring out:
1) Do we have all the necessary hooks in place?
2) How does one use them? Or rather what should one do to not think about 
them at all?
3) Why are there still EMBEDDED_MODE occurrences in the code and how can 
they be removed?

Thank you!
Andrey

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to