Re: [sage-devel] Re: Cannot run Sagemath session in Texmacs on Linux

2018-12-14 Thread Amir Zia
I have another problem with texmacs: I open multiple documents and then: When the document is saved and then closed, I do not get this warning...When the document is unsaved and then closed, I do get this warning...How do I fix/remove this warning ? here is a photo of it: https://ibb.co/M1C8

Re: [sage-devel] Re: Cannot run Sagemath session in Texmacs on Linux

2018-12-14 Thread Amir Zia
You are correct, i installed everything all over again and used the github plugin and now it works perfectly...thanks for mentioning it On Friday, December 14, 2018 at 6:41:45 AM UTC-5, E. Madison Bray wrote: > > On Fri, Dec 14, 2018 at 12:35 PM E. Madison Bray > wrote: > > > > On Fri, Dec

Re: [sage-devel] Re: A Sage interface for FGb (Gröbner bases)

2018-12-14 Thread parisse
Giac source code has been updated, with the following (much faster) timings for gbasis computation on Q server 32 processors Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz, 64G of RAM 16 threads [CPU time, real time], 4 threads [CPU, real], 1 thread cyclic8 : [43.37,11.25], [31.82,12.15], 26.12 (48 p

Re: [sage-devel] Re: Mystery of "GAP documented global functions"

2018-12-14 Thread Volker Braun
Afair the all_documented_functions is documenting the starting point of our list of hardcoded tab-completions. At one point I went through it by hand and tweaked it, though. The module cannot be default imported for the reasons you mention. But I think its useful to have the code around since i

Re: [sage-devel] Re: Mystery of "GAP documented global functions"

2018-12-14 Thread Dima Pasechnik
On Fri, Dec 14, 2018 at 12:53 PM Dima Pasechnik wrote: > > On Fri, Dec 14, 2018 at 12:32 PM E. Madison Bray > wrote: > > > > I'm not exactly sure what you mean by "function factorised" but regardless > > I don't think it's a deep mystery. Just look at Gap.__getattr__ > > I see. By the way, coul

Re: [sage-devel] Re: Mystery of "GAP documented global functions"

2018-12-14 Thread Dima Pasechnik
On Fri, Dec 14, 2018 at 12:32 PM E. Madison Bray wrote: > > I'm not exactly sure what you mean by "function factorised" but regardless I > don't think it's a deep mystery. Just look at Gap.__getattr__ I see. By the way, could you explain the need for Length = libgap.function_factory('Length') F

Re: [sage-devel] Re: Mystery of "GAP documented global functions"

2018-12-14 Thread E. Madison Bray
I'm not exactly sure what you mean by "function factorised" but regardless I don't think it's a deep mystery. Just look at Gap.__getattr__ On Fri, Dec 14, 2018, 13:30 Dima Pasechnik On Fri, Dec 14, 2018 at 11:54 AM E. Madison Bray > wrote: > > > > On Fri, Dec 14, 2018 at 12:17 PM Dima Pasechnik

Re: [sage-devel] Re: Mystery of "GAP documented global functions"

2018-12-14 Thread Dima Pasechnik
On Fri, Dec 14, 2018 at 11:54 AM E. Madison Bray wrote: > > On Fri, Dec 14, 2018 at 12:17 PM Dima Pasechnik wrote: > > > > On Fri, Dec 14, 2018 at 11:10 AM E. Madison Bray > > wrote: > > > > > > On Fri, Dec 14, 2018 at 11:55 AM Dima Pasechnik wrote: > > > > > > > > On Fri, Dec 14, 2018 at 10:1

Re: [sage-devel] Re: Mystery of "GAP documented global functions"

2018-12-14 Thread E. Madison Bray
On Fri, Dec 14, 2018 at 12:40 PM Simon King wrote: > > Hi Eric, > > On 2018-12-14, E. Madison Bray wrote: > > sage: from sage.libs.gap.all_documented_functions import * > > sage: DihedralGroup(8) > > > > sage: type(_) > > > > > > Oops, this clobbers multiple existing built-ins in Sage. > > What's

Re: [sage-devel] Re: Mystery of "GAP documented global functions"

2018-12-14 Thread E. Madison Bray
On Fri, Dec 14, 2018 at 12:17 PM Dima Pasechnik wrote: > > On Fri, Dec 14, 2018 at 11:10 AM E. Madison Bray > wrote: > > > > On Fri, Dec 14, 2018 at 11:55 AM Dima Pasechnik wrote: > > > > > > On Fri, Dec 14, 2018 at 10:19 AM E. Madison Bray > > > wrote: > > > > > > > > There is also an existi

Re: [sage-devel] Re: Cannot run Sagemath session in Texmacs on Linux

2018-12-14 Thread E. Madison Bray
On Fri, Dec 14, 2018 at 12:35 PM E. Madison Bray wrote: > > On Fri, Dec 14, 2018 at 11:29 AM E. Madison Bray > wrote: > > > > On Fri, Dec 14, 2018 at 4:04 AM Amir Zia wrote: > > > > > > > > > > > > On Thursday, December 13, 2018 at 9:05:51 PM UTC-5, Amir Zia wrote: > > >> > > >> > > >> > > >> O

[sage-devel] Re: Mystery of "GAP documented global functions"

2018-12-14 Thread Simon King
Hi Eric, On 2018-12-14, E. Madison Bray wrote: > sage: from sage.libs.gap.all_documented_functions import * > sage: DihedralGroup(8) > > sage: type(_) > > > Oops, this clobbers multiple existing built-ins in Sage. What's the problem? If you import something, the stuff you import will of course o

Re: [sage-devel] Re: Cannot run Sagemath session in Texmacs on Linux

2018-12-14 Thread E. Madison Bray
On Fri, Dec 14, 2018 at 11:29 AM E. Madison Bray wrote: > > On Fri, Dec 14, 2018 at 4:04 AM Amir Zia wrote: > > > > > > > > On Thursday, December 13, 2018 at 9:05:51 PM UTC-5, Amir Zia wrote: > >> > >> > >> > >> On Thursday, December 13, 2018 at 8:38:45 PM UTC-5, Samuel Lelievre wrote: > >>> > >>

Re: [sage-devel] Re: Mystery of "GAP documented global functions"

2018-12-14 Thread Dima Pasechnik
On Fri, Dec 14, 2018 at 11:10 AM E. Madison Bray wrote: > > On Fri, Dec 14, 2018 at 11:55 AM Dima Pasechnik wrote: > > > > On Fri, Dec 14, 2018 at 10:19 AM E. Madison Bray > > wrote: > > > > > > There is also an existing hard-coded list of function names that are > > > actually what's used for

Re: [sage-devel] Re: Mystery of "GAP documented global functions"

2018-12-14 Thread E. Madison Bray
On Fri, Dec 14, 2018 at 11:55 AM Dima Pasechnik wrote: > > On Fri, Dec 14, 2018 at 10:19 AM E. Madison Bray > wrote: > > > > There is also an existing hard-coded list of function names that are > > actually what's used for dir() and tab-completion, completely separate > > from this module. AFAI

Re: [sage-devel] Re: Mystery of "GAP documented global functions"

2018-12-14 Thread Dima Pasechnik
On Fri, Dec 14, 2018 at 10:19 AM E. Madison Bray wrote: > > There is also an existing hard-coded list of function names that are > actually what's used for dir() and tab-completion, completely separate > from this module. AFAICT this all_documented_functions module isn't > really used anywhere in

Re: [sage-devel] Re: Cannot run Sagemath session in Texmacs on Linux

2018-12-14 Thread E. Madison Bray
On Fri, Dec 14, 2018 at 4:04 AM Amir Zia wrote: > > > > On Thursday, December 13, 2018 at 9:05:51 PM UTC-5, Amir Zia wrote: >> >> >> >> On Thursday, December 13, 2018 at 8:38:45 PM UTC-5, Samuel Lelievre wrote: >>> >>> Fri 2018-12-14 01:53 UTC+1, Amir Zia: >>> > >>> > Ubuntu 18.04 >>> > Sagemath 8

Re: [sage-devel] Re: Mystery of "GAP documented global functions"

2018-12-14 Thread E. Madison Bray
There is also an existing hard-coded list of function names that are actually what's used for dir() and tab-completion, completely separate from this module. AFAICT this all_documented_functions module isn't really used anywhere in Sage, and doesn't turn up much in the documentation. As Alex Kon

Re: [sage-devel] bug in trivial case of number field isomorphism due to wrong pari/sage conversion

2018-12-14 Thread John Cremona
On Thu, 13 Dec 2018 at 17:22, John Cremona wrote: > > > On Thu, 13 Dec 2018 at 16:42, Vincent Delecroix <20100.delecr...@gmail.com> > wrote: > >> Le 13/12/2018 à 17:17, Jeroen Demeyer a écrit : >> > On 2018-12-13 13:11, John Cremona wrote: >> >> The problem is that t is a pari gen and Sage tries