Hmm.  I still can't reproduce this.  Can you try upgrading sage_mode to version 
0.11?

-Ivan

On Jul 19, 2014, at 1:29 AM, Nikos Apostolakis <nikos...@gmail.com> wrote:

> 
> On Thursday, July 10, 2014 7:07:05 PM UTC-4, Ivan Andrus wrote:
> On Jun 28, 2014, at 9:49 AM, Nikos Apostolakis <niko...@gmail.com> wrote: 
> 
> > Hello, 
> > 
> > I'm using sage_mode on emacs on mac mavericks and I can't send code to sage 
> > to be evaluated from a buffer in sage mode.  If I do C-c C-e for example 
> > emacs complains: "Text is read only". 
> > 
> > I've installed sage from the pre-build binary and sage_mode by "sage -i 
> > sage_mode". 
> > 
> > Thanks for any help. 
> 
> Sorry for taking so long.  I was on vacation. 
> 
> 
> No problem.  I hope you enjoyed your vacation.
>  
> I can't reproduce this.  I'm on Mavericks with Emacs 24.3.92.1, Sage 
> 6.3.beta4, and sage-mode-version of 0.11.   
> 
> 
> Emacs repots the following as emacs version:  "GNU Emacs 24.3.1 
> (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2013-03-13 on 
> bob.porkrind.org"
> 
> Sage says: 'Sage Version 6.2, Release Date: 2014-05-06'
> 
> sage-mode-version is "0.10"
>  
> You can try running M-x toggle-debug-on-error RET and then C-c C-e to get a 
> backtrace which might help diagnose it. 
> 
> 
> I tried that and I didn't enter the debugger.   Looking at the Messages 
> buffer I see:  
> "Sending region to sage buffer...
> sage-send-command: Text is read-only"
> 
>  
> Also relevant portions of your .emacs and detailed instructions of everything 
> you did when this happens would be useful. e.g. Did you run M-x sage RET 
> before?  Does it always do it, or only after doing something else? 
> 
> 
> This is what I have in my .emacs:
> 
> (add-to-list 'load-path 
> "/Applications/sage/local/share/emacs/site-lisp/sage-mode/")
> (require 'sage "sage")
> (setq sage-command "/Applications/sage/sage")
> 
> (require 'sage-view "sage-view")
> (add-hook 'sage-startup-after-prompt-hook 'sage-view)
> 
> This happens every time I try to do this.  I can't think of anything special 
> I'm doing.
>  
> BTW,  since I posted this question I went ahead and installed emacs from 
> macports (using x11). With this version ("GNU Emacs 24.3.1 
> (x86_64-apple-darwin13.2.0, X toolkit, Xaw scroll bars) of 2014-07-05 on 
> napostolakismbp.home") I get "sage-send-command: Text is read-only" the first 
> time I try C-c C-e and after that I get "sage-last-prompt-is-debugger: Wrong 
> type argument: stringp, nil". 
> 
> Thanks for the reply,
> 
> Nikos

-- 
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to