0

I am trying to install the gauche-mode. Running the M-x package-install-file and giving the /path/to/gacuhe-mode/ directory gives the Read error: is a directory, /path/to/gacuhe-mode/. How can i install it with this command otherwise? I am using emacs 24

1

Installing a package from a directory (as opposed to a .el or .tar file) through package-install-file is only supported from Emacs 25.1; see the NEWS entry.

You might be better off adding the directory to your load-path and requiring it:

(add-to-list 'load-path "/path/to/gauche-mode")
(require 'gauche-mode)
0

a package that is not in elpa /melpa. can be installed manually. You need to direct to the .el files rather than to the directory. See the following ergonomic-emacs post.

  • place the mode's folder in the ~/.emacs.d path.

  • M-x load-file then give the path : ~/PATH/TO/FILE/gauche-mode.el

  • follow the rest of the instruction for paredit and other functionalities in the readme on gauch-github

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.