FWIW, I just updated http://trac.sagemath.org/ticket/16294 to use the new 
version as well, so checking that over might be useful as well.  

Thanks for the bug report by the way.

-Ivan

On May 24, 2014, at 1:22 PM, Ivan Andrus <darthand...@gmail.com> wrote:

> I tried it on Emacs 23.3.1 and I see the same problem.  It's getting confused 
> by the ansi color escape sequences.  I pulled out some code to deal with it 
> because I thought it could handle it, but apparently I didn't test with old 
> Emacsen.  Anyway, the thing to do for now is run 
> 
> %colors NoColor
> 
> before you do any tab completion.  Or, I decided to release 0.11 (which 
> should fix this problem), so you can get the newest spkg: 
> https://bitbucket.org/gvol/sage-mode/downloads/sage_mode-0.11.spkg
> 
> -Ivan
> 
> On May 24, 2014, at 2:46 AM, 'Martin R' via sage-devel 
> <sage-devel@googlegroups.com> wrote:
> 
>> I'm sorry, I should have mentioned that I tried both sage_mode 0.10 and 
>> https://bitbucket.org/gol/sage-mode/downloads/sage_mode-20140407.spkg 
>> without success.
>> 
>> In case it is of any help: I tried the %psearch within sage, which works.  
>> From edebug it seems to me that it is a problem of communication between 
>> sage-mode and python.  How should it work? Does sage-mode send the %psearch 
>> command to a separate python process?
>> 
>> Martin
>> 
>> Am Samstag, 24. Mai 2014 07:42:28 UTC+2 schrieb Ivan Andrus:
>> It works for me with Sage 6.3.beta1, Emacs 24.3.91.3 (from git), and 
>> sage_mode (from hg).  Can you try installing the latest sage_mode from 
>> https://bitbucket.org/gvol/sage-mode/downloads, namely 
>> https://bitbucket.org/gvol/sage-mode/downloads/sage_mode-20140407.spkg  You 
>> can of course install from source if you wish as well.  If the latest 
>> version works for you I'll hurry and release version 0.11 so that others 
>> won't have the same problem. 
>> 
>> On a side note, I'm in the process of updating sage_mode to use the new spkg 
>> system.  You could also try installing it that way.  See 
>> http://trac.sagemath.org/ticket/16294 if you're interested. 
>> 
>> -Ivan 
>> 
>> On May 22, 2014, at 2:51 AM, Martin Rubey <martin...@tuwien.ac.at> wrote: 
>> 
>> > Hi there, 
>> > 
>> > I just installed sage 6.3.beta1 (from git) and sage_mode. 
>> > 
>> > Unfortunately, tab completion is broken in emacs. 
>> > 
>> > I'm using GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10). 
>> > 
>> > When I press tab, the mouse pointer changes into the "please wait" 
>> > thingy, and nothing happens.  top doesn't show any activity.  I tried 
>> > edebug on 
>> > 
>> > (defun sage-pcomplete-or-help () 
>> >  "If point is after ?, describe preceding symbol; otherwise, pcomplete." 
>> >  (interactive) 
>> >  (if (not (looking-back "[^\\?]\\?")) 
>> >      (pcomplete) 
>> >    (save-excursion 
>> >      (backward-char) 
>> >      (when (python-current-word) 
>> >         (ipython-describe-symbol (python-current-word)))))) 
>> > 
>> > But I don't know where to go from here. (Of course, pcomplete is not 
>> > returning...) 
>> > 
>> > Thanks for any help, 
>> > 
>> > Martin 
>> 
>> 
>> -- 
>> 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.
> 

-- 
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