Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corgi is not initialising correctly, error: could not find package string-edit #32

Open
ChetanVashisht opened this issue Dec 12, 2022 · 6 comments

Comments

@ChetanVashisht
Copy link

I am using a mac book pro 2015 with a emacs-plus@28 installation. I started with a fresh install of emacs as described in the corgi repository. I copied the sample config files to a clean ~/.emacs.d folder. When emacs starts up, I get the following error:

Warning (initialization): An error occurred while loading ‘/Users/thechetan/.emacs.d/init.el’:

error: Could not find package string-edit. Updating recipe repositories: (corgi-packages org-elpa melpa gnu-elpa-mirror nongnu-elpa el-get emacsmirror-mirror) with ‘straight-pull-recipe-repositories’ may fix this

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace. Disable showing Disable logging
  1. Running the M-x straight-pull-recipe-repositories doesn't fix the issue
  2. Changing the straight.el url in bootstrap.el doesn't fix the issue
@plexus
Copy link
Collaborator

plexus commented Dec 12, 2022 via email

rgm added a commit to rgm/corgi-packages that referenced this issue Dec 21, 2022
@ahuggins0006
Copy link

I am using Ubuntu Linux with emacs 27.1. I was able to resolve the error mentioned by editing the corgi-editor.el file located in the .emacs.d/straight/repos/corgi-packages/corgit-editor directory. I changed line 4. Specifically, (string-edit) to (string-edit-at-point) and the error mentioned didn't reoccur on restart of emacs.

The diff for reference:

;; Filename: corgi-editor.el

-;; Package-Requires: ((use-package) (aggressive-indent) (avy) (company) (counsel) (diminish) (dumb-jump) (evil) (evil-cleverparens) (evil-collection) (evil-surround) (expand-region) (goto-last-change) (ivy) (ivy-prescient) (projectile) (rainbow-delimiters) (smartparens) (smex) (string-edit) (swiper) (undo-fu) (which-key) (winum) (xclip))

+;; Package-Requires: ((use-package) (aggressive-indent) (avy) (company) (counsel) (diminish) (dumb-jump) (evil) (evil-cleverparens) (evil-collection) (evil-surround) (expand-region) (goto-last-change) (ivy) (ivy-prescient) (projectile) (rainbow-delimiters) (smartparens) (smex) (string-edit-at-point) (swiper) (undo-fu) (which-key) (winum) (xclip)) ;;

@plexus
Copy link
Collaborator

plexus commented Jan 23, 2023

That and the versions file would need to be updated. PR would be much appreciated!

@ChetanVashisht
Copy link
Author

corgi-emacs/corgi-packages#12

Please check this @plexus

@plexus
Copy link
Collaborator

plexus commented Jan 23, 2023

What should I check exactly? Doesn't that PR fix this issue?

@kommen
Copy link
Contributor

kommen commented Feb 22, 2024

corgi-emacs/corgi-packages#12 fixed this for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants