Hi, Those of you who use SageTeX with emacs and, say, AUCTeX, may be annoyed when you are editing sageblock environments because of the TeX-like behavior. Here's a snippet you can use to make emacs use MMM (multiple major modes) and treat your TeX like TeX, and your Sage code like Sage code.
https://gist.github.com/dandrake/6d7e46f36cecab6d89bc You'll need MMM (https://github.com/purcell/mmm-mode) and perhaps also our own sage-mode. Comments welcome -- I've only tested this with one versions of emacs, and there are some problems with font lock. But it does work! Dan -- --- Dan Drake ----- www.math.wisc.edu/~ddrake/ -------
signature.asc
Description: Digital signature