Skip to content

Can't install using Straight.el: Wrong type argument: listp, 1 #314

@tjtrabue

Description

@tjtrabue

Greetings everyone,

First of all, just let me say thank you for this amazing plugin. I've used helpful for years, and I absolutely love it! In fact, I find it hard to get around Emacs' help system without it now that I'm used to helpful's amazing output.

Recently, I upgraded to Emacs version 30.0.50, the latest master branch commit (specifically 42f46913884c5e431a0e6cc80b1808fc0ca636cf), and ever since then when I try to install helpful using the straight.el package manager I am met with the following error:

Wrong type argument: listp, 1

I would love to provide you with a full stack-trace of the error in question, but even when I run (setq debug-on-error t) in my ~/.emacs file I never get presented with the full trace. I don't know why since that usually works. Instead of popping open a debug buffer, I see only that short error message about the wrong type argument presented in another window, as well as the usual Emacs advice telling me to re-run emacs from the command line with the --debug-init option, although even after running emacs with that option I get the same result.

I should note that, before this event, I have never had a problem installing helpful using straight.el, so I don't think it's a problem with straight.el. Here's my use-package directive I use to install helpful (and note that I have configured use-package to always install packages using straight.el):

  (use-package helpful
    :ensure t
    :defer t
    :general
    (general-def
      ;; Replace standard help functions with helpful functions.
      "C-h f" 'helpful-callable
      "C-h v" 'helpful-variable
      "C-h k" 'helpful-key
      ;; Other useful keybindings.
      "C-h C" 'helpful-command
      "C-h F" 'helpful-function)
    (my/user-leader-def
      "C-d" 'helpful-at-point)
    (general-def 'normal emacs-lisp-mode-map
      "K" 'helpful-at-point))

This has been my configuration for years, too, so I don't think it's a configuration problem. Has anyone else had this problem installing helpful?

Thank you all so much,

-Tom Trabue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions