Giter Club home page Giter Club logo

Comments (8)

raxod502 avatar raxod502 commented on June 10, 2024

What is your patch?

from el-patch.

rgrinberg avatar rgrinberg commented on June 10, 2024

Here's the patch:

    (el-patch-defun projectile-dir-files-external (root directory)
      "Get the files for ROOT under DIRECTORY using external tools."
      (let ((default-directory directory))
        (el-patch-swap
          (mapcar (lambda (file)
                    (file-relative-name (expand-file-name file directory) root))
                  (projectile-get-repo-files))
          (cl-loop for file in (projectile-get-repo-files)
                   collect (string-remove-prefix
                            root
                            (expand-file-name file directory))))))

from el-patch.

raxod502 avatar raxod502 commented on June 10, 2024

Are you byte-compiling your configuration?

from el-patch.

rgrinberg avatar rgrinberg commented on June 10, 2024

Hmm, a bit embarrassing but I don't know how to check. I'm using spacemacs, but I'm not sure if it byte compiles the config or not.

from el-patch.

raxod502 avatar raxod502 commented on June 10, 2024

I'm not sure if it byte compiles the config or not

Are there corresponding .elc files generated automatically next to your configuration?

I'm using spacemacs

In any case, can you see if this is reproducible outside of Spacemacs? (I.e. from emacs -Q)

from el-patch.

rgrinberg avatar rgrinberg commented on June 10, 2024

Are there corresponding .elc files generated automatically next to your configuration?

Spacemacs has this weird setting that it will load the elisp in your ~/.spacemacs file. That is where my config lies. I don't really see a .spacemacs.elc anywhere. .spacemacs does use this https://github.com/emacscollective/auto-compile module, so my guess would be yes.

In any case, can you see if this is reproducible outside of Spacemacs? (I.e. from emacs -Q)

Hmm, unfortunately this isn't so easy. I need to install projectile, el-patch, so making it work from scratch is a hassle. I understand that this makes the probability of my issue being fixed very low. I'll ignore for this for now.

from el-patch.

raxod502 avatar raxod502 commented on June 10, 2024

unfortunately this isn't so easy

Actually, one of the primary reasons I created straight.el is to make exactly this sort of reproduction very easy. See this section of the manual:

$ emacs -Q -l ~/.emacs.d/straight/repos/straight.el/bootstrap.el
> M-x straight-use-package RET projectile RET
> M-x straight-use-package RET el-patch RET

and you don't even have to change anything in ~/.emacs.d for this to work.

from el-patch.

rgrinberg avatar rgrinberg commented on June 10, 2024

from el-patch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.