On Sun, Jun 2, 2013 at 9:48 AM, <[email protected]> wrote: > Hi John, that's what I mean. I cannot configure emacs to use sage. What code > should I add to my Emacs to make it work? And, in case that I haven't yet > create d a .emacs file, should I create one in the home directory? Thanks. >
Do you want Python syntax highlighting and indentation, and that's it? As a quick work-around, try typing Meta-x python-mode William > > On Sunday, June 2, 2013 3:10:34 AM UTC-7, John Cremona wrote: >> >> I don't understand what you mean by an editor such as emacs "not >> working" for Sage code. Sage code is just text, and I have never used >> anything other than emacs to edit it -- not on a Mac, but why would >> that make a difference? I have emacs configured to use python-mode, I >> just have a line in ~/.emacs which tells it to do that for any file >> with a .sage suffix, though I normally use .py suffix for Sage >> programming anyway. >> >> John Cremona >> >> >> On 2 June 2013 02:15, <[email protected]> wrote: >> > Hi there, >> > >> > I was using Emacs to write codes in other language for a while, but when >> > I tried to change some sage code using Emacs, it seems not working. I went >> > to the Sage-Mode page maintained by Ivan Andrus and downloaded several >> > versions of the SPKG files. However, after opening these files, Emacs still >> > cannot handle Sage at all. Then I searched for some text editors, like >> > Komodo, which works perfectly for Python but does not work for Sage. Now I >> > really need your help. Does anyone know another free text editor that works >> > for Sage? Much Thanks, Yang. >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "sage-support" 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 http://groups.google.com/group/sage-support?hl=en. >> > For more options, visit https://groups.google.com/groups/opt_out. >> > >> > > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" 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 http://groups.google.com/group/sage-support?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- William Stein Professor of Mathematics University of Washington http://wstein.org -- You received this message because you are subscribed to the Google Groups "sage-support" 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 http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
