Skip to main content


I have come to the conclusion that #Emacs' documentation on how to build multi-file packages is all lies.

screwlisp reshared this.

in reply to Jonathan Lamothe

As a side note, can any #Emacs wizards explain to me why this package won't install?
cloud.jlamothe.net/index.php/s…
#AskFedi

reshared this

in reply to Jonathan Lamothe

FWIW it seems to be complaining that the package description is nil. Two things about this:

  1. define-package lists this argument as optional.
  2. It's supplied anyway.
in reply to Jonathan Lamothe

• (eepitch-shell)
cd foo
tar xvf testpackage-0-0.tar
• (add-to-list 'load-path "~/foo/testpackage-0.0")
• (load "testpackage")
• (apropos "testpackage")
=>
testpackage-func is an interactive Lisp function in ‘testpackage.el’.

(testpackage-func)

A test function

[back]works on my machine
@sacha

in reply to screwlisp

@screwlisp @Sacha Chua When I try to install it with M-x package-install-file it gives me:

Wrong type argument: stringp, nil

When I use the debugger it seems to be caused by it thinking the package description is nil? I'll try to dig deeper.

in reply to Jonathan Lamothe

I thought maybe it needed to be in some GNU variant of the tar format for Emacs to be able to read it, but when I just open the tar file directly in Emacs I get a directory listing and can read all the files, so that's not it.

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.