Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
help using app-emacs/gnugo?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3880

PostPosted: Thu Nov 21, 2024 2:46 pm    Post subject: help using app-emacs/gnugo? Reply with quote

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
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 462
Location: Naarm/Melbourne, Australia

PostPosted: Thu Nov 21, 2024 10:49 pm    Post subject: Reply with quote

`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
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3880

PostPosted: Fri Nov 22, 2024 1:31 am    Post subject: Reply with quote

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
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 462
Location: Naarm/Melbourne, Australia

PostPosted: Fri Nov 22, 2024 6:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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