Questions tagged [cask]
14 questions
20
votes
3 answers
How can I find the path to an executable with Emacs Lisp?
My current use case is to find where the Cask executable is (it can be installed in at least two places, and there's an issue open about this).
I need to require cask this way:
(require 'cask "~/.cask/cask.el")
But I need to find the correct path to…

Trevoke
- 2,375
- 21
- 34
7
votes
3 answers
Byte-compilation of a multi-file package: "the function is not known to be defined"
Imagine that I have the following files in my (ridiculous) package:
File test1.el:
;;; test1.el ---
;;; Code:
(defvar test-var1)
(defun test-fun1 (test)
nil)
(require 'test2 "./test2.el)
(provide 'test1)
;;;…

T. Verron
- 4,233
- 1
- 22
- 55
7
votes
1 answer
Using cask for package management
I am new to emacs. I'm trying to use cask to manage emacs packages.
This is my ~/.emacs.d/init.el:
(require 'cask "~/etsi/cask/cask.el")
(cask-initialize "~/etsi")
(require 'evil)
(evil-mode 1)
~/etsi/Cask file:
(source "melpa"…

vyp
- 243
- 2
- 10
5
votes
1 answer
How can I get Cask or Pallet to automatically install packages on startup?
I manage packages in Emacs using Cask and Pallet. Yesterday I upgraded to Emacs 24.4; it went well enough, but all of a sudden all my packages were missing. Cask installs packages in separate directories by Emacs version, so everything was in…

Saint Aardvark the Carpeted
- 1,274
- 12
- 15
3
votes
1 answer
Minimal working example of Cask project with ert-test?
I want to use Cask for development, but have trouble getting it set up.
Could anyone please show a minimal example with one package file, one function and one ert-test and which commands you need to 1) run the tests and 2) install the package?
Just…

The Unfun Cat
- 2,393
- 16
- 32
2
votes
0 answers
Package lacks a "Version" or "Package-Version" error, even if the "Version" info exists
After upgrading cask the error message changed.
Wrong type argument: sequencep, pinyin-mode
Original Question
I want to use my elisp through cask.
But it failed with error:
Dependency pinyin-mode failed to install: Package lacks a "Version" or…

ironsand
- 403
- 3
- 14
2
votes
1 answer
What is archive-contents and how do I create it?
I used cask package to generate a package tar file for my local fork of ensime, and added it to my package-archives using customize-option. However, I then got this backtrace when attempting to list-packages:
Debugger entered--Lisp error:…

Robin Green
- 949
- 7
- 16
2
votes
2 answers
Finding packages not managed by pallet
After initialising pallet for my package managment I forgot to add the requisite line to my init.el :(
Having now added:
(pallet-mode t)
To my init.el is there a way to diagnose which (if any) packages are not under pallet and cask's…

robertpostill
- 175
- 1
- 9
1
vote
1 answer
Cask without pallet
At some point, I found a web page that described using Cask and Pallet to configure emacs. I got that working, and life was good. I recently upgraded my version of Cask to 0.9.0, and now I find this in cask.el:
(define-obsolete-function-alias…

Troy Daniels
- 487
- 2
- 13
1
vote
0 answers
Cask seems to be ignoring depends upon
My package depends upon org 9. I want to use cask to enforce this dependency.
The way to specify this in my cask file would seem to be (depends-on "org" "9.0.1") as documented
here.
However cask seems to be ignoring the version specified.
The…

Att Righ
- 725
- 4
- 14
0
votes
2 answers
Development elisp package
I want to start developing emacs packages. I would like to use cask, so I did:
$ cask init --dev
It worked well, and generated the Cask file
tree -La 1
.
├── .git
├── .gitignore
├── Cask
└── README.org
Then when I try cask install, I always…

anquegi
- 739
- 5
- 21
0
votes
1 answer
How do I require a package installed via .cask in a project
I'm trying to contrib to a project and installed cask and did cask install and now I have a .cask folder with the deps. Now in emacs how do I evaluate a .require of one of those deps? Is there a linking step that must be done to point the…

indigo0086
- 103
- 2
0
votes
1 answer
How do cask, package.el and projectile work together?
I have trouble to understand how to get projectile to work in emacs.
When I first started I am under the impression that I should use package manager like cask to download packages from ELPA.
I did that and I have the CASK file and ~/.cask…

Anthony Kong
- 485
- 3
- 17
0
votes
1 answer
cask init does not create ~/.cask file
I actually know very little about cask. I discover it after browsing the emacs module of prezto
In this prezto module, the cask command alias will not be created unless there exists a .cask file.
I have run cask init but the file is still absent.…

Anthony Kong
- 485
- 3
- 17