Skip to content

Adding new paths to Eldev #44

@contrapunctus-1

Description

@contrapunctus-1

My project's files are located in elisp/. When I run eldev init in the project root, it says -

$ eldev init
This directory doesn’t seem to contain a valid Elisp package (yet)
If it does have main ‘.el’ file, headers in it are likely corrupt or incomplete
Try evaluating ‘(package-buffer-info)’ in a buffer with the file
Continue anyway? (y or n)

...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 -

$ eldev -t compile
Started up on Sun Jun 6 21:53:24 2021
Running on GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
 of 2021-03-28, modified by Debian
Project directory: ‘/home/user/.emacs.d/my/project-dir/’
No file ‘/home/anon/.eldev/config’, not applying user-specific configuration
Loading file ‘Eldev’...
No file ‘Eldev-local’, not customizing build
Executing command ‘compile’...

No .el files with package headers in ‘/home/user/.emacs.d/my/project-dir/’
Headers in the project’s main file are likely corrupt or incomplete
Try evaluating ‘(package-buffer-info)’ in a buffer with the file

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions