jimeh / .emacs.d

My personal Emacs config with any quirks, oddities, bugs, and man-eating errors I live with on a daily basis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting error on startup

sidchh opened this issue · comments

Error (use-package): lsp-mode/:catch: Wrong type argument: listp
I get this when I startup after all the installation of all the packages/modules.
I am a noob to emacs. Any help would be appreciated
Thanks

That's weird, can't say I've seen this error.

What version of Emacs are you using? I've been running 29.x or later for nearly a year now.

Hey, I was looking into this config for inspiration and I think I have narrowed this down to line 53 in .emacs.d/modules/lsp/siren-lsp.el, which is as follows:

(read-process-output-max (* 1024 1024))

Removing this line fixes the error for me.

I do not understand the reason for this yet tho.

P.S. I can open a PR for this if needed. It would be my first contribution to any other repo. 😅 Cheers.

On looking further, I think I know the issue. The line should be in :custom section but it is under :custom-face section, which is causing the issue. Adding :custom block before (read-process-output-max (* 1024 1024)) also fixes the issue.

@aneeshd9 You're right 🤦‍♂️. Apologies for the hassle. This is now fixed in 7021114.

I've locally had a bunch of uncommitted and semi-finished tweaks to various things for an embarrassingly long time, and turns out one of those changes fixed this issue. I've had a look through and, and there shouldn't be anything else essential, hopefully 😅