New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Libgap tab completion #19917
Comments
Branch: u/vbraun/libgap_tab_completion |
Commit: |
Author: Volker Braun |
This comment has been minimized.
This comment has been minimized.
New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:5
Still, the tab completion on objects obtained from libgap does not work; not sure if it was intended to be fixed by this ticket:
|
comment:6
Did you rebuild the Sage library? I get:
|
comment:7
Replying to @vbraun:
hmm, no I didn't. However, are all there 727 options relevant here? |
comment:8
Its perhaps not too surprising that most GAP functions accept a group... |
comment:9
Anyway
|
comment:10
although
|
comment:11
indeed, with
I'll ask GAP people... |
comment:12
Thats because Order is not a function
I guess we should treat attribute as function... |
comment:13
And the name of GeneratorsOfGroup is also susprising
|
comment:14
The gap (not: libgap) tab completion also doesn't have GeneratorsOfGroup:
|
comment:15
Improving tab completion beyond what the gap interface currently does should go into a separate ticket. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:18
Replying to @vbraun:
it must be |
comment:19
Bump... tab completion is still borked |
comment:20
Aren't we GAP 4.8-based here, and waiting for it to be released? |
comment:21
This ticket is independent of the gap 4.8 update |
comment:22
Is the caching of keywords, etc done in sync with the updates of stored GAP workspaces? And what does happen if a GAP package is loaded? (e.g. |
comment:23
Caching is done on first use. Testing whether a function is documented is slow enough that we can't do it whenever tab completion is requested. Packages loaded by hand lateron will not be in the tab completion, just as when tab completion worked last time. |
comment:24
I think it is quite convoluted solution, also making it hard to hook up docs of GAP packages. Namely, the documentation does not magically change once a workspace is updated, but only when libGAP and GAP packages/databases are (re)installed. I'd rather see the corresponding cache built at libGAP (and eventually at GAP packages/GAP database) installation time, and not updated at runtime. This would not be a big rewrite, basically all the functionality for this is already implemented. I don't have a clear idea how to handle loadable packages, this can be postponed for another ticket. |
comment:25
I agree that there should be better handling of caches (including the workspace), but it should be a separate ticket. |
comment:26
could you add a description of what |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:28
Done |
comment:29
great, thanks! |
Reviewer: Dima Pasechnik |
Changed branch from u/vbraun/libgap_tab_completion to |
This ticket fixes tab completion on the libgap object
CC: @dimpase
Component: group theory
Author: Volker Braun
Branch/Commit:
47bc138
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/19917
The text was updated successfully, but these errors were encountered: