Open contrapunctus-1 opened 3 years ago
You can probably do (setf eldev-project-main-file "elisp/PROJECTS-MAIN-FILE.el")
in Eldev
. Adjusting eldev-main-fileset
is likely unnecessary in this case, since Eldev searches for files recursively with default settings anyway. However, it needs the project to be recognized by Emacs package system, which is by default done using package-dir-info
invocation, which does not search in subdirectories. The main file can be specified explicitly too (i.e. via eldev-project-main-file
), however, I'm not sure if Eldev will work fine with the main file being in a subdirectory — never tried such a setup.
Thank you for your response. Another thing is that my program has a few extensions, most of them part of the same repository in the same elisp/ subdirectory...so it doesn't really have a single main file, it has three. One of the projects I saw using Eldev has separate files for the secondary projects, supposed to be loaded with -S
...I guess I could try that, although I'd prefer to handle it all with a single file. Would you consider adding support for such programs to Eldev?
Would you consider adding support for such programs to Eldev?
Yes, but this is a case where I don't know how this should be handled. If you can provide an outline of how you imagine it would work, we can discuss it and decide what would be the best way. Also, if your project is public, a link to it would be helpful.
Hm...I'd like to possess a greater understanding of Eldev before I attempt that ^^' Here's my project - https://tildegit.org/contrapunctus/chronometrist
My project's files are located in elisp/. When I run
eldev init
in the project root, it says -...which is perhaps to be expected, if it is not looking in elisp/.
Now, I've not been able to get
(setq eldev-main-fileset ...)
to take any apparent effect whatsoever. I've tried setting it to"elisp/"
,("elisp/")
,("elisp")
,("./elisp")
,("./elisp/")
,("./elisp/*.el")
, and"./elisp/*.el"
. Each time, I got -FWIW the elisp/ directory contains Org literate programs, with the tangled source files (present in the same directory) checked into Git.
(package-buffer-info)
is perfectly happy with these.What's going on?