Hi Johan, Actually, I can reproduce it here using exactly the input you gave. Behind the scenes sage-mode runs (for M.<tab>):
%psearch -a M.* Running this directly allows you to see the exception thrown because the matrix isn't invertible. I switched to using %psearch recently because I needed to be compatible with old and new versions of ipython. I'm not an ipython expert, so maybe someone can tell me what I should be using instead. OTOH, it seems like a bug in Sage since I don't think listing attributes should throw this kind of exception. I have opened #14760. -Ivan P.S. The computer I'm on right now has version 5.8.beta4 so this may have been fixed in a more recent version. On Jun 16, 2013, at 11:03 AM, Johan S. R. Nielsen <santaph...@gmail.com> wrote: > Ok, I feel kind of silly now, becasue I can't seem to reproduce the above > myself :-S > Something wasn't working so I got the above behaviour, and I had already > tried restarting emacs etc., but now everything seems to work perfectly... > > On Sunday, June 16, 2013 3:58:01 PM UTC+2, Johan S. R. Nielsen wrote: > Hi, > Let's see if Ivan or someone else knowledgeable on sage-mode reads here; > better to have the question and answer in public, I thought, than to write > the developer directly. > > I just started experimenting with sage-mode, and it looks very promising for > me. I haven't used python-mode before, either, so the workflow is pretty new > to me. Anyway, it seems like tab-completion is not always working. For > example, I go to the inferior process and type: > sage: F = GF(2) > sage: F.<Tab> > ... I get the long list of options > sage: M = Matrix(F, 2, 2, [[0,1],[0,1]]) > sage: M.<tab> > ... I'm told "no completions of M" > > > Using "M?" spews out the full help text, so sage-mode _can_ figure out which > object M is. > > Am I doing something wrong here? I am using the 0.9.1 spkg from bitbucket, > and I am running Emacs 24.3 with Gallina's python.el. > > Thanks, > Johan > > -- > 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/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 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/groups/opt_out.