View previous topic :: View next topic |
Author |
Message |
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3881
|
Posted: Thu Nov 21, 2024 2:46 pm Post subject: help using app-emacs/gnugo? |
|
|
Having a hard time trying to use app-emacs/gnugo here.
games-board/cgoban just working fine here.
Launched with no args throws 'Not a proper position point' when trying to lay a stone.
Any experience in this respect to share on how to solve this issue?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 462 Location: Naarm/Melbourne, Australia
|
Posted: Thu Nov 21, 2024 10:49 pm Post subject: |
|
|
`gnugo` in Emacs works fine for me, including when starting it without options, but i'm not using the `app-emacs/gnugo` ebuild from the gnu-elpa overlay (which is what i presume you're using) - i've installed it directly from the GNU ELPA repo.
Emacs: 29.4
GNU Go: 3.9.1-r2
Emacs gnugo: 3.1.2
What's the stack trace after you `M-x toggle-debug-on-error` and then try to place a stone? _________________ https://wiki.gentoo.org/wiki/User:Flexibeast |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3881
|
Posted: Fri Nov 22, 2024 1:31 am Post subject: |
|
|
flexibeast wrote: | `gnugo` in Emacs works fine for me, including when starting it without options, but i'm not using the `app-emacs/gnugo` ebuild from the gnu-elpa overlay (which is what i presume you're using) - i've installed it directly from the GNU ELPA repo.
Emacs: 29.4
GNU Go: 3.9.1-r2
Emacs gnugo: 3.1.2
What's the stack trace after you `M-x toggle-debug-on-error` and then try to place a stone? |
Code: | Debugger entered--Lisp error: (wrong-type-argument obarrayp [nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil])
gnugo-f(gpad)
gnugo--propertize-board-buffer()
gnugo-refresh(t)
gnugo(nil)
funcall-interactively(gnugo nil)
command-execute(gnugo record)
execute-extended-command(nil "gnugo" "gnu")
funcall-interactively(execute-extended-command nil "gnugo" "gnu")
command-execute(execute-extended-command) | with package app-emacs/gnugo::gnu-elpa indeed.
emacs;30
My 2 cents is that faulty GNU Go options, causes further errors, i.e. while attempting to place a stone.
Thks 4 ur attention, interest & support _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 462 Location: Naarm/Melbourne, Australia
|
Posted: Fri Nov 22, 2024 6:53 am Post subject: |
|
|
Ah. Prior to Emacs 30, obarrays were just vectors, and presumably the current release of gnugo works with that. However, in the Emacs 30 series - which hasn't yet had an 'official' release, that would be 30.1 - this is no longer the case. From the current NEWS file on the emacs-30 branch:
Quote: | *** New obarray type.
Obarrays are now represented by an opaque type instead of using vectors. They are created by 'obarray-make' and manage their internal storage automatically, which means that the size parameter to 'obarray-make' can safely be omitted. That is, they do not become slower as they fill up.
The old vector representation is still accepted by functions operating on obarrays, but 'obarrayp' only returns t for obarray objects. 'type-of' now returns 'obarray' for obarray objects.
Old code which (incorrectly) created "obarrays" as Lisp vectors filled with something other than 0, as in '(make-vector N nil)', will no longer work, and should be rewritten to use 'obarray-make'. Alternatively, you can fill the vector with 0. |
So you should probably report this as a gnugo issue that will be need to be dealt with. _________________ https://wiki.gentoo.org/wiki/User:Flexibeast |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|