Comments (8)
What is your patch?
from el-patch.
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.
Are you byte-compiling your configuration?
from el-patch.
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.
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.
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.
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.
from el-patch.
Related Issues (20)
- Autoloading a patch HOT 4
- el-patch-validate-all fails on first missing file HOT 5
- el-patch-validate-all fails with "apply: Cannot open load file: No such file or directory" HOT 3
- Automatically validate patch after evaluating them HOT 1
- Patch function without providing complete source in patch HOT 6
- How to patch vector literal given with backticks HOT 2
- Finding source after compiling patch HOT 2
- Patch function in a compiled init.el HOT 10
- el-patch validates against macro-expanded version of function HOT 3
- void-function: el-patch-fontify-as-defun HOT 6
- New release HOT 2
- Trying to patch long function without copying the old one HOT 5
- Suggestion: Use advice system for patching functions HOT 3
- Renaming default branch from 'master' to 'main'
- Patches get silently overridden on package update / native compilation HOT 2
- Can I use this to verify a function I'd like to advise? HOT 1
- Overriding concat definition HOT 1
- Enhancement: add ability to patch variables defined in C code HOT 2
- Enhancement: add ability to unpatch evaled templates HOT 2
- Bug: templates that don't contain `...` and don't deal with their original form completely are incorrectly considered valid HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from el-patch.