Closed purcell closed 10 years ago
Thanks Steve! I'll work on adding that in.
@AshtonKem seems to be another build problem with some recent changes. namely that you list deferred
as a dependency but you don't specify a version. seems like (package-buffer-info)
doesn't like that so it's breaking the build of the package. as far as melpa is concerned the version really doesn't matter but you should go ahead and just put the lowest stable version for a package that you know has the goodies you need.
Awesome, I'll give that a try. Thanks!
--Ashton
Sent from my iPhone
On Dec 21, 2013, at 1:02 AM, Donald Ephraim Curtis notifications@github.com wrote:
@AshtonKem seems to be another build problem with some recent changes. namely that you list deferred as a dependency but you don't specify a version. seems like (package-buffer-info) doesn't like that so it's breaking the build of the package. as far as melpa is concerned the version really doesn't matter but you should go ahead and just put the lowest stable version for a package that you know has the goodies you need.
— Reply to this email directly or view it on GitHub.
Thanks for fixing this up. :-)
Hi! I've added a
butler
recipe to MELPA so that we can automatically build packages of it.There are currently a couple of issues with
butler.el
, so I thought I'd just bring them to your attention:Firstly, the
Package-Requires
header should include(json "1.2")
, since that library is not a standard Emacs library, but it is required bybutler.el
.Secondly, although you've declared
lexical-binding
on the first line, it looks like you're not using it, since thelexical-let*
macro you're using accomplishes the same thing without requiringlexical-binding
.If you need to keep the
lexical-binding: t
setting, then you should add(emacs "24")
to thePackage-Requires
header, because your code won't work as expected in Emacs 23. If you don't need thelexical-binding
setting - which would be ideal - then you should remove it.In order to byte-compile cleanly, your use of
lexical-let*
suggests you should have aFinally, you should probably add an
autoload
declaration forbutler-status
:This way, when users have installed the package, they will not need to explicitly
require
it before usingM-x butler-status
.Hope that feedback helps! :-)
-Steve