Done. I haven't figured out the sage-shell customizations so that it automatically uses '--simple-prompt' whenever you ask it to start Sage, but that's a separate problem.
On Tuesday, August 11, 2020 at 9:44:15 AM UTC-7, Emmanuel Charpentier wrote: > > > > Le mardi 11 août 2020 18:38:00 UTC+2, John H Palmieri a écrit : >> >> It's version 26.3. I also just quit emacs and restarted, and now I'm >> having the same problems you were having. Modifying 'src/bin/sage' to >> accept a '--simple-prompt' >> > > How do you do that ? Care to post a diff (possibly in Trac#25363 > <https://trac.sagemath.org/ticket/253637> ? > > > > > > >> option and then using that seems to work. >> >> On Tuesday, August 11, 2020 at 9:32:20 AM UTC-7, Emmanuel Charpentier >> wrote: >>> >>> John, what is your current emacs version ? >>> >>> >>> >>> Le mardi 11 août 2020 18:26:04 UTC+2, John H Palmieri a écrit : >>>> >>>> I had no experience with sage-shell-mode until about 5 minutes ago, but >>>> it works for me, except for some weird artifacts when it reprints what I >>>> typed at the command line: >>>> >>>> ┌────────────────────────────────────────────────────────────────────┐ >>>> │ SageMath version 9.2.beta8, Release Date: 2020-08-10 │ >>>> │ Using Python 3.7.3. Type "help()" for help. │ >>>> └────────────────────────────────────────────────────────────────────┘ >>>> ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ >>>> ┃ Warning: this is a prerelease version, and it may be unstable. ┃ >>>> ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ >>>> sage: Sq(3) >>>> SSSqqq(((333))))))))) >>>> Sq(3) >>>> sage: Sq(3)*Sq(4) >>>> SSSSqqqq((((3333))))****SSSSqqqq((((4444)))))))))))) >>>> Sq(7) >>>> sage: quit() >>>> qqqqquuuuuiiiiittttt((((())))))))))))))) >>>> Exiting Sage (CPU time 0m0.31s, Wall time 0m47.95s). >>>> >>>> Process Sage finished >>>> >>>> >>>> >>>> On Tuesday, August 11, 2020 at 9:20:00 AM UTC-7, Emmanuel Charpentier >>>> wrote: >>>>> >>>>> Further bad news : this also somehow breaks the communication between >>>>> emacs and sage : >>>>> >>>>> - >>>>> >>>>> quit in the sage session never returns ; you have to kill emacs to >>>>> get your damn prompt back… >>>>> - >>>>> >>>>> Any attempt to use sage from an org-mode document never returns : >>>>> same issue… >>>>> >>>>> HTH, >>>>> >>>>> >>>>> >>>>> Le mardi 11 août 2020 17:39:29 UTC+2, Emmanuel Charpentier a écrit : >>>>>> >>>>>> Damn ! >>>>>> >>>>>> This release breaks sage-shell-mode support for a sage session into >>>>>> emacs. After starting an emacs session, I get the normal banner and a >>>>>> normal prompt. A little while after that (about 0.5 to 1 second), a >>>>>> warning WARNING: >>>>>> your terminal doesn't support cursor position requests (CPR). >>>>>> appears immediately below the banner and above the prompt, then the >>>>>> cursor >>>>>> goes right to the right margin (i. e. in the right scrollbar). >>>>>> >>>>>> I still can type Sage code, which appears at the left margin on the >>>>>> line immediately below the prompt. Typing <Return> displays a >>>>>> continuation prompt (.....:) 7 spaces,, then my code,which gets >>>>>> executed and the answer printed on tjhe line below the continuation >>>>>> prompt. >>>>>> Example : >>>>>> >>>>>> ┌────────────────────────────────────────────────────────────────────┐ >>>>>> │ SageMath version 9.2.beta8, Release Date: 2020-08-10 │ >>>>>> │ Using Python 3.7.3. Type "help()" for help. │ >>>>>> └────────────────────────────────────────────────────────────────────┘ >>>>>> ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ >>>>>> ┃ Warning: this is a prerelease version, and it may be unstable. ┃ >>>>>> ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ >>>>>> WARNING: your terminal doesn't support cursor position requests (CPR). >>>>>> sage: sage: >>>>>> >>>>>> ....: 1+1 >>>>>> >>>>>> 2 >>>>>> sage: >>>>>> >>>>>> No error message appears in the terminal window from which I launched >>>>>> emacs ; nothing unusual in the *Messages* buffer either. >>>>>> >>>>>> I’m stymied… >>>>>> >>>>>> >>>>>> Le mardi 11 août 2020 13:39:38 UTC+2, Emmanuel Charpentier a écrit : >>>>>>> >>>>>>> On Debian testing running on core i7 + 16 GB RAM, upgrading >>>>>>> 9.2.beta7 configured for use of all possible system libraries an >>>>>>> runningptestlong gets me the same transient an same three permanent >>>>>>> failures already reported for 9.2.beta7 and 9.2.beta5 : >>>>>>> >>>>>>> sage -t --long --warn-long 175.4 --random-seed=0 >>>>>>> src/sage/tests/parigp.py # Timed out >>>>>>> sage -t --long --warn-long 175.4 --random-seed=0 >>>>>>> src/sage/rings/complex_arb.pyx # 6 doctests failed >>>>>>> sage -t --long --warn-long 175.4 --random-seed=0 >>>>>>> src/sage/tests/gap_packages.py # 1 doctest failed >>>>>>> sage -t --long --warn-long 175.4 --random-seed=0 >>>>>>> src/sage/rings/real_arb.pyx # 2 doctests failed >>>>>>> >>>>>>> HTH, >>>>>>> >>>>>>> >>>>>>> >>>>>>> Le mardi 11 août 2020 00:51:35 UTC+2, Volker Braun a écrit : >>>>>>>> >>>>>>>> As always, you can get the latest beta version from the "develop" >>>>>>>> git branch. Alternatively, the self-contained source tarball is at >>>>>>>> http://www.sagemath.org/download-latest.html >>>>>>>> >>>>>>>> >>>>>>>> 415221a9a8 (trac/develop, tag: 9.2.beta8) Updated SageMath version >>>>>>>> to 9.2.beta8 >>>>>>>> ab502c6901 Trac #30287: sage.tensor.modules.free_module_basis: Add >>>>>>>> testsuite >>>>>>>> f148ee505b Trac #30237: Make .coxeter_matrix() return a >>>>>>>> CoxeterMatrix for coxeter3-implemented groups >>>>>>>> 075edbb1f6 Trac #30177: build/bin/sage-system-python: Improve check >>>>>>>> for a suitable python >>>>>>>> 2f73418deb Trac #30159: Adding new small graph structures >>>>>>>> b78fa7bc86 Trac #30318: Dot and cross products along a >>>>>>>> differentiable map >>>>>>>> 8f4e3779f6 Trac #30291: Scalar Field Arithmetics: Trivial Cases >>>>>>>> d423d08e7d Trac #30280: Immutability of Affine Connections >>>>>>>> e336f00ef3 Trac #30194: Extend FreeModule factory to construction >>>>>>>> of FiniteRankFreeModule and CombinatorialFreeModule >>>>>>>> 2c85de4715 Trac #29701: Replace use of module_list and >>>>>>>> OptionalExtension by extending find_python_sources >>>>>>>> d600162861 Trac #29205: character art fails for LieAlgebra elements >>>>>>>> 05d310c5cf Trac #30314: p-adic nth-root fails for some extensions >>>>>>>> 315bde2aec Trac #30289: Error in display of a continuous map >>>>>>>> between open intervals >>>>>>>> 7190161153 Trac #30288: Immutability for Sections >>>>>>>> a9e4141b37 Trac #30285: Affine Connection with Copy >>>>>>>> 61d70b1f6d Trac #30282: Make symmetrica/spkg-configure.m4 respect >>>>>>>> quiet mode >>>>>>>> 81635f190c Trac #30279: Update FAQ >>>>>>>> 70d7d21bd3 Trac #30274: Immutability of Tensor Fields >>>>>>>> 35d9d52b25 Trac #30270: Random failure in number_field_ideal_rel.py >>>>>>>> 7b224d83c0 Trac #30266: Immutability for scalar fields >>>>>>>> b679a2d444 Trac #30255: FiniteRankFreeModule: Move all module >>>>>>>> identifications to methods exterior_power, dual_exterior_power, >>>>>>>> tensor_module >>>>>>>> dfdae6fa93 Trac #30176: Update matplotlib to 3.3 >>>>>>>> ed79ba3a3f Trac #30248: Normaliz backend is broken with double >>>>>>>> description input >>>>>>>> f55701e735 Trac #28197: upgrade to ipython 7 >>>>>>>> 663c71bb89 Trac #30299: Minimal fix for broken jupyter notebook >>>>>>>> 775cce3cf3 Trac #3360: Upgrade sympow to 2.023.6 (for GCC 10 >>>>>>>> support) >>>>>>>> 85dbda0b65 Trac #30167: Allow Coxeter groups implemented with >>>>>>>> coxeter3 to respect the relabelling of a CartanType >>>>>>>> f7e1cca52e Trac #30160: Deprecate "sage --ba-force" >>>>>>>> 29cee91214 Trac #30136: Three.js: Examples for documentation need >>>>>>>> online=True >>>>>>>> f48b893d25 Trac #30119: Implement functions to construct unicode >>>>>>>> sub/superscripts from integers >>>>>>>> bb3fd3963c Trac #27895: Add custom bounding box for matrix_plot >>>>>>>> a10868b3bd Trac #30267: Coercion via restriction of chart functions >>>>>>>> 8a544963b1 Trac #30254: TensorFreeModule._an_element_: Create a >>>>>>>> default basis in the base module if necessary >>>>>>>> 2c0efbdfa4 Trac #30253: Coset graph of linear codes >>>>>>>> 4f0836fc14 Trac #30250: FiniteRankFreeModule: Simplify unique >>>>>>>> representation code for dependent modules >>>>>>>> 9911c15488 Trac #30227: Use both SINGULAR_INCDIR and SINGULAR_CFLAGS >>>>>>>> 760b7d8daf Trac #30225: Fix deprecation warnings when unpickling >>>>>>>> pynac objects with Python 3.8 >>>>>>>> 26f3a5e7b8 Trac #30224: Fix configure quiet mode as it lets a few >>>>>>>> things through >>>>>>>> 8a015f485a Trac #30208: List Assignment for Bundle Connections >>>>>>>> 71b530802d Trac #30181: Immutable elements of FreeModuleTensor >>>>>>>> 7579d4e363 Trac #30169: FiniteRankFreeModule needs __classcall__ >>>>>>>> 4fbd27b488 Trac #29825: Clean-up for src/bin/sage-env, move >>>>>>>> src/bin/sage-clone-source, src/bin/sage-sdist to build/bin >>>>>>>> e9c25be297 Trac #22760: Add support for __matmul__ in the coercion >>>>>>>> model >>>>>>>> 31bc43bf8c Trac #20970: Gabidulin Codes >>>>>>>> b539712d44 Trac #30231: Fix gp2c spkg-configure >>>>>>>> 34e01d1ef4 Trac #29766: Upgrade NumPy to 1.19.1, scipy to 1.5.2, >>>>>>>> networkx to 2.4, add pybind11 package >>>>>>>> 3925b0f008 Trac #30230: Fix docstrings in >>>>>>>> sage/coding/linear_rank_metric.py >>>>>>>> 83caa4befa (tag: 9.2.beta7) Updated SageMath version to 9.2.beta7 >>>>>>>> >>>>>>>> -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/8a6fa4af-e28f-4836-9a02-34cd38c270a8o%40googlegroups.com.
