On Tue, May 12, 2009 at 05:40:46PM -0700, Nick Alexander wrote: > > - C-C C-j seems to get confused by tabs in the input, and triggers > > automatic completion: > > As far as I'm concerned, tabs in input are always wrong. Python even > has an error (TabError) for this, no? This is wontfix for me.
I am using C-c C-j also on external files of mine, where tabs would be acceptable, but that's fair enough > > - > * `next-error' now jumps between top-level errors, avoiding > > lower > >> level source files. Lower level source files are still hyperlinked. > > > > It might be jumping a bit too much. It detects no error in the test > > result in PS. > > This I can't explain. The regexp is > > (defvar sage-test-regexp-alist > '(("File \"\\(.*?\\)\", line \\([0-9]+\\):" > 1 2) > ("File \"\\(.*?\\)\", line \\([0-9]+\\)," > 1 2 nil 0) > )) ;; a `compilation-error-regexp-alist' for sage doctest errors > > And your examples should hit the first one. Is it consistently wrong? I don't have my example under hand anymore, but with the example below, it is consistently wrong. That is C-c t followed by C-x ` when the tests are finished yields a Moved past last error message. Let me know if there are things I should try to pinpoint the error. Best, Nicolas -*- mode: sage-test; default-directory: "/opt/sage-3.4.2/devel/sage-combinat/sage/schemes/elliptic_curves/" -*- sage-test started at Wed May 13 22:48:08 sage -b >/dev/null && sage -tp 4 /opt/sage-3.4.2/devel/sage-combinat/sage/schemes/elliptic_curves/ell_torsion.py real 0m2.863s user 0m2.404s sys 0m0.392s Global iterations: 1 File iterations: 1 Using cached timings to run longest doctests first. Doctesting 1 files doing 4 jobs in parallel sage -t ell_torsion.py ********************************************************************** File "/opt/sage-3.4.2/devel/sage-combinat/sage/schemes/elliptic_curves/ell_torsion.py", line 113: sage: type(T) Expected: <class 'sage.schemes.elliptic_curves.ell_torsion.EllipticCurveTorsionSubgroup'> Got: <class 'sage.schemes.elliptic_curves.ell_torsion.EllipticCurveTorsionSubgroup_with_category'> ********************************************************************** File "/opt/sage-3.4.2/devel/sage-combinat/sage/schemes/elliptic_curves/ell_torsion.py", line 151: sage: type(T) Expected: <class 'sage.schemes.elliptic_curves.ell_torsion.EllipticCurveTorsionSubgroup'> Got: <class 'sage.schemes.elliptic_curves.ell_torsion.EllipticCurveTorsionSubgroup_with_category'> ********************************************************************** 2 items had failures: 1 of 30 in __main__.example_1 1 of 9 in __main__.example_2 ***Test Failed*** 2 failures. For whitespace errors, see the file /opt/sage-3.4.2/tmp/.doctest_ell_torsion.py [5.5 s] ---------------------------------------------------------------------- The following tests failed: sage -t devel/sage-combinat/sage/schemes/elliptic_curves/ell_torsion.py # 2 doctests failed ---------------------------------------------------------------------- Total time for all tests: 5.5 seconds sage-test finished with failing tests at Wed May 13 22:48:16 Nicolas -- Nicolas M. ThiƩry "Isil" <nthi...@users.sf.net> http://Nicolas.Thiery.name/ --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---