Closed gf3 closed 9 months ago
I'm not familiar enough with dape/emacs to know if one of these referenced dape-cwd-fn
is being passed as a string instead of a closure reference somewhere:
https://github.com/svaante/dape/blob/00b226369cc53509aaf368d97e981b8536ef2263/dape.el#L127-L138
Also worth noting that when using the provided projectile dape-cwd-fn
I am able to successfully call the function:
(funcall (symbol-value 'dape-cwd-fn))
; "/home/gianni/Code/github.com/freshlineapp/arowana/"
I'm not sure if this is an emacs 30 thing, but it seems to be that default-directory
expects a string. If I change this:
https://github.com/svaante/dape/blob/00b226369cc53509aaf368d97e981b8536ef2263/dape.el#L3461
to this:
(let ((default-directory (or (funcall (plist-get config 'command-cwd))
then dape--config-ensure
executes correctly, but other functions break afterwards.
I'm not sure if this is an emacs 30 thing
It isn’t. I have the same problem with 29.1.90, built daily from emacs-29 branch.
This is not an emacs thing, I broke go debugging with 4597ee6. It should be fixed now! Please get back to me if latest fix you issue!
For me it is fixed. Thanks a lot!
I believe this issue is fixed now! Thank you.
When attempting to
M-x dape
I get the error:Wrong type argument: stringp, dape-cwd-fn
This is with the default config (with and without the sample projectile cwd fn) and
go-ts-mode
on emacs30.0.50
.Debug
Output with
(setq debug-on-error t)